diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-10-17 17:42:02 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-10-17 17:42:02 +0000 |
commit | 4bd07aa2e8e421555e7e2b4188e51d9a85f9e617 (patch) | |
tree | 20e346928a7a7cc97a7b6aabc4ed631603a10a72 /sys/dev/pci/pciide.c | |
parent | 52b1b1566641b6f310dae0004036cffde576032e (diff) |
Small includes cleanup: explicit bus.h inclusion, add satareg.h and
reorder a bit.
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r-- | sys/dev/pci/pciide.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 7dcd437bc54..733031b4dbd 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.170 2004/09/15 17:53:18 grange Exp $ */ +/* $OpenBSD: pciide.c,v 1.171 2004/10/17 17:42:01 grange Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -96,8 +96,14 @@ int wdcdebug_pciide_mask = WDCDEBUG_PCIIDE_MASK; #include <sys/device.h> #include <sys/malloc.h> +#include <machine/bus.h> #include <machine/endian.h> +#include <dev/ata/atavar.h> +#include <dev/ata/satareg.h> +#include <dev/ic/wdcreg.h> +#include <dev/ic/wdcvar.h> + #include <dev/pci/pcireg.h> #include <dev/pci/pcivar.h> #include <dev/pci/pcidevs.h> @@ -121,10 +127,6 @@ int wdcdebug_pciide_mask = WDCDEBUG_PCIIDE_MASK; #include <dev/pci/pciide_ite_reg.h> #include <dev/pci/cy82c693var.h> -#include <dev/ata/atavar.h> -#include <dev/ic/wdcreg.h> -#include <dev/ic/wdcvar.h> - /* inlines for reading/writing 8-bit PCI registers */ static __inline u_int8_t pciide_pci_read(pci_chipset_tag_t, pcitag_t, int); |