summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/rccosb4reg.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-10-27 20:01:14 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-10-27 20:01:14 +0000
commit54ea7f6ac2b60fce081fa01ba82040b762137427 (patch)
tree1e03113d822bccb131c5cc22c892b75607be2934 /sys/arch/i386/pci/rccosb4reg.h
parent6157dc117efb2e7cafe025db1195944e02cbc3d1 (diff)
repair ops. looking at the doc i suppose had no doc and no good clue when wrote it; tested on osb5
Diffstat (limited to 'sys/arch/i386/pci/rccosb4reg.h')
-rw-r--r--sys/arch/i386/pci/rccosb4reg.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/i386/pci/rccosb4reg.h b/sys/arch/i386/pci/rccosb4reg.h
index 9a2d9c466d8..bc38b9653d6 100644
--- a/sys/arch/i386/pci/rccosb4reg.h
+++ b/sys/arch/i386/pci/rccosb4reg.h
@@ -1,7 +1,7 @@
-/* $OpenBSD: rccosb4reg.h,v 1.1 2004/06/22 09:47:01 mickey Exp $ */
+/* $OpenBSD: rccosb4reg.h,v 1.2 2005/10/27 20:01:13 mickey Exp $ */
/*
- * Copyright (c) 2004, Michael Shalayeff
+ * Copyright (c) 2004,2005 Michael Shalayeff
* Copyright (c) 1999, by UCHIYAMA Yasushi
* All rights reserved.
*
@@ -30,9 +30,9 @@
* Register definitions for the RCC South Bridge interrupt controller.
*/
-#define OSB4_LEGAL_LINK(link) ((link) >= 0 && (link) <= 15)
+#define OSB4_LEGAL_LINK(link) ((link) >= 0 && (link) <= 0x1f)
-#define OSB4_PIRQ_MASK 0xdef8
+#define OSB4_PIRQ_MASK 0xdefa
#define OSB4_LEGAL_IRQ(irq) ((irq) > 0 && (irq) <= 15 && \
((1 << (irq)) & OSB4_PIRQ_MASK) != 0)
@@ -40,7 +40,6 @@
* PCI Interrupts Address Index Register
*/
#define OSB4_PIAIR 0xc00
-#define OSB4_PIAIR_PMASK 0x10
#define OSB4_PIRR 0xc01
/*