diff options
author | gibbs <gibbs@FreeBSD.org> | 1999-12-12 04:54:14 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1999-12-12 04:54:14 +0000 |
commit | 28076d9c633aacfcaa0c2663ad5af48e79f6730b (patch) | |
tree | 19584f17ec51afa14e57a7e6678fd4d4d5ca5dd8 | |
parent | 1d49e2f195014931a2adedcae2c8ff785ed3c880 (diff) | |
download | FreeBSD-src-28076d9c633aacfcaa0c2663ad5af48e79f6730b.zip FreeBSD-src-28076d9c633aacfcaa0c2663ad5af48e79f6730b.tar.gz |
When booting verbose, indicate if we are using manual termination
settings for U2 cards.
Don't assume that all aic7859 cards are 2930CUs.
-rw-r--r-- | sys/dev/aic7xxx/ahc_pci.c | 10 | ||||
-rw-r--r-- | sys/pci/ahc_pci.c | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c index 78a6ce4..2edda4c 100644 --- a/sys/dev/aic7xxx/ahc_pci.c +++ b/sys/dev/aic7xxx/ahc_pci.c @@ -175,8 +175,8 @@ struct ahc_pci_identity ahc_pci_ident_table [] = }, /* aic7859 based controllers */ { - ID_AHA_2930CU & ID_DEV_VENDOR_MASK, - ID_DEV_VENDOR_MASK, + ID_AHA_2930CU, + ID_ALL_MASK, "Adaptec 2930CU SCSI adapter", ahc_aic7859_setup }, @@ -1133,10 +1133,16 @@ configure_termination(struct ahc_softc *ahc, &enablePRI_high, &eeprom_present); if ((adapter_control & CFSEAUTOTERM) == 0) { + if (bootverbose) + printf("%s: Manual SE Termination\n", + ahc_name(ahc)); enableSEC_low = (adapter_control & CFSTERM); enableSEC_high = (adapter_control & CFWSTERM); } if ((adapter_control & CFAUTOTERM) == 0) { + if (bootverbose) + printf("%s: Manual LVD Termination\n", + ahc_name(ahc)); enablePRI_low = enablePRI_high = (adapter_control & CFLVDSTERM); } diff --git a/sys/pci/ahc_pci.c b/sys/pci/ahc_pci.c index 78a6ce4..2edda4c 100644 --- a/sys/pci/ahc_pci.c +++ b/sys/pci/ahc_pci.c @@ -175,8 +175,8 @@ struct ahc_pci_identity ahc_pci_ident_table [] = }, /* aic7859 based controllers */ { - ID_AHA_2930CU & ID_DEV_VENDOR_MASK, - ID_DEV_VENDOR_MASK, + ID_AHA_2930CU, + ID_ALL_MASK, "Adaptec 2930CU SCSI adapter", ahc_aic7859_setup }, @@ -1133,10 +1133,16 @@ configure_termination(struct ahc_softc *ahc, &enablePRI_high, &eeprom_present); if ((adapter_control & CFSEAUTOTERM) == 0) { + if (bootverbose) + printf("%s: Manual SE Termination\n", + ahc_name(ahc)); enableSEC_low = (adapter_control & CFSTERM); enableSEC_high = (adapter_control & CFWSTERM); } if ((adapter_control & CFAUTOTERM) == 0) { + if (bootverbose) + printf("%s: Manual LVD Termination\n", + ahc_name(ahc)); enablePRI_low = enablePRI_high = (adapter_control & CFLVDSTERM); } |