Config/build changes to better support the RTL8187
This commit is contained in:
parent
92d6883a71
commit
6f9bcd321c
@ -284,6 +284,27 @@ config HIDMOUSE_WTHRESH
|
||||
endif # MOUSE_WHEEL
|
||||
endif # USBHOST_HIDMOUSE
|
||||
|
||||
config USBHOST_RTL8187
|
||||
bool "RTL8187-based wireless LAN"
|
||||
default n
|
||||
depends on NET
|
||||
|
||||
if USBHOST_RTL8187
|
||||
|
||||
config RTL8187B
|
||||
bool "RTL8187B chip"
|
||||
default y
|
||||
|
||||
config RTL8187_VID
|
||||
hex "RTL8187 VID"
|
||||
default 0x0bda
|
||||
|
||||
config RTL8187_PID
|
||||
hex "RTL8187 PID"
|
||||
default 0x8189
|
||||
|
||||
endif # USBHOST_RTL8187
|
||||
|
||||
config USBHOST_TRACE
|
||||
bool "Enable USB HCD tracing for debug"
|
||||
default n
|
||||
|
@ -60,9 +60,9 @@ CSRCS += usbhost_trace.c
|
||||
endif
|
||||
endif
|
||||
|
||||
# Include add-on USB host driver logic (see misc/drivers)
|
||||
# Include add-on USB host driver logic if present and selected (see misc/drivers)
|
||||
|
||||
ifeq ($(CONFIG_NET),y)
|
||||
ifeq ($(CONFIG_USBHOST_RTL8187),y)
|
||||
RTL8187_CSRC := ${shell if [ -f usbhost$(DELIM)rtl8187x.c ]; then echo "rtl8187x.c"; fi}
|
||||
CSRCS += $(RTL8187_CSRC)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user