tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: axen
On 08/08/2023 16:55, Robert Swindells wrote:
Nick Hudson <nick.hudson%gmx.co.uk@localhost> wrote:
On 04/08/2023 18:52, Robert Swindells wrote:
Has anyone used axen(4) recently?
I needed to make some changes to get it to work for a USB-C Ethernet
adapter but would like to know if the driver in the tree works for any
older devices.
thunderx# dmesg | egrep "(NetBSD 10|axen)"
[ 1.000000] NetBSD 10.99.4 (GENERIC64) #138: Thu Apr 27 18:33:42 BST
2023
[ 4.320147] axen0 at uhub6 port 3
[ 4.320147] axen0: ASIX Elec. Corp. (0x0b95) AX88179 (0x1790), rev
3.00/1.00, addr 4
[ 4.819877] axen0: AX88179
[ 4.819877] rgephy0 at axen0 phy 3: RTL8211E 1000BASE-T media interface
[ 4.889879] axen0: Ethernet address 00:13:3b:79:92:71
thunderx#
What kind of USB port is that connected to?
port 3 addr 3: super speed, power 124 mA, config 1, AX88179(0x1790),
ASIX Elec. Corp.(0x0b95), rev 1.00(0x0100), serial 0000133B799271
The driver currently defaults to the smallest buffer size if the device
is on a speed 5 (USB_SPEED_SUPER_PLUS) port.
The diffs that I'm using are attached, can try moving the check in #if 0
to after the check for 'pkt_len == 0'.
It doesn't work for me at all without the change to the length argument
to usbnet_enqueue().
Network is broken (can't ssh into host) and I get these
[ 61.0568368] axen0: discarding oversize frame (len=1518)
[ 61.0768365] axen0: discarding oversize frame (len=1518)
[ 63.7768881] axen0: discarding oversize frame (len=1518)
[ 67.5569789] axen0: discarding oversize frame (len=1518)
I didn't investigate why
Nick
Home |
Main Index |
Thread Index |
Old Index