From: Steve L. <slo...@us...> - 2001-08-23 17:20:06
|
Update of /cvsroot/linux-mips/linux/arch/mips/au1000/pb1000 In directory usw-pr-cvs1:/tmp/cvs-serv27157/arch/mips/au1000/pb1000 Modified Files: setup.c Log Message: The #ifdef CONFIG_USB_OHCI was in the wrong place - prevented USB device clock from being enabled. Index: setup.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/au1000/pb1000/setup.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** setup.c 2001/08/17 22:53:26 1.3 --- setup.c 2001/08/23 17:20:04 1.4 *************** *** 130,138 **** #endif - #ifdef CONFIG_USB_OHCI - outl(usb_clocks, CLOCK_SOURCE_CNTRL); udelay(1000); // enable host controller and wait for reset done outl(0x08, USB_HOST_CONFIG); --- 130,137 ---- #endif outl(usb_clocks, CLOCK_SOURCE_CNTRL); udelay(1000); + #ifdef CONFIG_USB_OHCI // enable host controller and wait for reset done outl(0x08, USB_HOST_CONFIG); |