Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117778
b: refs/heads/master
c: d766a4e
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Baryshkov authored and Jeff Garzik committed Oct 22, 2008
1 parent aadf742 commit 20bf8da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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: 051d36f3fbd013a73cb42a6762e5bf339a3732aa
refs/heads/master: d766a4eda65b80afb50a39ce15c0ca424115bc07
2 changes: 1 addition & 1 deletion trunk/drivers/net/smc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 4 additions & 2 deletions trunk/drivers/net/smc911x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/*
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 20bf8da

Please sign in to comment.