diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_pci.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_pci.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_pci.c b/drivers/scsi/aic7xxx/aic7xxx_pci.c index c07cb6eebb02..27014b9de126 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_pci.c +++ b/drivers/scsi/aic7xxx/aic7xxx_pci.c | |||
@@ -54,7 +54,7 @@ | |||
54 | 54 | ||
55 | #include "aic7xxx_pci.h" | 55 | #include "aic7xxx_pci.h" |
56 | 56 | ||
57 | static __inline uint64_t | 57 | static inline uint64_t |
58 | ahc_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor) | 58 | ahc_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor) |
59 | { | 59 | { |
60 | uint64_t id; | 60 | uint64_t id; |
@@ -960,16 +960,12 @@ ahc_pci_config(struct ahc_softc *ahc, const struct ahc_pci_identity *entry) | |||
960 | error = ahc_init(ahc); | 960 | error = ahc_init(ahc); |
961 | if (error != 0) | 961 | if (error != 0) |
962 | return (error); | 962 | return (error); |
963 | ahc->init_level++; | ||
963 | 964 | ||
964 | /* | 965 | /* |
965 | * Allow interrupts now that we are completely setup. | 966 | * Allow interrupts now that we are completely setup. |
966 | */ | 967 | */ |
967 | error = ahc_pci_map_int(ahc); | 968 | return ahc_pci_map_int(ahc); |
968 | if (error != 0) | ||
969 | return (error); | ||
970 | |||
971 | ahc->init_level++; | ||
972 | return (0); | ||
973 | } | 969 | } |
974 | 970 | ||
975 | /* | 971 | /* |