[PATCH] scsi host cleanup 1/3 (base) (corrected)
I had diffed against a tree missing a compile fix this is the correct base patch. This is a resend of my previous patch clean ups to the scsi_host lists. * Made function naming consistent with rest of SCSI * Corrected a problem with driverfs registration to early. Also changed from put_device to device_unregister. * Fixed a regression in my previous patch that the scsi_host list was not sorted by host number. When we get some device naming this hack can be removed. * Switch scsi host template, name, host lists to struct list_head's. * Moved all scsi_host related register / unregister functions into hosts.c * Added list accessor interface and created a function similar to driverfs bus_for_each_dev. The full patch is available at: http://www-124.ibm.com/storageio/patches/2.5/scsi-host -andmike -- Michael Anderson andmike@us.ibm.com hosts.c | 890 +++++++++++++++++++++++++++++++++++++++++++++++++--------------- hosts.h | 97 +++--- 2 files changed, 734 insertions(+), 253 deletions(-)
Showing
Please register or sign in to comment