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/dev/ic | |
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/dev/ic')
-rw-r--r-- | sys/dev/ic/i8237.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/dev/ic/i8237.h b/sys/dev/ic/i8237.h index bdda9fa..5d4b3f4 100644 --- a/sys/dev/ic/i8237.h +++ b/sys/dev/ic/i8237.h @@ -9,26 +9,3 @@ #define DMA37MD_AUTO 0x50 /* autoinitialise single pass mode */ #define DMA37MD_WRITE 0x04 /* read the device, write memory operation */ #define DMA37MD_READ 0x08 /* write the device, read memory operation */ - -#ifndef PC98 -/* -** Register definitions for DMA controller 1 (channels 0..3): -*/ -#define DMA1_CHN(c) (IO_DMA1 + 1*(2*(c))) /* addr reg for channel c */ -#define DMA1_STATUS (IO_DMA1 + 1*8) /* status register */ -#define DMA1_SMSK (IO_DMA1 + 1*10) /* single mask register */ -#define DMA1_MODE (IO_DMA1 + 1*11) /* mode register */ -#define DMA1_FFC (IO_DMA1 + 1*12) /* clear first/last FF */ -#define DMA1_RESET (IO_DMA1 + 1*13) /* reset */ - -/* -** Register definitions for DMA controller 2 (channels 4..7): -*/ -#define DMA2_CHN(c) (IO_DMA2 + 2*(2*(c))) /* addr reg for channel c */ -#define DMA2_STATUS (IO_DMA2 + 2*8) /* status register */ -#define DMA2_SMSK (IO_DMA2 + 2*10) /* single mask register */ -#define DMA2_MODE (IO_DMA2 + 2*11) /* mode register */ -#define DMA2_FFC (IO_DMA2 + 2*12) /* clear first/last FF */ -#define DMA2_RESET (IO_DMA2 + 2*13) /* reset */ -#endif - |