Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111353
b: refs/heads/master
c: 01aad7b
h: refs/heads/master
i:
  111351: 8068839
v: v3
  • Loading branch information
Ben Hutchings authored and Jeff Garzik committed Sep 3, 2008
1 parent 6002223 commit e82a888
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 740847dab16b1a410a0f833df2bf21c8ed8265f3
refs/heads/master: 01aad7b6ffcc07544e7bdf472fbde4e6eb36a610
17 changes: 6 additions & 11 deletions trunk/drivers/net/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ static struct pci_device_id efx_pci_table[] __devinitdata = {
*
* Dummy PHY/MAC/Board operations
*
* Can be used where the MAC does not implement this operation
* Can be used for some unimplemented operations
* Needed so all function pointers are valid and do not have to be tested
* before use
*
Expand All @@ -1795,17 +1795,12 @@ static struct efx_phy_operations efx_dummy_phy_operations = {
.reset_xaui = efx_port_dummy_op_void,
};

/* Dummy board operations */
static int efx_nic_dummy_op_int(struct efx_nic *nic)
{
return 0;
}

static struct efx_board efx_dummy_board_info = {
.init = efx_nic_dummy_op_int,
.init_leds = efx_port_dummy_op_int,
.set_fault_led = efx_port_dummy_op_blink,
.fini = efx_port_dummy_op_void,
.init = efx_port_dummy_op_int,
.init_leds = efx_port_dummy_op_int,
.set_fault_led = efx_port_dummy_op_blink,
.blink = efx_port_dummy_op_blink,
.fini = efx_port_dummy_op_void,
};

/**************************************************************************
Expand Down

0 comments on commit e82a888

Please sign in to comment.