aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aic7xxx')
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_pci.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_pci.c b/drivers/scsi/aic7xxx/aic79xx_pci.c
index 14b5f8d0e7f4..cc9bd26f5d1a 100644
--- a/drivers/scsi/aic7xxx/aic79xx_pci.c
+++ b/drivers/scsi/aic7xxx/aic79xx_pci.c
@@ -827,7 +827,7 @@ ahd_pci_intr(struct ahd_softc *ahd)
827 for (bit = 0; bit < 8; bit++) { 827 for (bit = 0; bit < 8; bit++) {
828 828
829 if ((pci_status[i] & (0x1 << bit)) != 0) { 829 if ((pci_status[i] & (0x1 << bit)) != 0) {
830 static const char *s; 830 const char *s;
831 831
832 s = pci_status_strings[bit]; 832 s = pci_status_strings[bit];
833 if (i == 7/*TARG*/ && bit == 3) 833 if (i == 7/*TARG*/ && bit == 3)
@@ -887,23 +887,15 @@ ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat)
887 887
888 for (bit = 0; bit < 8; bit++) { 888 for (bit = 0; bit < 8; bit++) {
889 889
890 if ((split_status[i] & (0x1 << bit)) != 0) { 890 if ((split_status[i] & (0x1 << bit)) != 0)
891 static const char *s; 891 printk(split_status_strings[bit], ahd_name(ahd),
892
893 s = split_status_strings[bit];
894 printk(s, ahd_name(ahd),
895 split_status_source[i]); 892 split_status_source[i]);
896 }
897 893
898 if (i > 1) 894 if (i > 1)
899 continue; 895 continue;
900 896
901 if ((sg_split_status[i] & (0x1 << bit)) != 0) { 897 if ((sg_split_status[i] & (0x1 << bit)) != 0)
902 static const char *s; 898 printk(split_status_strings[bit], ahd_name(ahd), "SG");
903
904 s = split_status_strings[bit];
905 printk(s, ahd_name(ahd), "SG");
906 }
907 } 899 }
908 } 900 }
909 /* 901 /*