-define KernelPackage/usb-pwc
- $(call usbdep,+kmod-videodev)
- TITLE:=Philips WebCam driver
- DESCRIPTION:=Kernel modules for supporting Philips WebCam USB devices
- KCONFIG:=$(CONFIG_USB_PWC)
- AUTOLOAD:=$(call AutoLoad,70,pwc)
+
+define KernelPackage/usb-net
+ $(call usbdep,)
+ TITLE:=Kernel modules for USB-to-Ethernet convertors
+ KCONFIG:=CONFIG_USB_USBNET
+ AUTOLOAD:=$(call Autoload,60,usbnet)
+endef
+
+define KernelPackage/usb-net/2.4
+ FILES:=$(LINUX_DIR)/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
+endef
+
+define KernelPackage/usb-net/2.6
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
+endef
+
+define KernelPackage/usb-net/description
+ Kernel modules for USB-to-Ethernet convertors
+endef
+
+$(eval $(call KernelPackage,usb-net))
+
+
+define KernelPackage/usb-net-asix
+ $(call usbdep,kmod-usb-net @LINUX_2_6)
+ TITLE:=Kernel module for USB-to-Ethernet Asix convertors
+ KCONFIG:=CONFIG_USB_NET_AX8817X
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call Autoload,61,asix)
+endef
+
+define KernelPackage/usb-net-asix/description
+ Kernel module for USB-to-Ethernet Asix convertors
+endef
+
+$(eval $(call KernelPackage,usb-net-asix))
+
+
+define KernelPackage/usb-net-kaweth
+ $(call usbdep,kmod-usb-net @LINUX_2_6)
+ TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
+ KCONFIG:=CONFIG_USB_KAWETH
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call Autoload,61,kaweth)
+endef
+
+define KernelPackage/usb-net-kaweth/description
+ Kernel module for USB-to-Ethernet Kaweth convertors
+endef
+
+$(eval $(call KernelPackage,usb-net-kaweth))
+
+
+define KernelPackage/usb-net-pegasus
+ $(call usbdep,kmod-usb-net @LINUX_2_6)
+ TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
+ KCONFIG:=CONFIG_USB_PEGASUS
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call Autoload,61,pegasus)