From d63f78f0efe4a57775974a490c653c2226d6e4a4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 15 Mar 2006 19:14:46 +0000 Subject: [PATCH] add Support for USB Speedtouch ADSL modem, thx Jonathan McDowell SVN-Revision: 3380 --- openwrt/target/linux/Config.in | 6 ++++++ openwrt/target/linux/brcm-2.6/config | 2 +- .../target/linux/control/kmod-usb-atm-speedtouch.control | 6 ++++++ openwrt/target/linux/generic-2.6/modules.mk | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 openwrt/target/linux/control/kmod-usb-atm-speedtouch.control diff --git a/openwrt/target/linux/Config.in b/openwrt/target/linux/Config.in index 1e68eaeb5b..fca77141b3 100644 --- a/openwrt/target/linux/Config.in +++ b/openwrt/target/linux/Config.in @@ -695,6 +695,12 @@ config BR2_PACKAGE_KMOD_USB_ATM default m depends BR2_PACKAGE_KMOD_USB_CONTROLLER +config BR2_PACKAGE_KMOD_USB_ATM_SPEEDTOUCH + prompt "kmod-usb-atm-speedtouch........... Support for USB Speedtouch ADSL modem" + tristate + default m + depends BR2_PACKAGE_KMOD_USB_ATM + endmenu menu "Misc. devices support" diff --git a/openwrt/target/linux/brcm-2.6/config b/openwrt/target/linux/brcm-2.6/config index ed4206147a..7d2187942d 100644 --- a/openwrt/target/linux/brcm-2.6/config +++ b/openwrt/target/linux/brcm-2.6/config @@ -1409,7 +1409,7 @@ CONFIG_USB_SERIAL_PL2303=m # USB DSL modem support # CONFIG_USB_ATM=m -# CONFIG_USB_SPEEDTOUCH is not set +CONFIG_USB_SPEEDTOUCH=m # CONFIG_USB_CXACRU is not set # CONFIG_USB_XUSBATM is not set diff --git a/openwrt/target/linux/control/kmod-usb-atm-speedtouch.control b/openwrt/target/linux/control/kmod-usb-atm-speedtouch.control new file mode 100644 index 0000000000..25e20739d5 --- /dev/null +++ b/openwrt/target/linux/control/kmod-usb-atm-speedtouch.control @@ -0,0 +1,6 @@ +Package: kmod-usb-atm-speedtouch +Priority: optional +Section: sys +Maintainer: Jonathan McDowell +Source: buildroot internal +Description: Kernel driver for USB Speedtouch ADSL modem diff --git a/openwrt/target/linux/generic-2.6/modules.mk b/openwrt/target/linux/generic-2.6/modules.mk index 37d7094c5c..d5b1867697 100644 --- a/openwrt/target/linux/generic-2.6/modules.mk +++ b/openwrt/target/linux/generic-2.6/modules.mk @@ -329,6 +329,10 @@ $(eval $(call KMOD_template,USB_ATM,usb-atm,\ $(MODULES_DIR)/kernel/drivers/usb/atm/usbatm.ko \ ,CONFIG_USB_ATM,kmod-usb-atm,50,usbatm)) +$(eval $(call KMOD_template,USB_ATM_SPEEDTOUCH,usb-atm-speedtouch,\ + $(MODULES_DIR)/kernel/drivers/usb/atm/speedtch.ko \ + ,CONFIG_USB_SPEEDTOUCH,kmod-usb-atm-speedtouch,50,speedtch)) + # Misc. devices $(eval $(call KMOD_template,AX25,ax25,\ -- 2.25.1