diff options
| author | bouyer <bouyer@NetBSD.org> | 2000-10-17 16:14:42 +0000 |
|---|---|---|
| committer | bouyer <bouyer@NetBSD.org> | 2000-10-17 16:14:42 +0000 |
| commit | 5cc13a273bc4bbf7572dd8fe5b13afac1dfec43b (patch) | |
| tree | 98e310b625cf1ecb8fee9896b12e15b99ab20cfd /sys/dev | |
| parent | 5dea32f506a49ffc0b56af2bff54d7f24638210e (diff) | |
Support ETHERCAP_VLAN_MTU. It seems the chip doesn't check the frame size.
Tested with a NetVin 5000 and a WD8013EBT.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/dp8390.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c index 181d8b4dcc8..d1f9a116bdc 100644 --- a/sys/dev/ic/dp8390.c +++ b/sys/dev/ic/dp8390.c @@ -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); |
