Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134590
b: refs/heads/master
c: 416c6f9
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent 91644db commit b5eea7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 00137dad17707f0d14dbf7e193761220f1c2fe03
refs/heads/master: 416c6f90f8a107ccae3788bb9798d10a2dac9ed0
5 changes: 3 additions & 2 deletions trunk/drivers/net/ni65.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,9 @@ static int __init ni65_probe1(struct net_device *dev,int ioaddr)
else {
if(dev->dma == 0) {
/* 'stuck test' from lance.c */
long dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) |
(inb(DMA2_STAT_REG) & 0xf0);
unsigned long dma_channels =
((inb(DMA1_STAT_REG) >> 4) & 0x0f)
| (inb(DMA2_STAT_REG) & 0xf0);
for(i=1;i<5;i++) {
int dma = dmatab[i];
if(test_bit(dma,&dma_channels) || request_dma(dma,"ni6510"))
Expand Down

0 comments on commit b5eea7d

Please sign in to comment.