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.36 (requested by bouyer):



details:   https://anonhg.NetBSD.org/src/rev/cb25c13fd1a6
branches:  netbsd-1-5
changeset: 490467:cb25c13fd1a6
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Sun Dec 31 20:15:01 2000 +0000

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

diffstat:

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

diffs (21 lines):

diff -r eea6895ef5b9 -r cb25c13fd1a6 sys/dev/ic/smc83c170.c
--- a/sys/dev/ic/smc83c170.c    Sun Dec 31 20:14:57 2000 +0000
+++ b/sys/dev/ic/smc83c170.c    Sun Dec 31 20:15:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smc83c170.c,v 1.32.4.1 2000/11/09 23:16:23 tv Exp $    */
+/*     $NetBSD: smc83c170.c,v 1.32.4.2 2000/12/31 20:15:01 jhawk Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -255,6 +255,11 @@
        ifp->if_watchdog = epic_watchdog;
 
        /*
+        * We can support 802.1Q VLAN-sized frames.
+        */
+       sc->sc_ethercom.ec_capabilities |= ETHERCAP_VLAN_MTU;
+
+       /*
         * Attach the interface.
         */
        if_attach(ifp);



Home | Main Index | Thread Index | Old Index