Hi,

I own this old USB ethernet controller:

aue0 at uhub9 port 5 configuration 1 interface 0 "ADMtek USB To LAN Converter" 
rev 2.00/1.01 addr 4
aue0: address 00:05:1b:b2:96:02
ukphy0 at aue0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x000749, model 0x0001

This works:

doas ifconfig vlan67 mtu 1496

this doesn't:

doas ifconfig vlan67 mtu 1497


Should we therefore disable VLAN_MTU on this chipset?


Christopher



Index: if_aue.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_aue.c,v
retrieving revision 1.109
diff -u -p -r1.109 if_aue.c
--- if_aue.c    2 Oct 2018 19:49:10 -0000       1.109
+++ if_aue.c    4 Jul 2019 18:25:06 -0000
@@ -781,8 +781,6 @@ aue_attach(struct device *parent, struct
        ifp->if_watchdog = aue_watchdog;
        strlcpy(ifp->if_xname, sc->aue_dev.dv_xname, IFNAMSIZ);
 
-       ifp->if_capabilities = IFCAP_VLAN_MTU;
-
        /* Initialize MII/media info. */
        mii = &sc->aue_mii;
        mii->mii_ifp = ifp;


-- 
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
CB07 DA40 B0B6 571D 35E2  0DEF 87E2 92A7 13E5 DEE1

Attachment: pgphJJK9uAJdt.pgp
Description: OpenPGP digital signature

Reply via email to