Re: [PATCH 2.6.11] Altix patch for device driver support for the CX port of SGI's TIO chip

From: Christoph Hellwig <hch_at_infradead.org>
Date: 2005-02-01 20:10:10
On Mon, Jan 31, 2005 at 05:13:15PM -0600, Bruce Losure wrote:
> 
> Christoph,
> 
> Thanks for your comments.   I'll make the typedef and #include line
> changes.  Should'a caught the include stuff myself :-(.    I plan to
> go ahead and move the code into drivers/char/sn and make the Kconfig
> changes.   Is that what you mean by 'driver model'?

No.  It means to use the generic code in drivers/base/ for device matching,
device lists, sysfs exposure, etc..  look at pci or usb for details.

> Also, what is the alternative to the ioctl interface?   Should I move
> that functionality to /proc?

the device list you get for free in sysfs when using the driver model,
the reload one can easily be implemented as attribute in sysfs, check
e.g. the scsi rescan attribute for something similar.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Feb 1 04:21:05 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:35 EST