From: Pete P. <pp...@us...> - 2002-06-18 23:07:31
|
Update of /cvsroot/linux-mips/linux/drivers/pcmcia In directory usw-pr-cvs1:/tmp/cvs-serv23959/drivers/pcmcia Modified Files: au1000_generic.c Log Message: Fixed the pcmcia timing so the IBM Microdrive will work (patch by Alchemy/AMD). Moved the pcmcia chip select setup to setup.c instead of au1000_generic.c, since not all boards will use the same chip select. Index: au1000_generic.c =================================================================== RCS file: /cvsroot/linux-mips/linux/drivers/pcmcia/au1000_generic.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- au1000_generic.c 1 May 2002 18:00:30 -0000 1.12 +++ au1000_generic.c 18 Jun 2002 23:07:27 -0000 1.13 @@ -166,12 +166,7 @@ return -EIO; } - /* setup the static bus controller */ - timing3 = 0x100e3a07; - au_writel(0x00000002, MEM_STCFG3); /* type = PCMCIA */ - au_writel(timing3, MEM_STTIME3); - au_writel(0x10000000, MEM_STADDR3); /* any PCMCIA select */ - au_sync_delay(1); + /* NOTE: the chip select must already be setup */ pcmcia_socket = kmalloc(sizeof(struct au1000_pcmcia_socket) * socket_count, |