Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43207
b: refs/heads/master
c: e8f7f7f
h: refs/heads/master
i:
  43205: 171eedc
  43203: 0d9edd2
  43199: d21b72e
v: v3
  • Loading branch information
Maciej W. Rozycki authored and Jeff Garzik committed Dec 4, 2006
1 parent 47b8e3f commit 490d7a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 3b6e8fe7eca12fca2cc7fde46ba2a94a86ab0815
refs/heads/master: e8f7f7f11d07c3fe3316d57790bae4c561064c33
6 changes: 1 addition & 5 deletions trunk/drivers/net/declance.c
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,6 @@ static int __init dec_lance_init(const int type, const int slot)
lp->type = type;
lp->slot = slot;
switch (type) {
#ifdef CONFIG_TC
case ASIC_LANCE:
dev->base_addr = CKSEG1ADDR(dec_kn_slot_base + IOASIC_LANCE);

Expand Down Expand Up @@ -1109,7 +1108,7 @@ static int __init dec_lance_init(const int type, const int slot)
CPHYSADDR(dev->mem_start) << 3);

break;

#ifdef CONFIG_TC
case PMAD_LANCE:
claim_tc_card(slot);

Expand Down Expand Up @@ -1140,7 +1139,6 @@ static int __init dec_lance_init(const int type, const int slot)

break;
#endif

case PMAX_LANCE:
dev->irq = dec_interrupt[DEC_IRQ_LANCE];
dev->base_addr = CKSEG1ADDR(KN01_SLOT_BASE + KN01_LANCE);
Expand Down Expand Up @@ -1295,10 +1293,8 @@ static int __init dec_lance_probe(void)
/* Then handle onboard devices. */
if (dec_interrupt[DEC_IRQ_LANCE] >= 0) {
if (dec_interrupt[DEC_IRQ_LANCE_MERR] >= 0) {
#ifdef CONFIG_TC
if (dec_lance_init(ASIC_LANCE, -1) >= 0)
count++;
#endif
} else if (!TURBOCHANNEL) {
if (dec_lance_init(PMAX_LANCE, -1) >= 0)
count++;
Expand Down

0 comments on commit 490d7a4

Please sign in to comment.