summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-02-14 13:11:36 +0000
committerglebius <glebius@FreeBSD.org>2006-02-14 13:11:36 +0000
commit9b5155fc0bd61bf208e6fe0152aef327e8221099 (patch)
treec11cde689ac694170a3bee01ba2b4330feb2a9e3 /sys/dev
parenta3483ac2d7eb6c19372be10483ab7c4303909e84 (diff)
downloadFreeBSD-src-9b5155fc0bd61bf208e6fe0152aef327e8221099.zip
FreeBSD-src-9b5155fc0bd61bf208e6fe0152aef327e8221099.tar.gz
Move includes from if_em.h to if_em.c and sort them.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/em/if_em.c37
-rw-r--r--sys/dev/em/if_em.h40
2 files changed, 37 insertions, 40 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 2857d0e..878f960 100644
--- a/sys/dev/em/if_em.c
+++ b/sys/dev/em/if_em.c
@@ -37,6 +37,43 @@ POSSIBILITY OF SUCH DAMAGE.
#include "opt_device_polling.h"
#endif
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/bus.h>
+#include <sys/endian.h>
+#include <sys/kernel.h>
+#include <sys/kthread.h>
+#include <sys/malloc.h>
+#include <sys/mbuf.h>
+#include <sys/module.h>
+#include <sys/rman.h>
+#include <sys/socket.h>
+#include <sys/sockio.h>
+#include <sys/sysctl.h>
+#include <sys/taskqueue.h>
+
+#include <machine/bus.h>
+#include <machine/resource.h>
+
+#include <net/bpf.h>
+#include <net/ethernet.h>
+#include <net/if.h>
+#include <net/if_arp.h>
+#include <net/if_dl.h>
+#include <net/if_media.h>
+
+#include <net/if_types.h>
+#include <net/if_vlan_var.h>
+
+#include <netinet/in_systm.h>
+#include <netinet/in.h>
+#include <netinet/ip.h>
+#include <netinet/tcp.h>
+#include <netinet/udp.h>
+
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/em/if_em_hw.h>
#include <dev/em/if_em.h>
/*********************************************************************
diff --git a/sys/dev/em/if_em.h b/sys/dev/em/if_em.h
index 6038034..f52292d 100644
--- a/sys/dev/em/if_em.h
+++ b/sys/dev/em/if_em.h
@@ -36,46 +36,6 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef _EM_H_DEFINED_
#define _EM_H_DEFINED_
-
-#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/bus.h>
-#include <sys/endian.h>
-#include <sys/kernel.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/module.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/sysctl.h>
-#include <sys/taskqueue.h>
-#include <sys/kthread.h>
-
-#include <machine/bus.h>
-#include <sys/rman.h>
-#include <machine/resource.h>
-
-#include <net/bpf.h>
-#include <net/ethernet.h>
-#include <net/if.h>
-#include <net/if_arp.h>
-#include <net/if_dl.h>
-#include <net/if_media.h>
-
-#include <net/if_types.h>
-#include <net/if_vlan_var.h>
-
-#include <netinet/in_systm.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <netinet/tcp.h>
-#include <netinet/udp.h>
-
-#include <dev/pci/pcivar.h>
-#include <dev/pci/pcireg.h>
-
-#include <dev/em/if_em_hw.h>
-
/* Tunables */
/*
OpenPOWER on IntegriCloud