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

Willem Riede
2003-05-17T02:10:03Z

On 2003.05.16 19:57, Mike Anderson wrote:
>
> I ran your patch and I dead locked on st_probe. This is due to the code
> in st_probe and osst_probe that do device registers on the
> sdev_driverfs_dev.bus which is the bus that the probe is being called
> from already. I had an old patch that removed these before due the driver
> model requirement that objects on the device list must be of one type.
> At the time I did not have a place to move these attributes.
>
> We now have /bus/scsi/drivers/{uld} for driver attributes. We also could
> create a class for other attributes if needed. We can also use udev for
> the creation of special nodes.
>
> ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
>
> In the short term is the st and osst maintainers are ok with it we could
> remove them and then create them in there proper home.

As the osst maintainer I concur. I am going to need a class, I believe, as
I want to export some info from the tape header, i.e. per device (very
useful for me for support purposes). So some re-arrangement is going to
happen anyway.

Thanks, Willem Riede.