Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97336
b: refs/heads/master
c: 5daab96
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and Jeff Garzik committed May 22, 2008
1 parent 74e65b7 commit 57f5133
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 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: 24c28edc5a1b1dc4677eb13408ff3492d65df159
refs/heads/master: 5daab96d873721cb84f4583f232b88fcd67c51fb
5 changes: 1 addition & 4 deletions trunk/drivers/net/sfc/falcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2411,7 +2411,7 @@ int falcon_probe_nic(struct efx_nic *efx)

/* Allocate storage for hardware specific data */
nic_data = kzalloc(sizeof(*nic_data), GFP_KERNEL);
efx->nic_data = (void *) nic_data;
efx->nic_data = nic_data;

/* Determine number of ports etc. */
rc = falcon_probe_nic_variant(efx);
Expand Down Expand Up @@ -2481,13 +2481,10 @@ int falcon_probe_nic(struct efx_nic *efx)
*/
int falcon_init_nic(struct efx_nic *efx)
{
struct falcon_nic_data *data;
efx_oword_t temp;
unsigned thresh;
int rc;

data = (struct falcon_nic_data *)efx->nic_data;

/* Set up the address region register. This is only needed
* for the B0 FPGA, but since we are just pushing in the
* reset defaults this may as well be unconditional. */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/sfc/net_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ struct efx_nic {

unsigned n_rx_nodesc_drop_cnt;

void *nic_data;
struct falcon_nic_data *nic_data;

struct mutex mac_lock;
int port_enabled;
Expand Down

0 comments on commit 57f5133

Please sign in to comment.