• Mike Anderson's avatar
    [PATCH] scsi host cleanup 3/3 (driver changes) · 209287fb
    Mike Anderson authored
    If you read my previous post on this patch I indicated that few of the
    driver changes I was only able to compile test ( block/cciss_scsi.c,
    scsi/53c700.c, scsi/pcmcia/*, scsi/wd33c93.c). The changes to the
    drivers are to remove the old interfaces and possibly extra NULL inits
    of struct members. These changes will need to be ok'd by there
    respective maintainers. I did receive feedback from two.
    
    I have tested these changes on ips, aic, qlogicisp, and scsi_debug
    drivers.
    
    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
    
     acorn/scsi/acornscsi.c            |    6 ++----
     acorn/scsi/arxescsi.c             |    8 ++------
     acorn/scsi/cumana_2.c             |    8 ++------
     acorn/scsi/eesox.c                |    8 ++------
     acorn/scsi/powertec.c             |    8 ++------
     block/cciss_scsi.c                |   21 ++-------------------
     scsi/53c700.c                     |    6 ++----
     scsi/aic7xxx/aic7xxx_linux_host.h |    1 -
     scsi/cpqfcTSinit.c                |    4 +---
     scsi/fcal.c                       |    4 +---
     scsi/ips.h                        |    3 ---
     scsi/pcmcia/aha152x_stub.c        |    3 ++-
     scsi/pcmcia/fdomain_stub.c        |    3 ++-
     scsi/pcmcia/nsp_cs.c              |    3 ++-
     scsi/pcmcia/qlogic_stub.c         |    3 ++-
     scsi/wd33c93.c                    |    5 +----
     16 files changed, 25 insertions(+), 69 deletions(-)
    209287fb
qlogic_stub.c 12.4 KB