diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-07-27 03:07:52 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-07-27 03:07:52 +0000 |
commit | 39127ef8bfc4b94d499432a517ce7f8cdd63d3d5 (patch) | |
tree | e7eefc3ec1a5125600436d79a05085230df505b1 /target/linux/ar7-2.6/files/drivers | |
parent | c7437ec67c0de324750ffc502abc8a716dff4d9c (diff) | |
download | upstream-39127ef8bfc4b94d499432a517ce7f8cdd63d3d5.tar.gz upstream-39127ef8bfc4b94d499432a517ce7f8cdd63d3d5.tar.bz2 upstream-39127ef8bfc4b94d499432a517ce7f8cdd63d3d5.zip |
update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help)
SVN-Revision: 8189
Diffstat (limited to 'target/linux/ar7-2.6/files/drivers')
-rw-r--r-- | target/linux/ar7-2.6/files/drivers/net/cpmac.c | 6 |
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 1be7cb8ddd..7d46677080 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); |