On Mon, Apr 24, 2023 at 05:32:28AM -0600, bent...@openbsd.org wrote:
> Hi,
> 
> The AX88179A, which has the same product ID as AX88179, shows up as axen(4),
> but doesn't work:
> 
> "axen0: invalid buffer(pkt#1), continue"
> https://marc.info/?l=openbsd-bugs&m=164832882524713&w=2
> 
> gerhard@ sent a diff in that thread that checks the revision and makes
> this device fall back to cdce(4). It's gotten a couple of positive test
> reports, and works on my device as well (Steam Deck Dock). A downside is
> that cdce(4) leaves performance on the table. A CDC/NCM interface could
> be better, but there's no driver for it.
> 
> In their current state, these devices have zero performance. Given that,
> does it make sense to commit this diff?

I am fine with this approach, ok by me.

There is public GPL source code for a Linux driver on the vendor page:
https://www.asix.com.tw/en/product/USBEthernet/Super-Speed_USB_Ethernet/AX88179A
Click the link under "Linux kernel 5.x/4.x/3.x/2.6.x Driver" and you should get
a file called ASIX_USB_NIC_Linux_Driver_Source_v1.1.0.tar.bz2 which contains
the equivalent of our axen(4) driver with extra code to support your device
in ax88179a_772d.{c,h}. If someone eventually adds support to our axen(4)
and then we can flip this device back from cdce(4) to axen(4).

Reply via email to