diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-28 10:50:40 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-07-11 13:47:47 -0400 |
commit | 2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 (patch) | |
tree | cda0577cc5348df8e4662b9615af7941852be3a3 /drivers/scsi/aic7xxx/aic7xxx_osm.h | |
parent | dfd287f6ee9be1e3ae8fe1160c185aac6ca83c6a (diff) |
[SCSI] aic7xxx: remove ahc_tailq
now that we do normal PCI probing there's no need to keep a list of
all HBAs.
Rejections fixed up and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h index 5c0c9f9725b2..0e47ac217549 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.h +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h | |||
@@ -509,15 +509,6 @@ void ahc_format_transinfo(struct info_str *info, | |||
509 | 509 | ||
510 | /******************************** Locking *************************************/ | 510 | /******************************** Locking *************************************/ |
511 | /* Lock protecting internal data structures */ | 511 | /* Lock protecting internal data structures */ |
512 | static __inline void ahc_lockinit(struct ahc_softc *); | ||
513 | static __inline void ahc_lock(struct ahc_softc *, unsigned long *flags); | ||
514 | static __inline void ahc_unlock(struct ahc_softc *, unsigned long *flags); | ||
515 | |||
516 | /* Lock held during ahc_list manipulation and ahc softc frees */ | ||
517 | extern spinlock_t ahc_list_spinlock; | ||
518 | static __inline void ahc_list_lockinit(void); | ||
519 | static __inline void ahc_list_lock(unsigned long *flags); | ||
520 | static __inline void ahc_list_unlock(unsigned long *flags); | ||
521 | 512 | ||
522 | static __inline void | 513 | static __inline void |
523 | ahc_lockinit(struct ahc_softc *ahc) | 514 | ahc_lockinit(struct ahc_softc *ahc) |
@@ -537,24 +528,6 @@ ahc_unlock(struct ahc_softc *ahc, unsigned long *flags) | |||
537 | spin_unlock_irqrestore(&ahc->platform_data->spin_lock, *flags); | 528 | spin_unlock_irqrestore(&ahc->platform_data->spin_lock, *flags); |
538 | } | 529 | } |
539 | 530 | ||
540 | static __inline void | ||
541 | ahc_list_lockinit(void) | ||
542 | { | ||
543 | spin_lock_init(&ahc_list_spinlock); | ||
544 | } | ||
545 | |||
546 | static __inline void | ||
547 | ahc_list_lock(unsigned long *flags) | ||
548 | { | ||
549 | spin_lock_irqsave(&ahc_list_spinlock, *flags); | ||
550 | } | ||
551 | |||
552 | static __inline void | ||
553 | ahc_list_unlock(unsigned long *flags) | ||
554 | { | ||
555 | spin_unlock_irqrestore(&ahc_list_spinlock, *flags); | ||
556 | } | ||
557 | |||
558 | /******************************* PCI Definitions ******************************/ | 531 | /******************************* PCI Definitions ******************************/ |
559 | /* | 532 | /* |
560 | * PCIM_xxx: mask to locate subfield in register | 533 | * PCIM_xxx: mask to locate subfield in register |
@@ -891,7 +864,6 @@ int ahc_platform_abort_scbs(struct ahc_softc *ahc, int target, | |||
891 | irqreturn_t | 864 | irqreturn_t |
892 | ahc_linux_isr(int irq, void *dev_id, struct pt_regs * regs); | 865 | ahc_linux_isr(int irq, void *dev_id, struct pt_regs * regs); |
893 | void ahc_platform_flushwork(struct ahc_softc *ahc); | 866 | void ahc_platform_flushwork(struct ahc_softc *ahc); |
894 | int ahc_softc_comp(struct ahc_softc *, struct ahc_softc *); | ||
895 | void ahc_done(struct ahc_softc*, struct scb*); | 867 | void ahc_done(struct ahc_softc*, struct scb*); |
896 | void ahc_send_async(struct ahc_softc *, char channel, | 868 | void ahc_send_async(struct ahc_softc *, char channel, |
897 | u_int target, u_int lun, ac_code, void *); | 869 | u_int target, u_int lun, ac_code, void *); |