Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/ic Pull up revision 1.39 (requested by bouyer):



details:   https://anonhg.NetBSD.org/src/rev/b587f712be46
branches:  netbsd-1-5
changeset: 490462:b587f712be46
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Sun Dec 31 20:14:43 2000 +0000

description:
Pull up revision 1.39 (requested by bouyer):
        Add support for 802.1Q virtual LANs.

diffstat:

 sys/dev/ic/dp8390.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 114592da4cec -r b587f712be46 sys/dev/ic/dp8390.c
--- a/sys/dev/ic/dp8390.c       Sun Dec 31 20:14:39 2000 +0000
+++ b/sys/dev/ic/dp8390.c       Sun Dec 31 20:14:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dp8390.c,v 1.37 2000/05/29 17:37:12 jhawk Exp $        */
+/*     $NetBSD: dp8390.c,v 1.37.2.1 2000/12/31 20:14:43 jhawk Exp $    */
 
 /*
  * Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@@ -144,6 +144,11 @@
                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);



Home | Main Index | Thread Index | Old Index