On 7/11/26 6:08 PM, Jonas Karlman wrote:
The ASIX AX88179A, AX88772D and AX88279 USB Ethernet controller
revisions has both CDC ECM and CDC NCM support.
AX88179: 0b95:1790 1.00
AX88179A: 0b95:1790 2.00
AX88772D: 0b95:1790 3.00
AX88279: 0b95:1790 4.00
Prefer using the CDC NCM or CDC ECM driver for the 2.00-4.00 version
range of the 0b95:1790 ASIX USB Ethernet controllers.
Why this specific range ?
[...]
+++ b/drivers/usb/eth/asix88179.c
@@ -691,7 +691,12 @@ U_BOOT_DRIVER(ax88179_eth) = {
};
static const struct usb_device_id ax88179_eth_id_table[] = {
+#if IS_ENABLED(CONFIG_USB_ETHER_CDC_ECM) ||
IS_ENABLED(CONFIG_USB_ETHER_CDC_NCM)
This is USB, this should be auto-detected without any need for ifdeffery.
+ { USB_DEVICE_VER(0x0b95, 0x1790, 0, 0x0100),
+ .driver_info = FLAG_TYPE_AX88179 },
+#else
{ USB_DEVICE(0x0b95, 0x1790), .driver_info = FLAG_TYPE_AX88179 },
+#endif
{ USB_DEVICE(0x0b95, 0x178a), .driver_info = FLAG_TYPE_AX88178a },
[...]
I recall there was some USB URB size limit on this ASIX USB MAC, was
that ever sorted out ?