diff options
author | 2007-09-19 07:29:04 +0000 | |
---|---|---|
committer | 2007-09-19 07:29:04 +0000 | |
commit | bd45ae65e0310d080a7212b24862a7240644b1a1 (patch) | |
tree | 7c235e70a8384f1ff88c91d34437545334f83b65 | |
parent | In ex_rx_intr() allocate an mbuf cluster if the pkt_len is >= MINCLSIZE. (diff) | |
download | wireguard-openbsd-bd45ae65e0310d080a7212b24862a7240644b1a1.tar.xz wireguard-openbsd-bd45ae65e0310d080a7212b24862a7240644b1a1.zip |
a little more cleaning. removing some useless comments.
ok dlg@
-rw-r--r-- | sys/dev/isa/if_ex.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c index 5d481360360..dd4d7ac78cd 100644 --- a/sys/dev/isa/if_ex.c +++ b/sys/dev/isa/if_ex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ex.c,v 1.25 2007/09/19 07:11:18 brad Exp $ */ +/* $OpenBSD: if_ex.c,v 1.26 2007/09/19 07:29:04 brad Exp $ */ /* * Copyright (c) 1997, Donald A. Schmidt * Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es) @@ -121,7 +121,6 @@ int ex_intr(void *); void ex_tx_intr(struct ex_softc *); void ex_rx_intr(struct ex_softc *); - struct cfattach ex_ca = { sizeof(struct ex_softc), ex_probe, ex_attach }; @@ -251,15 +250,8 @@ ex_attach(struct device *parent, struct device *self, void *aux) struct isa_attach_args *ia = aux; struct ifnet *ifp = &sc->arpcom.ac_if; - /* struct ifaddr *ifa; XXX what are these for? */ - /* struct sockaddr_dl *sdl; */ - DODEBUG(Start_End, printf("ex_attach: start\n");); - /* - * Initialize the ifnet structure. - - */ ifp->if_softc = sc; bcopy(self->dv_xname, ifp->if_xname, IFNAMSIZ); ifp->if_start = ex_start; @@ -269,9 +261,6 @@ ex_attach(struct device *parent, struct device *self, void *aux) | IFF_MULTICAST */ IFQ_SET_READY(&ifp->if_snd); - /* - * Attach the interface. - */ if_attach(ifp); ether_ifattach(ifp); printf(": address %s, connecter ", |