From: Pete P. <pp...@us...> - 2002-09-26 05:39:42
|
Update of /cvsroot/linux-mips/linux/arch/mips/au1000/pb1100 In directory usw-pr-cvs1:/tmp/cvs-serv1799/arch/mips/au1000/pb1100 Modified Files: setup.c Log Message: Split up the Pb board and Au CPU dependencies properly. Index: setup.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/au1000/pb1100/setup.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- setup.c 25 Sep 2002 07:38:58 -0000 1.6 +++ setup.c 26 Sep 2002 05:39:39 -0000 1.7 @@ -52,7 +52,7 @@ #define CONFIG_AU1000_OHCI_FIX #endif -#if defined(CONFIG_AU1000_SERIAL_CONSOLE) +#if defined(CONFIG_AU1X00_SERIAL_CONSOLE) extern void console_setup(char *, int *); char serial_console[20]; #endif @@ -85,7 +85,7 @@ __asm__ volatile ("sync"); } -void __init au1100_setup(void) +void __init au1x00_setup(void) { char *argptr; u32 pin_func, static_cfg0; @@ -98,7 +98,7 @@ /* Various early Au1000 Errata corrected by this */ set_cp0_config(1<<19); /* Config[OD] */ -#ifdef CONFIG_AU1000_SERIAL_CONSOLE +#ifdef CONFIG_AU1X00_SERIAL_CONSOLE if ((argptr = strstr(argptr, "console=")) == NULL) { argptr = prom_getcmdline(); strcat(argptr, " console=ttyS0,115200"); @@ -133,7 +133,7 @@ au_writel(0, SYS_PININPUTEN); udelay(100); -#if defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1000_USB_DEVICE) +#if defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1X00_USB_DEVICE) #ifdef CONFIG_USB_OHCI if ((argptr = strstr(argptr, "usb_ohci=")) == NULL) { char usb_args[80]; @@ -180,12 +180,12 @@ // get USB Functionality pin state (device vs host drive pins) pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000); -#ifndef CONFIG_AU1000_USB_DEVICE +#ifndef CONFIG_AU1X00_USB_DEVICE // 2nd USB port is USB host pin_func |= 0x8000; #endif au_writel(pin_func, SYS_PINFUNC); -#endif // defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1000_USB_DEVICE) +#endif // defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1X00_USB_DEVICE) #ifdef CONFIG_USB_OHCI // enable host controller and wait for reset done |