diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-10-21 04:36:29 +0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-10-22 06:22:13 -0400 |
commit | d766a4eda65b80afb50a39ce15c0ca424115bc07 (patch) | |
tree | 1a14b5d223ebdb861261c50156104d27c50c78b5 /drivers/net/smc911x.c | |
parent | 051d36f3fbd013a73cb42a6762e5bf339a3732aa (diff) | |
download | op-kernel-dev-d766a4eda65b80afb50a39ce15c0ca424115bc07.zip op-kernel-dev-d766a4eda65b80afb50a39ce15c0ca424115bc07.tar.gz |
SMC911x: unbreak PXA builds
Currently SMC911x driver is broken on ARM/PXA builds.
Unbreak such configurations.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r-- | drivers/net/smc911x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 8aa7460..ec32b5d 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -1242,7 +1242,7 @@ smc911x_rx_dma_irq(int dma, void *data) netif_rx(skb); spin_lock_irqsave(&lp->lock, flags); - pkts = (SMC_GET_RX_FIFO_INF() & RX_FIFO_INF_RXSUSED_) >> 16; + pkts = (SMC_GET_RX_FIFO_INF(lp) & RX_FIFO_INF_RXSUSED_) >> 16; if (pkts != 0) { smc911x_rcv(dev); }else { |