mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Tone down and remove some obnoxious warnings that are slightly overkill.
This commit is contained in:
parent
53f09e7248
commit
001cfa9228
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87799
@ -534,7 +534,7 @@ fxp_attach(device_t dev)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
device_printf(dev,
|
device_printf(dev,
|
||||||
"*** DISABLING DYNAMIC STANDBY MODE IN EEPROM ***\n");
|
"Disabling dynamic standby mode in EEPROM\n");
|
||||||
data &= ~0x02;
|
data &= ~0x02;
|
||||||
fxp_write_eeprom(sc, &data, 10, 1);
|
fxp_write_eeprom(sc, &data, 10, 1);
|
||||||
device_printf(dev, "New EEPROM ID: 0x%x\n", data);
|
device_printf(dev, "New EEPROM ID: 0x%x\n", data);
|
||||||
@ -550,15 +550,6 @@ fxp_attach(device_t dev)
|
|||||||
device_printf(dev,
|
device_printf(dev,
|
||||||
"EEPROM checksum @ 0x%x: 0x%x -> 0x%x\n",
|
"EEPROM checksum @ 0x%x: 0x%x -> 0x%x\n",
|
||||||
i, data, cksum);
|
i, data, cksum);
|
||||||
/*
|
|
||||||
* We need to do a full PCI reset here. A software
|
|
||||||
* reset to the port doesn't cut it, but let's try
|
|
||||||
* anyway.
|
|
||||||
*/
|
|
||||||
CSR_WRITE_4(sc, FXP_CSR_PORT, FXP_PORT_SOFTWARE_RESET);
|
|
||||||
DELAY(50);
|
|
||||||
device_printf(dev,
|
|
||||||
"*** PLEASE REBOOT THE SYSTEM NOW FOR CORRECT OPERATION ***\n");
|
|
||||||
#if 1
|
#if 1
|
||||||
/*
|
/*
|
||||||
* If the user elects to continue, try the software
|
* If the user elects to continue, try the software
|
||||||
|
Loading…
Reference in New Issue
Block a user