-
Mike Anderson authored
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 scsi.c | 456 +++--------------------------------------------------------- scsi_proc.c | 57 ++++--- scsi_syms.c | 5 sg.c | 6 4 files changed, 63 insertions(+), 461 deletions(-)
68fe1e0f