mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 18:42:53 +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:
@@ -683,8 +683,7 @@ static void r8169_reset(struct nic *nic)
|
||||
/**************************************************************************
|
||||
DISABLE - Turn off ethernet interface
|
||||
***************************************************************************/
|
||||
static void r8169_disable(struct dev *dev __unused)
|
||||
{
|
||||
static void r8169_disable ( struct nic *nic __unused ) {
|
||||
int i;
|
||||
/* Stop the chip's Tx and Rx DMA processes. */
|
||||
RTL_W8(ChipCmd, 0x00);
|
||||
|
||||
Reference in New Issue
Block a user