diff options
author | dfr <dfr@FreeBSD.org> | 2000-05-14 13:47:57 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-05-14 13:47:57 +0000 |
commit | 503e2bb45ec708ded388e6d0515415adea9c2a1e (patch) | |
tree | 03d0d17068c3220d01e03b0d2893c70b07a8ecd3 /sys/isa/isareg.h | |
parent | 1a749c1007b2262af1843c6417d514e940e6387e (diff) | |
download | FreeBSD-src-503e2bb45ec708ded388e6d0515415adea9c2a1e.zip FreeBSD-src-503e2bb45ec708ded388e6d0515415adea9c2a1e.tar.gz |
Port ppc driver to alpha.
Submitted by: Andrew M. Miklic <miklic@ibm.net>
Diffstat (limited to 'sys/isa/isareg.h')
-rw-r--r-- | sys/isa/isareg.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/isa/isareg.h b/sys/isa/isareg.h index a2162cd..532da43 100644 --- a/sys/isa/isareg.h +++ b/sys/isa/isareg.h @@ -157,7 +157,15 @@ #define IO_GSCSIZE 8 /* GeniScan GS-4500G hand scanner */ #define IO_ICUSIZE 16 /* 8259A interrupt controllers */ #define IO_KBDSIZE 16 /* 8042 Keyboard controllers */ -#define IO_LPTSIZE 8 /* LPT controllers, some use only 4 */ + +/* The following line was changed to support more architectures (simpler + chipsets (like those for Alpha) only use 4, but more complex controllers + (usually modern i386's) can use an additional 4; the probe to see if + the additional 4 can be used by the specific chipset is now done in the ppc + code by ppc_probe()... */ + +#define IO_LPTSIZE 4 /* LPT controllers, Alpha only uses 4 */ + #define IO_MDASIZE 12 /* Monochrome display controllers */ #define IO_NPXSIZE 16 /* 80387/80487 NPX registers */ #define IO_PMPSIZE 2 /* 82347 power management peripheral */ |