Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Put the headers in a more standard order with ma...
details: https://anonhg.NetBSD.org/src/rev/363177925bc5
branches: trunk
changeset: 573207:363177925bc5
user: briggs <briggs%NetBSD.org@localhost>
date: Sat Jan 22 04:34:22 2005 +0000
description:
Put the headers in a more standard order with machine-specific and
dev/bus-specific headers after the sys and net headers. This allows
it to actually compile on macppc, among other things.
diffstat:
sys/dev/pci/if_re_pci.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (38 lines):
diff -r e5b57f02dd64 -r 363177925bc5 sys/dev/pci/if_re_pci.c
--- a/sys/dev/pci/if_re_pci.c Sat Jan 22 03:35:38 2005 +0000
+++ b/sys/dev/pci/if_re_pci.c Sat Jan 22 04:34:22 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_re_pci.c,v 1.4 2005/01/18 11:11:58 yamt Exp $ */
+/* $NetBSD: if_re_pci.c,v 1.5 2005/01/22 04:34:22 briggs Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -50,12 +50,6 @@
#include <sys/types.h>
-#include <machine/bus.h>
-
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcivar.h>
-#include <dev/pci/pcidevs.h>
-
#include <sys/param.h>
#include <sys/endian.h>
#include <sys/systm.h>
@@ -73,9 +67,15 @@
#include <net/if_media.h>
#include <net/if_vlanvar.h>
+#include <machine/bus.h>
+
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcidevs.h>
+
/*
* Default to using PIO access for this driver.
*/
Home |
Main Index |
Thread Index |
Old Index