Re: [patch] convert the scsi layer to use struct device

James Bottomley
2008-03-14T17:16:03Z

On Thu, 2008-03-13 at 14:06 -0700, Greg KH wrote:
> Here's a huge patch from Tony and Kay that converts the scsi layer to
> use struct device instead of class_device.
>
> It doesn't seem like it could be split up any smaller due to the
> interconectedness of the whole mess, if you have any suggestions
> otherwise, it would be appreciated.
>
> If you want, I can take this through my tree as it does depend on a
> previous IB patch to make that portion of the patch much smaller.
>
> After this, all of the class_device code is now finally gone from the
> kernel!

Actually, I have it built and running (actually 2.6.25-rc5-mc5 which
includes all the changes in your tree). Amazingly it's pretty much
fully functional, except ses which seems to have suffered a breakdown in
the way its model works. I'll see if I can fix it up.

Since the patch is separable, it's probably best to take it through the
SCSI tree ... including the infiniband bits that depend on the
iser/iscsi transport classes. You can give the rest of the infiniband
pieces to roland, since he's got a nasty set of clashes with the
__FUNCTION__->__func__ conversion which I don't want to be responsible
for.

James