Loading drivers/net/smc911x.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading drivers/net/smc911x.h +4 −2 Original line number Diff line number Diff line Loading @@ -50,6 +50,10 @@ #define SMC_DYNAMIC_BUS_CONFIG #endif #ifdef SMC_USE_PXA_DMA #define SMC_USE_DMA #endif /* store this information for the driver.. */ struct smc911x_local { /* Loading Loading @@ -196,8 +200,6 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg, #ifdef SMC_USE_PXA_DMA #define SMC_USE_DMA /* * Define the request and free functions * These are unfortunately architecture specific as no generic allocation Loading Loading
drivers/net/smc911x.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading
drivers/net/smc911x.h +4 −2 Original line number Diff line number Diff line Loading @@ -50,6 +50,10 @@ #define SMC_DYNAMIC_BUS_CONFIG #endif #ifdef SMC_USE_PXA_DMA #define SMC_USE_DMA #endif /* store this information for the driver.. */ struct smc911x_local { /* Loading Loading @@ -196,8 +200,6 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg, #ifdef SMC_USE_PXA_DMA #define SMC_USE_DMA /* * Define the request and free functions * These are unfortunately architecture specific as no generic allocation Loading