diff options
author | peter <peter@FreeBSD.org> | 2003-05-12 02:44:37 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-05-12 02:44:37 +0000 |
commit | 0cfa424a1b7fa54e27d45d7f940f926cf176d926 (patch) | |
tree | b3060ae99b0e8dc3a0e8971716248f0b47146c86 /sys/dev | |
parent | 002e3de30f346b1a00a774260bbd088259e6aecb (diff) | |
download | FreeBSD-src-0cfa424a1b7fa54e27d45d7f940f926cf176d926.zip FreeBSD-src-0cfa424a1b7fa54e27d45d7f940f926cf176d926.tar.gz |
AMD64 physical space is much larger than i386, de-i386 the bus_space and
bus_dma MD code for AMD64. (And a trivial ifdef update in dev/kbd because
of this). More updates are needed here to take advantage of the 64 bit
instructions.
Approved by: re (blanket amd64/*)
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/atkbdc/atkbdc.c | 4 | ||||
-rw-r--r-- | sys/dev/kbd/atkbdc.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/atkbdc/atkbdc.c b/sys/dev/atkbdc/atkbdc.c index 1e05ea3..9f04800 100644 --- a/sys/dev/atkbdc/atkbdc.c +++ b/sys/dev/atkbdc/atkbdc.c @@ -154,8 +154,10 @@ atkbdc_configure(void) #endif /* XXX: tag should be passed from the caller */ -#if defined(__i386__) || defined(__amd64__) +#if defined(__i386__) tag = I386_BUS_SPACE_IO; +#elif defined(__amd64__) + tag = AMD64_BUS_SPACE_IO; #elif defined(__alpha__) tag = busspace_isa_io; #elif defined(__ia64__) diff --git a/sys/dev/kbd/atkbdc.c b/sys/dev/kbd/atkbdc.c index 1e05ea3..9f04800 100644 --- a/sys/dev/kbd/atkbdc.c +++ b/sys/dev/kbd/atkbdc.c @@ -154,8 +154,10 @@ atkbdc_configure(void) #endif /* XXX: tag should be passed from the caller */ -#if defined(__i386__) || defined(__amd64__) +#if defined(__i386__) tag = I386_BUS_SPACE_IO; +#elif defined(__amd64__) + tag = AMD64_BUS_SPACE_IO; #elif defined(__alpha__) tag = busspace_isa_io; #elif defined(__ia64__) |