SR9800 100Mb usb2.0 buildroot-ondevice test

if someone familiar with the buildroot has one of these usb 100Mb nics... can test this... a build user wants the driver, can't find the kmod...

apparently ' ICS Advent' is one brand using this chipset...

 ID 0fe6:9800 ICS Advent
sr9800gitpatch
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index eaf9eadb28..44d7f412f1 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1335,6 +1335,21 @@ endef
 $(eval $(call KernelPackage,usb-net-sr9700))
 
 
+define KernelPackage/usb-net-sr9800
+  TITLE:=Support for CoreChip SR9800 ethernet devices
+  KCONFIG:=CONFIG_USB_NET_SR9800
+  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/sr9800.ko
+  AUTOLOAD:=$(call AutoProbe,sr9800)
+  $(call AddDepends/usb-net)
+endef
+
+define KernelPackage/usb-net-sr9800/description
+ Kernel module for CoreChip-sz SR9800 based USB 2.0 10/100 ethernet devices
+endef
+
+$(eval $(call KernelPackage,usb-net-sr9800))
+
+
 define KernelPackage/usb-net-rndis
   TITLE:=Support for RNDIS connections
   KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
1 Like

The patch looks good to me, once its functionality can be confirmed (it should work, you've added the necessary module dependencies), it would be ideal to add a short commit message and file it as a pull request or submit it do the mailing list.

1 Like

I've got one of those SR9800 USB 2.0 nics here.
I found the kmod for the SR9700 but not for the 9800.

If someone could build the kmod I would test and report happily.