projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6905b1f
)
via-velocity : fix no link detection on boot
author
Séguier Régis
<rseguier@e-teleport.net>
Tue, 16 Jun 2009 11:25:49 +0000
(11:25 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Jun 2009 07:29:11 +0000
(
00:29
-0700)
on boot, link is always up.
Signed-off-by: Seguier Regis <rseguier@e-teleport.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/via-velocity.c
patch
|
blob
|
history
diff --git
a/drivers/net/via-velocity.c
b/drivers/net/via-velocity.c
index
e2a7725
..
b02f7ad
100644
(file)
--- a/
drivers/net/via-velocity.c
+++ b/
drivers/net/via-velocity.c
@@
-989,8
+989,10
@@
static int __devinit velocity_found1(struct pci_dev *pdev, const struct pci_devi
if (ret < 0)
goto err_iounmap;
- if (
velocity_get_link(dev))
+ if (
!velocity_get_link(dev)) {
netif_carrier_off(dev);
+ vptr->mii_status |= VELOCITY_LINK_FAIL;
+ }
velocity_print_info(vptr);
pci_set_drvdata(pdev, dev);