mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +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:
@@ -634,8 +634,7 @@ static void pcnet32_transmit(struct nic *nic __unused, const char *d, /* Destina
|
||||
/**************************************************************************
|
||||
DISABLE - Turn off ethernet interface
|
||||
***************************************************************************/
|
||||
static void pcnet32_disable(struct dev *dev __unused)
|
||||
{
|
||||
static void pcnet32_disable ( struct nic *nic __unused ) {
|
||||
/* Stop the PCNET32 here -- it ocassionally polls memory if we don't */
|
||||
lp->a.write_csr(ioaddr, 0, 0x0004);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user