mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 09:32:33 +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:
@@ -3186,8 +3186,7 @@ static void tg3_transmit(struct nic *nic, const char *dst_addr,
|
||||
/**************************************************************************
|
||||
DISABLE - Turn off ethernet interface
|
||||
***************************************************************************/
|
||||
static void tg3_disable(struct dev *dev __unused)
|
||||
{
|
||||
static void tg3_disable ( struct nic *nic __unused ) {
|
||||
struct tg3 *tp = &tg3;
|
||||
/* put the card in its initial state */
|
||||
/* This function serves 3 purposes.
|
||||
|
||||
Reference in New Issue
Block a user