diff options
author | nyan <nyan@FreeBSD.org> | 2005-05-14 10:14:56 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2005-05-14 10:14:56 +0000 |
commit | 7d8da118c14109f26643f2fb202d60d1c1b0f189 (patch) | |
tree | 8f8dfa32b717e024b13ab2d3e5a3409e35636eda /sys/i386/isa | |
parent | 8eefffbe8dcf6461ff80845af9b16fea1245e6b1 (diff) | |
download | FreeBSD-src-7d8da118c14109f26643f2fb202d60d1c1b0f189.zip FreeBSD-src-7d8da118c14109f26643f2fb202d60d1c1b0f189.tar.gz |
- Move bus dependent defines to {isa,cbus}_dmareg.h.
- Use isa/isareg.h rather than <arch>/isa/isa.h.
Tested on: i386, pc98
Diffstat (limited to 'sys/i386/isa')
-rw-r--r-- | sys/i386/isa/isa.h | 3 | ||||
-rw-r--r-- | sys/i386/isa/isa_dma.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/i386/isa/isa.h b/sys/i386/isa/isa.h index 3bce727..ac493b2 100644 --- a/sys/i386/isa/isa.h +++ b/sys/i386/isa/isa.h @@ -53,15 +53,12 @@ #define IO_ISABEGIN 0x000 /* 0x000 - Beginning of I/O Registers */ /* CPU Board */ -#define IO_DMA1 0x000 /* 8237A DMA Controller #1 */ #define IO_ICU1 0x020 /* 8259A Interrupt Controller #1 */ #define IO_PMP1 0x026 /* 82347 Power Management Peripheral */ #define IO_KBD 0x060 /* 8042 Keyboard */ #define IO_RTC 0x070 /* RTC */ #define IO_NMI IO_RTC /* NMI Control */ -#define IO_DMAPG 0x080 /* DMA Page Registers */ #define IO_ICU2 0x0A0 /* 8259A Interrupt Controller #2 */ -#define IO_DMA2 0x0C0 /* 8237A DMA Controller #2 */ /* Cards */ #define IO_VGA 0x3C0 /* E/VGA Ports */ diff --git a/sys/i386/isa/isa_dma.c b/sys/i386/isa/isa_dma.c index 074b7c6..ccfb9c5 100644 --- a/sys/i386/isa/isa_dma.c +++ b/sys/i386/isa/isa_dma.c @@ -57,9 +57,9 @@ __FBSDID("$FreeBSD$"); #include <vm/vm.h> #include <vm/vm_param.h> #include <vm/pmap.h> -#include <i386/isa/isa.h> -#include <dev/ic/i8237.h> +#include <isa/isareg.h> #include <isa/isavar.h> +#include <isa/isa_dmareg.h> static int isa_dmarangecheck(caddr_t va, u_int length, int chan); |