summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-10-01 13:49:51 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-10-01 13:49:51 +0000
commit7d312caaa8cd3e81561397cdc4eb6492e06a484f (patch)
tree023a56eedf805b3e01e631f3457f6eb4ea41eca7 /sys/dev/pci
parentd4d9863bea0597d4a984f4dee7b06d8911ae6f5c (diff)
fix some comments and put if_devar.h include where it belongs
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_de.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 46bdf1c64ee..ddf4e9455b5 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.84 2005/09/25 18:13:16 brad Exp $ */
+/* $OpenBSD: if_de.c,v 1.85 2005/10/01 13:49:50 martin Exp $ */
/* $NetBSD: if_de.c,v 1.58 1998/01/12 09:39:58 thorpej Exp $ */
/*-
@@ -78,6 +78,7 @@
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
+#include <dev/pci/if_devar.h>
#include <dev/ic/dc21040reg.h>
/*
@@ -88,7 +89,7 @@
#endif
/*
- * This turns on all sort of debugging stuff and make the
+ * This turns on all sort of debugging stuff and makes the
* driver much larger.
*/
#if 0
@@ -135,7 +136,6 @@
(sc)->tulip_pci_devno = pa->pa_device; \
} while (0)
-#include <dev/pci/if_devar.h>
/*
* This module supports
* the DEC 21040 PCI Ethernet Controller.
@@ -695,7 +695,7 @@ tulip_media_poll(
}
/*
- * switch to another media if we tried this one enough.
+ * Switch to another media if we tried this one enough.
*/
if (/* event == TULIP_MEDIAPOLL_TXPROBE_FAILED || */ sc->tulip_probe_timeout <= 0) {
#if defined(TULIP_DEBUG)
@@ -4196,9 +4196,9 @@ tulip_ifioctl(
}
/*
- * the original dequeueing policy is dequeue-and-prepend if something
- * goes wrong. when altq is used, it is changed to peek-and-dequeue.
- * the modification becomes a bit complicated since tulip_txput() might
+ * The original dequeueing policy is dequeue-and-prepend if something
+ * goes wrong. When altq is used, it is changed to peek-and-dequeue.
+ * The modification becomes a bit complicated since tulip_txput() might
* copy and modify the mbuf passed.
*/
/*