From: Abraham vd M. <ab...@us...> - 2002-04-09 12:30:50
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv12990 Modified Files: frodo.c Log Message: Not resetting the ethernet controller by toggling SBHE anymore to avoid 8-bit odd byte addressing problem (now going through the CPLD) and I've rewritten the cs89x0 driver, so I'm doing the reset in there now. Index: frodo.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/frodo.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- frodo.c 12 Mar 2002 09:25:27 -0000 1.4 +++ frodo.c 9 Apr 2002 12:30:43 -0000 1.5 @@ -63,13 +63,11 @@ #define RS232_ENABLE 0x00001000 #define IDERESET 0x80 #define IDELED 0x40 -#define ETHRESET 0x8000 static void frodo_init_hardware(void) { u32 *bcr = (u32 *) 0x12000000; u16 *ide = (u16 *) 0x40008000; - u16 *eth = (u16 *) 0x40014000; /* enable RS232 tranceiver */ *bcr = RS232_ENABLE; @@ -80,10 +78,6 @@ /* reset the drive */ *ide |= IDERESET; *ide &= ~IDERESET; - - /* reset the ethernet controller */ - *eth |= ETHRESET; - *eth &= ~ETHRESET; /* select serial driver */ serial_driver = &sa11x0_serial_driver; |