Support ETHERCAP_VLAN_MTU. It seems the chip doesn't check the frame size.
Tested with a NetVin 5000 and a WD8013EBT.
This commit is contained in:
parent
5dea32f506
commit
5cc13a273b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dp8390.c,v 1.38 2000/10/01 23:32:41 thorpej Exp $ */
|
||||
/* $NetBSD: dp8390.c,v 1.39 2000/10/17 16:14:42 bouyer Exp $ */
|
||||
|
||||
/*
|
||||
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
|
||||
@ -144,6 +144,11 @@ dp8390_config(sc, media, nmedia, defmedia)
|
||||
ifmedia_set(&sc->sc_media, IFM_ETHER|IFM_MANUAL);
|
||||
}
|
||||
|
||||
/*
|
||||
* We can support 802.1Q VLAN-sized frames.
|
||||
*/
|
||||
sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU;
|
||||
|
||||
/* Attach the interface. */
|
||||
if_attach(ifp);
|
||||
ether_ifattach(ifp, sc->sc_enaddr);
|
||||
|
Loading…
Reference in New Issue
Block a user