mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm8668] clean up mach-adm8668 includes
This patch cleans up the include directory, as they were from vendors 2.4 GPL source. Now only what's used is there. Signed-off-by: Scott Nicholas <scott.nicholas@scottn.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25175 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -85,9 +85,9 @@ static void adm8668_restart(char *cmd)
|
||||
int i;
|
||||
|
||||
/* stop eth0 and eth1 */
|
||||
ADM8668_LAN_REG(NETCSR6) = BIT_1|BIT_13;
|
||||
ADM8668_LAN_REG(NETCSR6) = (1 << 13) | (1 << 1);
|
||||
ADM8668_LAN_REG(NETCSR7) = 0;
|
||||
ADM8668_WAN_REG(NETCSR6) = BIT_1|BIT_13;
|
||||
ADM8668_WAN_REG(NETCSR6) = (1 << 13) | (1 << 1);
|
||||
ADM8668_WAN_REG(NETCSR7) = 0;
|
||||
|
||||
/* reset PHY */
|
||||
@@ -105,7 +105,7 @@ static void adm8668_restart(char *cmd)
|
||||
/* the real deal */
|
||||
for (i = 0; i < 1000; i++)
|
||||
;
|
||||
ADM8668_CONFIG_REG(ADM8668_CR1) = BIT_0;
|
||||
ADM8668_CONFIG_REG(ADM8668_CR1) = 1;
|
||||
}
|
||||
|
||||
int __devinit adm8668_devs_register(void)
|
||||
|
||||
Reference in New Issue
Block a user