summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-03-22 01:38:55 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-03-22 01:38:55 +0000
commita55cba1a5d4ffb357d5ceefa36c38b62c0f7f204 (patch)
tree3c2d44994d4c09290256c655793cbe2c19a8dba0 /sys/dev
parent57bd5198fa3ab9cedbb0d1461c6779802902c637 (diff)
Reformat comment.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/fxp.c5
-rw-r--r--sys/dev/pci/if_tx.c9
2 files changed, 9 insertions, 5 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c
index e6f3e4a125b..cc5a8fb3769 100644
--- a/sys/dev/ic/fxp.c
+++ b/sys/dev/ic/fxp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fxp.c,v 1.11 2001/02/20 19:39:38 mickey Exp $ */
+/* $OpenBSD: fxp.c,v 1.12 2001/03/22 01:38:05 angelos Exp $ */
/* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */
/*
@@ -665,7 +665,8 @@ tbdinit:
/*
* We ran out of segments. We have to recopy this mbuf
- * chain first. Bail out if we can't get the new buffers.
+ * chain first. Bail out if we can't get the new
+ * buffers.
*/
MGETHDR(mn, M_DONTWAIT, MT_DATA);
if (mn == NULL) {
diff --git a/sys/dev/pci/if_tx.c b/sys/dev/pci/if_tx.c
index e0dd9eeb05e..ae978d24e1e 100644
--- a/sys/dev/pci/if_tx.c
+++ b/sys/dev/pci/if_tx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tx.c,v 1.13 2001/02/23 22:59:09 jason Exp $ */
+/* $OpenBSD: if_tx.c,v 1.14 2001/03/22 01:38:54 angelos Exp $ */
/* $FreeBSD: src/sys/pci/if_tx.c,v 1.45 2001/02/07 20:11:02 semenu Exp $ */
/*-
@@ -926,8 +926,11 @@ epic_rx_done(sc)
/* Point to new mbuf, and give descriptor to chip */
desc->bufaddr = vtophys( mtod( buf->mbuf, caddr_t ) );
desc->status = 0x8000;
-
- /* First mbuf in packet holds the ethernet and packet headers */
+
+ /*
+ * First mbuf in packet holds the ethernet and
+ * packet headers.
+ */
eh = mtod( m, struct ether_header * );
m->m_pkthdr.rcvif = &(sc->sc_if);
m->m_pkthdr.len = m->m_len = len;