mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +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:
@@ -3509,8 +3509,7 @@ e1000_transmit (struct nic *nic, const char *d, /* Destination */
|
||||
/**************************************************************************
|
||||
DISABLE - Turn off ethernet interface
|
||||
***************************************************************************/
|
||||
static void e1000_disable (struct dev *dev __unused)
|
||||
{
|
||||
static void e1000_disable ( struct nic *nic __unused ) {
|
||||
/* Clear the transmit ring */
|
||||
E1000_WRITE_REG (&hw, TDH, 0);
|
||||
E1000_WRITE_REG (&hw, TDT, 0);
|
||||
|
||||
Reference in New Issue
Block a user