From a066e36eb198e999b1c9c056270d95ec578e1bfe Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 14 Oct 2008 11:45:41 +0000 Subject: remove C99/C++ style comments --- sys/dev/pci/if_jme.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'sys') 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 * 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); -- cgit v1.2.3