diff options
author | nyan <nyan@FreeBSD.org> | 1999-11-13 14:09:08 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 1999-11-13 14:09:08 +0000 |
commit | a789052c0619737254c0ab2afae0f5fff1663dcf (patch) | |
tree | 0423930d14704dd6703fa1e872b74858de19761e /sys | |
parent | f28a6e0fa2a9b849463da15f807dcb2c84cdc93e (diff) | |
download | FreeBSD-src-a789052c0619737254c0ab2afae0f5fff1663dcf.zip FreeBSD-src-a789052c0619737254c0ab2afae0f5fff1663dcf.tar.gz |
Fixed the size of array.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/cbus/cbus_dma.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/isa_dma.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/cbus/cbus_dma.c b/sys/pc98/cbus/cbus_dma.c index 1057394..1866acd 100644 --- a/sys/pc98/cbus/cbus_dma.c +++ b/sys/pc98/cbus/cbus_dma.c @@ -114,7 +114,7 @@ static u_int8_t dma_auto_mode = 0; /* high byte of address is stored in this port for i-th dma channel */ #ifdef PC98 -static int dmapageport[8] = { 0x27, 0x21, 0x23, 0x25 }; +static int dmapageport[4] = { 0x27, 0x21, 0x23, 0x25 }; #else static int dmapageport[8] = { 0x87, 0x83, 0x81, 0x82, 0x8f, 0x8b, 0x89, 0x8a }; #endif diff --git a/sys/pc98/pc98/isa_dma.c b/sys/pc98/pc98/isa_dma.c index 1057394..1866acd 100644 --- a/sys/pc98/pc98/isa_dma.c +++ b/sys/pc98/pc98/isa_dma.c @@ -114,7 +114,7 @@ static u_int8_t dma_auto_mode = 0; /* high byte of address is stored in this port for i-th dma channel */ #ifdef PC98 -static int dmapageport[8] = { 0x27, 0x21, 0x23, 0x25 }; +static int dmapageport[4] = { 0x27, 0x21, 0x23, 0x25 }; #else static int dmapageport[8] = { 0x87, 0x83, 0x81, 0x82, 0x8f, 0x8b, 0x89, 0x8a }; #endif |