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

Christoph Hellwig
2003-05-17T07:03:11Z

On Fri, May 16, 2003 at 04:57:18PM -0700, Mike Anderson wrote:
> I ran your patch and I dead locked on st_probe.

Hmm, I loaded st fine here, but st_probe is of course never called when
I have no tapes.`

> 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.

Most of the attrributes should just go away - the code looks like
someone played with the driver model because it looked new and shiny..