Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16859
b: refs/heads/master
c: 3eaa5e7
h: refs/heads/master
i:
  16857: d45a128
  16855: 81e9454
v: v3
  • Loading branch information
Lennert Buytenhek authored and Linus Torvalds committed Jan 9, 2006
1 parent 5ce9801 commit b5b7b15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 0d5affcfe23ade8c4c01154e7e381e2a9a916399
refs/heads/master: 3eaa5e7dcce0653d2bfd2ab85a623687da49f8d5
12 changes: 6 additions & 6 deletions trunk/drivers/net/cs89x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,17 +351,17 @@ writeword(unsigned long base_addr, int portno, int value)
}

static int
readreg(struct net_device *dev, int portno)
readreg(struct net_device *dev, int regno)
{
outw(portno, dev->base_addr + ADD_PORT);
return inw(dev->base_addr + DATA_PORT);
writeword(dev->base_addr, ADD_PORT, regno);
return readword(dev->base_addr, DATA_PORT);
}

static void
writereg(struct net_device *dev, int portno, int value)
writereg(struct net_device *dev, int regno, int value)
{
outw(portno, dev->base_addr + ADD_PORT);
outw(value, dev->base_addr + DATA_PORT);
writeword(dev->base_addr, ADD_PORT, regno);
writeword(dev->base_addr, DATA_PORT, value);
}

static int __init
Expand Down

0 comments on commit b5b7b15

Please sign in to comment.