projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6649b20
)
dm9000: take phy out of reset during init
author
Nikita Kiryanov
<
[email protected]
>
Wed, 16 Oct 2013 08:41:32 +0000
(11:41 +0300)
committer
David S. Miller
<
[email protected]
>
Thu, 17 Oct 2013 17:35:56 +0000
(13:35 -0400)
Take the phy out of reset explicitly during system resume to avoid
losing network connectivity.
Cc: David S. Miller <
[email protected]
>
Cc: Jingoo Han <
[email protected]
>
Cc: Mugunthan V N <
[email protected]
>
Signed-off-by: Nikita Kiryanov <
[email protected]
>
Signed-off-by: Igor Grinberg <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/davicom/dm9000.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/davicom/dm9000.c
b/drivers/net/ethernet/davicom/dm9000.c
index 912983b3949284d329179f5aeae49f15412ba49a..3f650ce10cf40767c125336337a9f6e02d57bd4d 100644
(file)
--- a/
drivers/net/ethernet/davicom/dm9000.c
+++ b/
drivers/net/ethernet/davicom/dm9000.c
@@
-890,6
+890,7
@@
dm9000_init_dm9000(struct net_device *dev)
(dev->features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0);
iow(db, DM9000_GPCR, GPCR_GEP_CNTL); /* Let GPIO0 output */
+ iow(db, DM9000_GPR, 0);
/* If we are dealing with DM9000B, some extra steps are required: a
* manual phy reset, and setting init params.