Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3458
b: refs/heads/master
c: 93ad4fb
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Mohr authored and Jeff Garzik committed Jun 26, 2005
1 parent 7186531 commit a1ab4d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 1e7f0bd8c8f2d0496ad338be5e69ff4395d77da4
refs/heads/master: 93ad4fb04f5dd82fe8ace1db7617c9dcb954cf60
10 changes: 6 additions & 4 deletions trunk/drivers/net/pcmcia/pcnet_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1155,11 +1155,13 @@ static int set_config(struct net_device *dev, struct ifmap *map)
static irqreturn_t ei_irq_wrapper(int irq, void *dev_id, struct pt_regs *regs)
{
struct net_device *dev = dev_id;
pcnet_dev_t *info = PRIV(dev);
pcnet_dev_t *info;
irqreturn_t ret = ei_interrupt(irq, dev_id, regs);

if (ret == IRQ_HANDLED)
if (ret == IRQ_HANDLED) {
info = PRIV(dev);
info->stale = 0;
}
return ret;
}

Expand Down Expand Up @@ -1350,7 +1352,7 @@ static void dma_block_input(struct net_device *dev, int count,
if (count & 0x01)
buf[count-1] = inb(nic_base + PCNET_DATAPORT), xfer_count++;

/* This was for the ALPHA version only, but enough people have
/* This was for the ALPHA version only, but enough people have been
encountering problems that it is still here. */
#ifdef PCMCIA_DEBUG
if (ei_debug > 4) { /* DMA termination address check... */
Expand Down Expand Up @@ -1424,7 +1426,7 @@ static void dma_block_output(struct net_device *dev, int count,
dma_start = jiffies;

#ifdef PCMCIA_DEBUG
/* This was for the ALPHA version only, but enough people have
/* This was for the ALPHA version only, but enough people have been
encountering problems that it is still here. */
if (ei_debug > 4) { /* DMA termination address check... */
int addr, tries = 20;
Expand Down

0 comments on commit a1ab4d0

Please sign in to comment.