Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98535
b: refs/heads/master
c: 54299ef
h: refs/heads/master
i:
  98533: 6d8ce0d
  98531: 1879b43
  98527: 9a912ba
v: v3
  • Loading branch information
Komuro authored and Jeff Garzik committed Jun 27, 2008
1 parent 18e2484 commit 8398612
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 52cc30862a8f90c98be8eb527d00e5e06d398b22
refs/heads/master: 54299ef7e9ae4b5d47b02f3abea168cdc62a6f70
2 changes: 2 additions & 0 deletions trunk/drivers/net/pcmcia/axnet_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,14 @@ static int axnet_open(struct net_device *dev)
int ret;
axnet_dev_t *info = PRIV(dev);
struct pcmcia_device *link = info->p_dev;
unsigned int nic_base = dev->base_addr;

DEBUG(2, "axnet_open('%s')\n", dev->name);

if (!pcmcia_dev_present(link))
return -ENODEV;

outb_p(0xFF, nic_base + EN0_ISR); /* Clear bogus intr. */
ret = request_irq(dev->irq, ei_irq_wrapper, IRQF_SHARED, "axnet_cs", dev);
if (ret)
return ret;
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/net/pcmcia/pcnet_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,13 +969,16 @@ static int pcnet_open(struct net_device *dev)
int ret;
pcnet_dev_t *info = PRIV(dev);
struct pcmcia_device *link = info->p_dev;
unsigned int nic_base = dev->base_addr;

DEBUG(2, "pcnet_open('%s')\n", dev->name);

if (!pcmcia_dev_present(link))
return -ENODEV;

set_misc_reg(dev);

outb_p(0xFF, nic_base + EN0_ISR); /* Clear bogus intr. */
ret = request_irq(dev->irq, ei_irq_wrapper, IRQF_SHARED, dev_info, dev);
if (ret)
return ret;
Expand Down

0 comments on commit 8398612

Please sign in to comment.