diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 21:57:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 21:57:35 -0400 |
commit | 97d41e90fe61399b99d74820cb7f2d6e0fbac91d (patch) | |
tree | f759371424a26963b04badbb4433e360be4e8750 /drivers/scsi/aic7xxx | |
parent | 3bdc9d0b408e01c4e556daba0035ba37f603e920 (diff) | |
parent | afaf5a2d341d33b66b47c2716a263ce593460a08 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (54 commits)
[SCSI] Initial Commit of qla4xxx
[SCSI] raid class: handle component-add errors
[SCSI] SCSI megaraid_sas: handle thrown errors
[SCSI] SCSI aic94xx: handle sysfs errors
[SCSI] SCSI st: fix error handling in module init, sysfs
[SCSI] SCSI sd: fix module init/exit error handling
[SCSI] SCSI osst: add error handling to module init, sysfs
[SCSI] scsi: remove hosts.h
[SCSI] scsi: Scsi_Cmnd convertion in aic7xxx_old.c
[SCSI] megaraid_sas: sets ioctl timeout and updates version,changelog
[SCSI] megaraid_sas: adds tasklet for cmd completion
[SCSI] megaraid_sas: prints pending cmds before setting hw_crit_error
[SCSI] megaraid_sas: function pointer for disable interrupt
[SCSI] megaraid_sas: frame count optimization
[SCSI] megaraid_sas: FW transition and q size changes
[SCSI] qla2xxx: Update version number to 8.01.07-k2.
[SCSI] qla2xxx: Stall mid-layer error handlers while rport is blocked.
[SCSI] qla2xxx: Add MODULE_FIRMWARE tags.
[SCSI] qla2xxx: Add support for host port state FC transport attribute.
[SCSI] qla2xxx: Add support for fabric name FC transport attribute.
...
Diffstat (limited to 'drivers/scsi/aic7xxx')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_inline.h | 3 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm_pci.c | 2 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_inline.h | 3 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | 3 |
4 files changed, 6 insertions, 5 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_inline.h b/drivers/scsi/aic7xxx/aic79xx_inline.h index 8ad3ce945b9e..a3266e066c00 100644 --- a/drivers/scsi/aic7xxx/aic79xx_inline.h +++ b/drivers/scsi/aic7xxx/aic79xx_inline.h | |||
@@ -527,7 +527,8 @@ ahd_inw(struct ahd_softc *ahd, u_int port) | |||
527 | * or have other side effects when the low byte is | 527 | * or have other side effects when the low byte is |
528 | * read. | 528 | * read. |
529 | */ | 529 | */ |
530 | return ((ahd_inb(ahd, port+1) << 8) | ahd_inb(ahd, port)); | 530 | uint16_t r = ahd_inb(ahd, port+1) << 8; |
531 | return r | ahd_inb(ahd, port); | ||
531 | } | 532 | } |
532 | 533 | ||
533 | static __inline void | 534 | static __inline void |
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm_pci.c b/drivers/scsi/aic7xxx/aic79xx_osm_pci.c index 50a41eda580e..4b5354201807 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm_pci.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm_pci.c | |||
@@ -198,7 +198,7 @@ ahd_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
198 | int | 198 | int |
199 | ahd_linux_pci_init(void) | 199 | ahd_linux_pci_init(void) |
200 | { | 200 | { |
201 | return (pci_module_init(&aic79xx_pci_driver)); | 201 | return pci_register_driver(&aic79xx_pci_driver); |
202 | } | 202 | } |
203 | 203 | ||
204 | void | 204 | void |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_inline.h b/drivers/scsi/aic7xxx/aic7xxx_inline.h index 2cc8a17ed8b4..8e1954cdd84f 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_inline.h +++ b/drivers/scsi/aic7xxx/aic7xxx_inline.h | |||
@@ -300,7 +300,8 @@ ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, | |||
300 | static __inline uint16_t | 300 | static __inline uint16_t |
301 | ahc_inw(struct ahc_softc *ahc, u_int port) | 301 | ahc_inw(struct ahc_softc *ahc, u_int port) |
302 | { | 302 | { |
303 | return ((ahc_inb(ahc, port+1) << 8) | ahc_inb(ahc, port)); | 303 | uint16_t r = ahc_inb(ahc, port+1) << 8; |
304 | return r | ahc_inb(ahc, port); | ||
304 | } | 305 | } |
305 | 306 | ||
306 | static __inline void | 307 | static __inline void |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c index 7e42f07a27f3..d20ca514e9f3 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | |||
@@ -246,8 +246,7 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
246 | int | 246 | int |
247 | ahc_linux_pci_init(void) | 247 | ahc_linux_pci_init(void) |
248 | { | 248 | { |
249 | /* Translate error or zero return into zero or one */ | 249 | return pci_register_driver(&aic7xxx_pci_driver); |
250 | return pci_module_init(&aic7xxx_pci_driver) ? 0 : 1; | ||
251 | } | 250 | } |
252 | 251 | ||
253 | void | 252 | void |