Re: [PATCH] switch scsi upper driver probing to the driver model

Greg KH
2003-05-19T18:48:13Z

On Sat, May 17, 2003 at 09:13:52AM +0200, Christoph Hellwig wrote:
> On Sat, May 17, 2003 at 01:59:52PM +1000, Douglas Gilbert wrote:
> > It was my understanding that the device model has been
> > recently modified by Greg KH to cope with the dual nature
> > of the interface that sg causes. Evidently similar situations
> > occur elsewhere in the kernel.
>
> Greg, any comments on this? I haven't found any code like that
> in drivers/base/ and I can't understand how this is supposed to work..`

I don't really know what you all are talking about here, but...
In talking with Mike Anderson about the driver class code changes, he
and I agreed that sg could just be made a struct class_device. It could
go under a "scsi" class if you want, and would point to the scsi devices
(in the device tree) that the sg driver is bound to.

Does that make more sense?

thanks,

greg k-h