Changeset 17432


Ignore:
Timestamp:
08/05/11 21:24:45 (23 months ago)
Author:
BrainSlayer
Message:

usb over ip support

Location:
src/router
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/Makefile

    r17357 r17432  
    148148CFLAGS += -DHAVE_GWMF54G2 
    149149endif 
     150ifeq ($(CONFIG_USBIP),y) 
     151CFLAGS += -DHAVE_USBIP 
     152endif 
    150153ifeq ($(CONFIG_ESR6650),y) 
    151154  CFLAGS += -DHAVE_ESR6650 
  • src/router/httpd/visuals/ejs.c

    r17357 r17432  
    587587#ifdef HAVE_ATH9K 
    588588        "HAVE_ATH9K", 
     589#endif 
     590#ifdef HAVE_USBIP 
     591        "USBIP", 
    589592#endif 
    590593        NULL 
  • src/router/services/Makefile

    r17357 r17432  
    151151ifeq ($(CONFIG_KAID),y) 
    152152CFLAGS_EXTRA += -DHAVE_KAID 
     153endif 
     154ifeq ($(CONFIG_USBIP),y) 
     155CFLAGS_EXTRA += -DHAVE_USBIP 
    153156endif 
    154157ifeq ($(CONFIG_OLED),y) 
  • src/router/services/sysinit/sysinit.c

    r17407 r17432  
    22112211                        insmod("usblp"); 
    22122212                } 
     2213 
     2214#ifdef HAVE_USBIP 
     2215                if (nvram_match("usb_ip", "1")) { 
     2216                        cprintf("loading usb over ip drivers\n"); 
     2217                        insmod("usbip_common_mod"); 
     2218                        insmod("usbip"); 
     2219                        eval("usbipd","-D"); 
     2220                } 
     2221#endif 
    22132222                mount("devpts", "/proc/bus/usb", "usbfs", MS_MGC_VAL, NULL); 
    22142223//   Mounting is done by hotplug event!          
Note: See TracChangeset for help on using the changeset viewer.