When booting verbose, indicate if we are using manual termination

settings for U2 cards.

Don't assume that all aic7859 cards are 2930CUs.
This commit is contained in:
Justin T. Gibbs 1999-12-12 04:54:14 +00:00
parent 6301c76378
commit e0b0c6aad5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54472
2 changed files with 16 additions and 4 deletions

View file

@ -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);
}

View file

@ -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);
}