summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1999-12-12 04:54:14 +0000
committergibbs <gibbs@FreeBSD.org>1999-12-12 04:54:14 +0000
commit28076d9c633aacfcaa0c2663ad5af48e79f6730b (patch)
tree19584f17ec51afa14e57a7e6678fd4d4d5ca5dd8 /sys/pci
parent1d49e2f195014931a2adedcae2c8ff785ed3c880 (diff)
downloadFreeBSD-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.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/ahc_pci.c10
1 files changed, 8 insertions, 2 deletions
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);
}
OpenPOWER on IntegriCloud