summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2008-10-14 11:45:41 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2008-10-14 11:45:41 +0000
commita066e36eb198e999b1c9c056270d95ec578e1bfe (patch)
tree5fc54c02edea7ff38d98e908315657f302941d12 /sys
parent352f8ba9fef4f9f68f47fb5db45d38b3ce31e492 (diff)
remove C99/C++ style comments
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_jme.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/pci/if_jme.c b/sys/dev/pci/if_jme.c
index 96337c3d4d5..b7b0c9d1e40 100644
--- a/sys/dev/pci/if_jme.c
+++ b/sys/dev/pci/if_jme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_jme.c,v 1.5 2008/10/14 11:41:47 jsg Exp $ */
+/* $OpenBSD: if_jme.c,v 1.6 2008/10/14 11:45:40 jsg Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -79,8 +79,6 @@
/* Define the following to disable printing Rx errors. */
#undef JME_SHOW_ERRORS
-//#define JME_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP)
-
int jme_match(struct device *, void *, void *);
void jme_attach(struct device *, struct device *, void *);
int jme_detach(struct device *, int);
@@ -493,9 +491,7 @@ jme_attach(struct device *parent, struct device *self, void *aux)
struct ifnet *ifp;
uint32_t reg;
-// uint8_t pcie_ptr;
int error = 0;
-// uint8_t eaddr[ETHER_ADDR_LEN];
/*
* Allocate IO memory
@@ -1235,7 +1231,6 @@ jme_start(struct ifnet *ifp)
ifp->if_oerrors++;
break;
}
-// ifq_prepend(&ifp->if_snd, m_head);
ifp->if_flags |= IFF_OACTIVE;
break;
}
@@ -2294,7 +2289,7 @@ jme_newbuf(struct jme_softc *sc, struct jme_rxdesc *rxd, int init)
void
jme_set_vlan(struct jme_softc *sc)
{
-// struct ifnet *ifp = &sc->sc_arpcom.ac_if;
+/* struct ifnet *ifp = &sc->sc_arpcom.ac_if; */
uint32_t reg;
reg = CSR_READ_4(sc, JME_RXMAC);