diff options
Diffstat (limited to 'drivers/net/hp100.c')
-rw-r--r-- | drivers/net/hp100.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/hp100.c b/drivers/net/hp100.c index 095b17ecf609..8e2c4601b5f5 100644 --- a/drivers/net/hp100.c +++ b/drivers/net/hp100.c | |||
@@ -1312,7 +1312,7 @@ static int hp100_build_rx_pdl(hp100_ring_t * ringptr, | |||
1312 | for (p = (ringptr->pdl); p < (ringptr->pdl + 5); p++) | 1312 | for (p = (ringptr->pdl); p < (ringptr->pdl + 5); p++) |
1313 | printk("hp100: %s: Adr 0x%.8x = 0x%.8x\n", dev->name, (u_int) p, (u_int) * p); | 1313 | printk("hp100: %s: Adr 0x%.8x = 0x%.8x\n", dev->name, (u_int) p, (u_int) * p); |
1314 | #endif | 1314 | #endif |
1315 | return (1); | 1315 | return 1; |
1316 | } | 1316 | } |
1317 | /* else: */ | 1317 | /* else: */ |
1318 | /* alloc_skb failed (no memory) -> still can receive the header | 1318 | /* alloc_skb failed (no memory) -> still can receive the header |
@@ -1325,7 +1325,7 @@ static int hp100_build_rx_pdl(hp100_ring_t * ringptr, | |||
1325 | 1325 | ||
1326 | ringptr->pdl[0] = 0x00010000; /* PDH: Count=1 Fragment */ | 1326 | ringptr->pdl[0] = 0x00010000; /* PDH: Count=1 Fragment */ |
1327 | 1327 | ||
1328 | return (0); | 1328 | return 0; |
1329 | } | 1329 | } |
1330 | 1330 | ||
1331 | /* | 1331 | /* |
@@ -2752,7 +2752,7 @@ static int hp100_login_to_vg_hub(struct net_device *dev, u_short force_relogin) | |||
2752 | hp100_outw(HP100_MISC_ERROR, IRQ_STATUS); | 2752 | hp100_outw(HP100_MISC_ERROR, IRQ_STATUS); |
2753 | 2753 | ||
2754 | if (val & HP100_LINK_UP_ST) | 2754 | if (val & HP100_LINK_UP_ST) |
2755 | return (0); /* login was ok */ | 2755 | return 0; /* login was ok */ |
2756 | else { | 2756 | else { |
2757 | printk("hp100: %s: Training failed.\n", dev->name); | 2757 | printk("hp100: %s: Training failed.\n", dev->name); |
2758 | hp100_down_vg_link(dev); | 2758 | hp100_down_vg_link(dev); |