From: bluhm Date: Wed, 8 Jan 2014 22:24:35 +0000 (+0000) Subject: Fix typo recieve -> receive. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=842d3fbe19e95c966c479160a7a48b06d6e8789b;p=openbsd Fix typo recieve -> receive. OK sf@ --- diff --git a/sys/dev/pci/if_vio.c b/sys/dev/pci/if_vio.c index 02bf74c9a3a..ef89bb104e0 100644 --- a/sys/dev/pci/if_vio.c +++ b/sys/dev/pci/if_vio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vio.c,v 1.13 2013/05/12 17:10:57 sf Exp $ */ +/* $OpenBSD: if_vio.c,v 1.14 2014/01/08 22:24:35 bluhm Exp $ */ /* * Copyright (c) 2012 Stefan Fritsch, Alexander Fiveg. @@ -368,9 +368,9 @@ vio_free_dmamem(struct vio_softc *sc) */ /* * dynamically allocated memory is used for: - * sc_rx_dmamaps[slot]: bus_dmamap_t array for recieved payload + * sc_rx_dmamaps[slot]: bus_dmamap_t array for received payload * sc_tx_dmamaps[slot]: bus_dmamap_t array for sent payload - * sc_rx_mbufs[slot]: mbuf pointer array for recieved frames + * sc_rx_mbufs[slot]: mbuf pointer array for received frames * sc_tx_mbufs[slot]: mbuf pointer array for sent frames */ int @@ -860,7 +860,7 @@ vio_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) /* * Recieve implementation */ -/* allocate and initialize a mbuf for recieve */ +/* allocate and initialize a mbuf for receive */ int vio_add_rx_mbuf(struct vio_softc *sc, int i) { @@ -883,7 +883,7 @@ vio_add_rx_mbuf(struct vio_softc *sc, int i) return 0; } -/* free a mbuf for recieve */ +/* free a mbuf for receive */ void vio_free_rx_mbuf(struct vio_softc *sc, int i) { @@ -892,7 +892,7 @@ vio_free_rx_mbuf(struct vio_softc *sc, int i) sc->sc_rx_mbufs[i] = NULL; } -/* add mbufs for all the empty recieve slots */ +/* add mbufs for all the empty receive slots */ void vio_populate_rx_mbufs(struct vio_softc *sc) { @@ -943,7 +943,7 @@ vio_populate_rx_mbufs(struct vio_softc *sc) virtio_notify(vsc, vq); } -/* dequeue recieved packets */ +/* dequeue received packets */ int vio_rxeof(struct vio_softc *sc) { diff --git a/sys/dev/usb/if_axenreg.h b/sys/dev/usb/if_axenreg.h index 966a85253b6..d5f9428873a 100644 --- a/sys/dev/usb/if_axenreg.h +++ b/sys/dev/usb/if_axenreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axenreg.h,v 1.2 2013/11/26 20:33:18 deraadt Exp $ */ +/* $OpenBSD: if_axenreg.h,v 1.3 2014/01/08 22:24:35 bluhm Exp $ */ /* * Copyright (c) 2013 Yojiro UO . All right reserved. @@ -20,7 +20,7 @@ #define AXEN_REV_UA2 1 -/* recieve header */ +/* receive header */ /* * +-multicast/broadcast * | +-rx_ok