diff options
author | bde <bde@FreeBSD.org> | 1996-10-08 21:08:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-08 21:08:18 +0000 |
commit | f89fc380f7be70fcafd2061e642b9bf3987fde4f (patch) | |
tree | 0fd681cf25001d28b7be7159b1ddd91960820e00 /sys/amd64 | |
parent | 7a20be466ce08e4b62235ac5528bda8c2024d631 (diff) | |
download | FreeBSD-src-f89fc380f7be70fcafd2061e642b9bf3987fde4f.zip FreeBSD-src-f89fc380f7be70fcafd2061e642b9bf3987fde4f.tar.gz |
Fixed pessimized (short) i/o port types.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/isa/isa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/amd64/isa/isa.c b/sys/amd64/isa/isa.c index 0fa508e..ab77118 100644 --- a/sys/amd64/isa/isa.c +++ b/sys/amd64/isa/isa.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: isa.c,v 1.72 1996/09/06 23:07:45 phk Exp $ + * $Id: isa.c,v 1.73 1996/09/10 23:30:50 bde Exp $ */ /* @@ -516,8 +516,7 @@ static u_int8_t dma_inuse = 0; /* User for acquire/release */ #define VALID_DMA_MASK (7) /* high byte of address is stored in this port for i-th dma channel */ -static short dmapageport[8] = - { 0x87, 0x83, 0x81, 0x82, 0x8f, 0x8b, 0x89, 0x8a }; +static int dmapageport[8] = { 0x87, 0x83, 0x81, 0x82, 0x8f, 0x8b, 0x89, 0x8a }; /* * Setup a DMA channel's bounce buffer. |