Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122082
b: refs/heads/master
c: 8859736
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Hałasa committed Nov 22, 2008
1 parent 609dc91 commit 394fb53
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 206 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: 6b40aba304e6f94c747ad9559e03ea03a49e8008
refs/heads/master: 88597364573a46a57496c62ff0ee4b8148831ed0
4 changes: 2 additions & 2 deletions trunk/drivers/net/wan/c101.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static card_t **new_card = &first_card;
/* EDA address register must be set in EDAL, EDAH order - 8 bit ISA bus */
#define sca_outw(value, reg, card) do { \
writeb(value & 0xFF, (card)->win0base + C101_SCA + (reg)); \
writeb((value >> 8 ) & 0xFF, (card)->win0base + C101_SCA + (reg+1));\
writeb((value >> 8 ) & 0xFF, (card)->win0base + C101_SCA + (reg + 1));\
} while(0)

#define port_to_card(port) (port)
Expand Down Expand Up @@ -381,7 +381,7 @@ static int __init c101_run(unsigned long irq, unsigned long winbase)
return result;
}

sca_init_sync_port(card); /* Set up C101 memory */
sca_init_port(card); /* Set up C101 memory */
set_carrier(card);

printk(KERN_INFO "%s: Moxa C101 on IRQ%u,"
Expand Down
Loading

0 comments on commit 394fb53

Please sign in to comment.