summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2011-08-26 07:49:05 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2011-08-26 07:49:05 +0000
commit988dd08ab383e65929d7c070b77b101df93f32e5 (patch)
tree00faffc63611ba026a41543518997a0875c248b1
parentc6e077c7e682dab0c4f6149073271cee55087710 (diff)
Move the comment outside of the VLAN section of code and above that
chunk to where it should be. From Brad
-rw-r--r--sys/dev/pci/if_alc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_alc.c b/sys/dev/pci/if_alc.c
index b1c03400458..2efda29788d 100644
--- a/sys/dev/pci/if_alc.c
+++ b/sys/dev/pci/if_alc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_alc.c,v 1.16 2011/08/21 15:25:20 kevlo Exp $ */
+/* $OpenBSD: if_alc.c,v 1.17 2011/08/26 07:49:04 kevlo Exp $ */
/*-
* Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -1996,11 +1996,11 @@ alc_rxeof(struct alc_softc *sc, struct rx_rdesc *rrd)
} else
m->m_len = m->m_pkthdr.len;
m->m_pkthdr.rcvif = ifp;
-#if NVLAN > 0
/*
* Due to hardware bugs, Rx checksum offloading
* was intentionally disabled.
*/
+#if NVLAN > 0
if (status & RRD_VLAN_TAG) {
u_int32_t vtag = RRD_VLAN(letoh32(rrd->vtag));
m->m_pkthdr.ether_vtag = ntohs(vtag);