summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.6/files/drivers/net
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-27 03:07:52 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-27 03:07:52 +0000
commit38d9c42391c335db7e9d6b6f263c75e7ea45ca76 (patch)
treee7a64dae37a9ac6a40ffd95a730acaf30faf2618 /target/linux/ar7-2.6/files/drivers/net
parent8bf289d5fd108975bd6e092075e72634d8034ee5 (diff)
update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8189 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/files/drivers/net')
-rw-r--r--target/linux/ar7-2.6/files/drivers/net/cpmac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar7-2.6/files/drivers/net/cpmac.c b/target/linux/ar7-2.6/files/drivers/net/cpmac.c
index 1be7cb8dd..7d4667708 100644
--- a/target/linux/ar7-2.6/files/drivers/net/cpmac.c
+++ b/target/linux/ar7-2.6/files/drivers/net/cpmac.c
@@ -1173,9 +1173,9 @@ int __devinit cpmac_init(void)
#warning FIXME: unhardcode gpio&reset bits
ar7_gpio_disable(26);
ar7_gpio_disable(27);
- ar7_device_reset(17);
- ar7_device_reset(21);
- ar7_device_reset(26);
+ ar7_device_reset(AR7_RESET_BIT_CPMAC_LO);
+ ar7_device_reset(AR7_RESET_BIT_CPMAC_HI);
+ ar7_device_reset(AR7_RESET_BIT_EPHY);
cpmac_mii.reset(&cpmac_mii);