summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2004-11-19 22:38:13 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2004-11-19 22:38:13 +0000
commitfbaee138fbdc01166e48e4e4214465bb51fa9be0 (patch)
tree07f7aa915d231197dd5f987b85b4a583ba47d60d /sys/dev/usb
parent8b4fbc570dc68077c28460de25474124fdc4231b (diff)
cleanup includes
ok deraadt@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_atu.c55
1 files changed, 22 insertions, 33 deletions
diff --git a/sys/dev/usb/if_atu.c b/sys/dev/usb/if_atu.c
index baad2f0f0f2..f6f5e699931 100644
--- a/sys/dev/usb/if_atu.c
+++ b/sys/dev/usb/if_atu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atu.c,v 1.18 2004/11/17 14:13:47 deraadt Exp $ */
+/* $OpenBSD: if_atu.c,v 1.19 2004/11/19 22:38:12 dlg Exp $ */
/*
* Copyright (c) 2003, 2004
* Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved.
@@ -45,57 +45,46 @@
* Ported to OpenBSD by Theo de Raadt and David Gwynne.
*/
+#include "bpfilter.h"
+
#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/lock.h>
+#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/kernel.h>
-#include <sys/proc.h>
#include <sys/socket.h>
-#include <sys/device.h>
-
-#include <sys/sockio.h>
+#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
-
-#include <net/if.h>
-#include <net/if_arp.h>
-#include <net/if_dl.h>
-#include <net/if_media.h>
-
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#include <netinet/if_ether.h>
-
-#include "bpfilter.h"
-#define BPF_MTAP(ifp, m) bpf_mtap((ifp)->if_bpf, (m))
-#if NBPFILTER > 0
-#include <net/bpf.h>
-#endif
-
-#include <sys/ucred.h>
#include <sys/kthread.h>
#include <sys/queue.h>
+#include <sys/device.h>
+
#include <machine/bus.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
#include <dev/usb/usbdi_util.h>
#include <dev/usb/usbdivar.h>
-#if 0
-#include <dev/usb/usb_ethersubr.h>
-#endif
#include <dev/usb/usbdevs.h>
+#if NBPFILTER > 0
+#define BPF_MTAP(ifp, m) bpf_mtap((ifp)->if_bpf, (m))
+#include <net/bpf.h>
+#endif
+
+#include <net/if.h>
+#include <net/if_dl.h>
+#include <net/if_media.h>
+
+#ifdef INET
+#include <netinet/in.h>
+#include <netinet/if_ether.h>
+#endif
+
#include <dev/ic/if_wi_ieee.h>
-#include <net80211/ieee80211.h>
-#include <net80211/ieee80211_ioctl.h>
-#include <net80211/ieee80211_radiotap.h>
#include <net80211/ieee80211_var.h>
+#include <net80211/ieee80211_radiotap.h>
#ifdef USB_DEBUG
#define ATU_DEBUG