diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-05-24 00:51:28 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-05-24 00:51:28 +0000 |
commit | d5889fcbb9b2f254788d1b213625ee2d579eb4b1 (patch) | |
tree | 861d5612a8bb8d5fee7c829e7d09f5adc4f6902a /sys/arch/amd64/pci/amd8131reg.h | |
parent | b14166ec6fbbc9aef9c12d9678493124dbe3656b (diff) |
add aapic driver which currently is used to workaround errata on
the AMD 8131 IO APIC.
From NetBSD
ok marco@
Diffstat (limited to 'sys/arch/amd64/pci/amd8131reg.h')
-rw-r--r-- | sys/arch/amd64/pci/amd8131reg.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/arch/amd64/pci/amd8131reg.h b/sys/arch/amd64/pci/amd8131reg.h new file mode 100644 index 00000000000..e063b6571a4 --- /dev/null +++ b/sys/arch/amd64/pci/amd8131reg.h @@ -0,0 +1,13 @@ +/* $OpenBSD: amd8131reg.h,v 1.1 2005/05/24 00:51:27 brad Exp $ */ +/* $NetBSD: amd8131reg.h,v 1.1 2004/04/18 18:34:22 fvdl Exp $ */ + +/* + * Some register definitions for the AMD 8131 PCI-X Tunnel / IO apic. + * Only the registers/bits that are currently used are defined here. + */ + +#define AMD8131_PCIX_MISC 0x40 +# define AMD8131_NIOAMODE 0x00000001 + +#define AMD8131_IOAPIC_CTL 0x44 +# define AMD8131_IOAEN 0x00000002 |