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 | c5324085bf472350b040cfd8b665e5c334c22a51 (patch) | |
tree | e7a64dae37a9ac6a40ffd95a730acaf30faf2618 /target/linux/ar7-2.6/files/drivers/net | |
parent | 76deaf82bcad9a0b9f072b30b5fadcd178eae294 (diff) | |
download | master-187ad058-c5324085bf472350b040cfd8b665e5c334c22a51.tar.gz master-187ad058-c5324085bf472350b040cfd8b665e5c334c22a51.tar.bz2 master-187ad058-c5324085bf472350b040cfd8b665e5c334c22a51.zip |
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.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); |