Re: [PATCH] sg version 3.5.28 for lk 2.5.64

Mike Anderson
2003-03-11T17:34:03Z

Patrick Mansfield [patmans@us.ibm.com] wrote:
> On Tue, Mar 11, 2003 at 02:28:36PM +0000, Christoph Hellwig wrote:
> > On Sun, Mar 09, 2003 at 11:23:39PM +1000, Douglas Gilbert wrote:
> > > ** Christoph moved the host listing functionality into
> > > a more central sysfs position (i.e. not dependent on
> > > sg). However scsi_debug is the only LLD that I can
> > > get to post any "host" info under the new arrangement.
>
> >
> > Hmm, it works for me with aic7xxx (that's how I tested it).
> >
>
> Is there a patch for putting the aic or all scsi_hosts into the
> shost_devclass class, like scsi_debug.c does for itself?
>

Since this capability relies on the driver living on a bus that has been
converted to sysfs there cannot be a patch for all scsi_hosts. If we
want all scsi host to show up we would need to create our own sub-system
like "block" and switch from using devclass.

-andmike
--
Michael Anderson
andmike@us.ibm.com