summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2007-09-06 14:56:09 +0000
committermarius <marius@FreeBSD.org>2007-09-06 14:56:09 +0000
commit02fe3685d7a54f525b438f84818de5db0304ec41 (patch)
treed667cd977fe5c39f042eb7f67741a2daece300b7 /sys/sparc64/include
parentdbb3c583bccee04ff6a66feaae95e4e44d351c79 (diff)
downloadFreeBSD-src-02fe3685d7a54f525b438f84818de5db0304ec41.zip
FreeBSD-src-02fe3685d7a54f525b438f84818de5db0304ec41.tar.gz
Style(9) fix - use #define<tab> consistently.
Approved by: re (kensmith)
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r--sys/sparc64/include/bus_common.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/sys/sparc64/include/bus_common.h b/sys/sparc64/include/bus_common.h
index 216f592..f0c491b 100644
--- a/sys/sparc64/include/bus_common.h
+++ b/sys/sparc64/include/bus_common.h
@@ -37,22 +37,22 @@
*/
#ifndef _MACHINE_BUS_COMMON_H_
-#define _MACHINE_BUS_COMMON_H_
+#define _MACHINE_BUS_COMMON_H_
-#define INTMAP_V 0x080000000LL /* Interrupt valid (enabled) */
-#define INTMAP_TID_MASK 0x07c000000LL /* UPA target ID */
-#define INTMAP_TID_SHIFT 26
-#define INTMAP_IGN_MASK 0x0000007c0LL /* Interrupt group no. */
-#define INTMAP_IGN_SHIFT 6
-#define INTMAP_INO_MASK 0x00000003fLL /* Interrupt number */
-#define INTMAP_INR_MASK (INTMAP_IGN_MASK | INTMAP_INO_MASK)
-#define INTMAP_SBUSSLOT_MASK 0x000000018LL /* SBUS slot # */
-#define INTMAP_PCIBUS_MASK 0x000000010LL /* PCI bus number (A or B) */
-#define INTMAP_PCISLOT_MASK 0x00000000cLL /* PCI slot # */
-#define INTMAP_PCIINT_MASK 0x000000003LL /* PCI interrupt #A,#B,#C,#D */
-#define INTMAP_OBIO_MASK 0x000000020LL /* Onboard device */
-#define INTVEC(x) ((x) & INTMAP_INR_MASK)
-#define INTSLOT(x) (((x) >> 3) & 0x7)
+#define INTMAP_V 0x080000000LL /* Interrupt valid (enabled) */
+#define INTMAP_TID_MASK 0x07c000000LL /* UPA target ID */
+#define INTMAP_TID_SHIFT 26
+#define INTMAP_IGN_MASK 0x0000007c0LL /* Interrupt group no. */
+#define INTMAP_IGN_SHIFT 6
+#define INTMAP_INO_MASK 0x00000003fLL /* Interrupt number */
+#define INTMAP_INR_MASK (INTMAP_IGN_MASK | INTMAP_INO_MASK)
+#define INTMAP_SBUSSLOT_MASK 0x000000018LL /* SBus slot # */
+#define INTMAP_PCIBUS_MASK 0x000000010LL /* PCI bus number (A or B) */
+#define INTMAP_PCISLOT_MASK 0x00000000cLL /* PCI slot # */
+#define INTMAP_PCIINT_MASK 0x000000003LL /* PCI interrupt #A,#B,#C,#D */
+#define INTMAP_OBIO_MASK 0x000000020LL /* Onboard device */
+#define INTVEC(x) ((x) & INTMAP_INR_MASK)
+#define INTSLOT(x) (((x) >> 3) & 0x7)
#define INTPRI(x) ((x) & 0x7)
#define INTINO(x) ((x) & INTMAP_INO_MASK)
#define INTMAP_ENABLE(mr, mid) \
OpenPOWER on IntegriCloud