Changeset 14511
- Timestamp:
- 05/28/10 03:30:43 (3 years ago)
- Location:
- src/linux/pb42/linux-2.6.23
- Files:
-
- 5 edited
-
arch/mips/ar7100/proc_gpio.c (modified) (2 diffs)
-
drivers/mtd/devices/ar7100_flash.c (modified) (1 diff)
-
drivers/net/Kconfig (modified) (1 diff)
-
drivers/net/ag7100/ag7100.c (modified) (1 diff)
-
drivers/usb/core/hub.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/linux/pb42/linux-2.6.23/arch/mips/ar7100/proc_gpio.c
r13863 r14511 108 108 void ap_usb_led_on(void) 109 109 { 110 #ifdef CONFIG_WNDR3700 111 ar7100_reg_rmw_set(AR7100_RESET, AR7100_RESET_GE1_PHY); 112 #else 110 113 #ifdef AP_USB_LED_GPIO 111 114 ar7100_set_gpio(AP_USB_LED_GPIO, USB_LED_ON); 112 115 #endif 116 #endif 113 117 } 114 118 EXPORT_SYMBOL(ap_usb_led_on); … … 116 120 void ap_usb_led_off(void) 117 121 { 122 #ifdef CONFIG_WNDR3700 123 ar7100_reg_rmw_clear(AR7100_RESET, AR7100_RESET_GE1_PHY); 124 #else 118 125 #ifdef AP_USB_LED_GPIO 119 126 ar7100_set_gpio(AP_USB_LED_GPIO, USB_LED_OFF); 127 #endif 120 128 #endif 121 129 } -
src/linux/pb42/linux-2.6.23/drivers/mtd/devices/ar7100_flash.c
r14164 r14511 388 388 dir_parts[2].size = 389 389 (len & 0xffffff) - dir_parts[2].offset; 390 #if def CONFIG_DIR825390 #if defined(CONFIG_DIR825) || defined(CONFIG_WNDR3700) 391 391 dir_parts[3].offset = 0x670000; 392 392 #else -
src/linux/pb42/linux-2.6.23/drivers/net/Kconfig
r14371 r14511 2301 2301 config DIR825 2302 2302 bool "DIR825 Support" 2303 depends on CAMEO_REALTEK_PHY 2304 2305 config WNDR3700 2306 bool "WNDR3700 Support" 2303 2307 depends on CAMEO_REALTEK_PHY 2304 2308 -
src/linux/pb42/linux-2.6.23/drivers/net/ag7100/ag7100.c
r14423 r14511 1541 1541 * So, we go ahead and receive the packets.. 1542 1542 */ 1543 assert((status & AG7100_RX_STATUS_PKT_RCVD));1544 assert((status >> 16));1543 // assert((status & AG7100_RX_STATUS_PKT_RCVD)); 1544 // assert((status >> 16)); 1545 1545 #endif 1546 1546 /* -
src/linux/pb42/linux-2.6.23/drivers/usb/core/hub.c
r13817 r14511 1173 1173 dev_info (&udev->dev, "USB disconnect, address %d\n", udev->devnum); 1174 1174 1175 #ifdef AP_USB_LED_GPIO1176 1175 /* Turn USB LED off only if its a last device attached to root hub */ 1177 1176 if(udev->parent == udev->bus->root_hub) 1178 1177 ap_usb_led_off(); 1179 #endif1180 1178 1181 1179 usb_lock_device(udev); … … 2091 2089 /* success, speed is known */ 2092 2090 retval = -ENODEV; 2093 #ifdef AP_USB_LED_GPIO 2094 ap_usb_led_on(); 2095 #endif 2091 ap_usb_led_on(); 2096 2092 2097 2093 if (oldspeed != USB_SPEED_UNKNOWN && oldspeed != udev->speed) {
Note: See TracChangeset
for help on using the changeset viewer.
