diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_pci.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_pci.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_pci.c b/drivers/scsi/aic7xxx/aic7xxx_pci.c index c07cb6eebb0..4347c8dc459 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_pci.c +++ b/drivers/scsi/aic7xxx/aic7xxx_pci.c | |||
@@ -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 | /* |