diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-05 15:04:44 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:14 -0800 |
commit | 85e468cd556b04dcf019deca145639e1f8cb1e63 (patch) | |
tree | c232277d1f59a6a7b07dfcc2723749ae5ea545d6 /drivers | |
parent | 479e2f445faf7a04d75f807b81b316ebc5b043ca (diff) |
Staging: benet: fix netif api breakage
The netif_rx_complete() and netif_rx_schedule() functions have changed,
so fix up the build breakage in the benet driver.
Cc: Subbu Seetharaman <subbus@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/benet/be_int.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/benet/be_int.c b/drivers/staging/benet/be_int.c index 82472b43fd8..1e5e2948f17 100644 --- a/drivers/staging/benet/be_int.c +++ b/drivers/staging/benet/be_int.c @@ -728,7 +728,7 @@ int be_poll(struct napi_struct *napi, int budget) /* All consumed */ if (work_done < budget) { - netif_rx_complete(netdev, napi); + netif_rx_complete(napi); /* enable intr */ be_notify_cmpl(pnob, work_done, pnob->rx_cq_id, 1); } else { @@ -763,7 +763,7 @@ static inline u32 process_events(struct be_net_object *pnob) rid = AMAP_GET_BITS_PTR(EQ_ENTRY, ResourceID, eqp); if (rid == pnob->rx_cq_id) { adapter->be_stat.bes_rx_events++; - netif_rx_schedule(netdev, &pnob->napi); + netif_rx_schedule(&pnob->napi); } else if (rid == pnob->tx_cq_id) { process_nic_tx_completions(pnob); } else if (rid == pnob->mcc_cq_id) { |