Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102889
b: refs/heads/master
c: 0c1aa20
h: refs/heads/master
i:
  102887: fd1ae12
v: v3
  • Loading branch information
Stephen Rothwell authored and Jeff Garzik committed Jun 12, 2008
1 parent c42ea36 commit 761e0b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5136e23b54250f4082130f3dd6f5cb6c54bc7d5
refs/heads/master: 0c1aa20fb87b796d904f4d89ad12e5a0c483127b
4 changes: 4 additions & 0 deletions trunk/drivers/net/lib8390.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,8 @@ static void __ei_poll(struct net_device *dev)
static void ei_tx_err(struct net_device *dev)
{
unsigned long e8390_base = dev->base_addr;
/* ei_local is used on some platforms via the EI_SHIFT macro */
struct ei_device *ei_local __maybe_unused = netdev_priv(dev);
unsigned char txsr = ei_inb_p(e8390_base+EN0_TSR);
unsigned char tx_was_aborted = txsr & (ENTSR_ABT+ENTSR_FU);

Expand Down Expand Up @@ -815,6 +817,8 @@ static void ei_rx_overrun(struct net_device *dev)
{
unsigned long e8390_base = dev->base_addr;
unsigned char was_txing, must_resend = 0;
/* ei_local is used on some platforms via the EI_SHIFT macro */
struct ei_device *ei_local __maybe_unused = netdev_priv(dev);

/*
* Record whether a Tx was in progress and then issue the
Expand Down

0 comments on commit 761e0b3

Please sign in to comment.