Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic The ETHERCAP_VLAN_HWTAGGING flag is not a member ...
details: https://anonhg.NetBSD.org/src/rev/d2888453327a
branches: trunk
changeset: 756695:d2888453327a
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Jul 28 23:30:21 2010 +0000
description:
The ETHERCAP_VLAN_HWTAGGING flag is not a member of if_cap but ec_cap,
so fix it.
diffstat:
sys/dev/ic/rtl8169.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f5ab2eede918 -r d2888453327a sys/dev/ic/rtl8169.c
--- a/sys/dev/ic/rtl8169.c Wed Jul 28 22:35:52 2010 +0000
+++ b/sys/dev/ic/rtl8169.c Wed Jul 28 23:30:21 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl8169.c,v 1.132 2010/07/27 21:02:00 jakllsch Exp $ */
+/* $NetBSD: rtl8169.c,v 1.133 2010/07/28 23:30:21 msaitoh Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.132 2010/07/27 21:02:00 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.133 2010/07/28 23:30:21 msaitoh Exp $");
/* $FreeBSD: /repoman/r/ncvs/src/sys/dev/re/if_re.c,v 1.20 2004/04/11 20:34:08 ru Exp $ */
/*
@@ -1742,7 +1742,7 @@
if ((sc->sc_quirk & RTKQ_8169NONS) != 0)
cfg |= (0x1 << 14);
- if ((ifp->if_capenable & ETHERCAP_VLAN_HWTAGGING) != 0)
+ if ((sc->ethercom.ec_capenable & ETHERCAP_VLAN_HWTAGGING) != 0)
cfg |= RE_CPLUSCMD_VLANSTRIP;
if ((ifp->if_capenable & (IFCAP_CSUM_IPv4_Rx |
IFCAP_CSUM_TCPv4_Rx | IFCAP_CSUM_UDPv4_Rx)) != 0)
Home |
Main Index |
Thread Index |
Old Index