mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 18:40:24 +03:00
Automatically updated using
perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev\s*\)\s*{\s*struct nic \*nic.*?$/_disable ( struct nic *nic ) {/ms' *.c
perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev(\s*__unused)?\)\s*{/_disable ( struct nic *nic$1 ) {/ms' *.c
This commit is contained in:
@@ -456,8 +456,7 @@ static void eepro_transmit(
|
||||
/**************************************************************************
|
||||
DISABLE - Turn off ethernet interface
|
||||
***************************************************************************/
|
||||
static void eepro_disable(struct dev *dev __unused)
|
||||
{
|
||||
static void eepro_disable ( struct nic *nic __unused ) {
|
||||
eepro_sw2bank0(ioaddr); /* Switch to bank 0 */
|
||||
/* Flush the Tx and disable Rx */
|
||||
outb(STOP_RCV_CMD, ioaddr);
|
||||
|
||||
Reference in New Issue
Block a user