]> git.hungrycats.org Git - linux/commitdiff
[PATCH] sn: Fix the last patch - missed an IS_PIC_SOFT and needed the CG definition
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:46:10 +0000 (18:46 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:46:10 +0000 (18:46 -0800)
From: Pat Gefre <pfg@sgi.com>

Fix the last patch - missed an IS_PIC_SOFT and needed the CG definition

include/asm-ia64/sn/ksys/l1.h
include/asm-ia64/sn/pci/bridge.h

index 0192cb3071d33856e782d4c416f29a5a853da6f3..680adf040186ce7565ba45b83015521178b01bf6 100644 (file)
@@ -90,6 +90,7 @@
 #define L1_BRICKTYPE_IP45       0x34            /* 4 */
 #define L1_BRICKTYPE_C          0x43            /* C */
 #define L1_BRICKTYPE_R          0x52            /* R */
+#define L1_BRICKTYPE_CHI_CG    0x76            /* v */
 #define L1_BRICKTYPE_N          0x4e            /* N */
 #define L1_BRICKTYPE_PX                0x23            /* # */
 #define L1_BRICKTYPE_IX                0x3d            /* = */
index 11c4a2e3d8af7b8f6ad969a5943bd1fd2933cd33..a527b4a9b2f6edc36a9f3ab1ad22ffc12c8276f1 100644 (file)
@@ -916,12 +916,8 @@ typedef volatile struct bridge_s {
 
 #define PCIBR_TYPE1_CFG(ps)         PCIBRIDGE_TYPE1_CFG((ps)->bs_busnum)
 #define PCIBR_BUS_TYPE0_CFG_DEV0(ps) PCIBR_TYPE0_CFG_DEV(ps, 0)
-#define PCIBR_TYPE0_CFG_DEV(ps, s) \
-    ((IS_PIC_SOFT(ps)) ? PCIBRIDGE_TYPE0_CFG_DEV((ps)->bs_busnum, s+1) : \
-                            PCIBRIDGE_TYPE0_CFG_DEV((ps)->bs_busnum, s))
-#define PCIBR_BUS_TYPE0_CFG_DEVF(ps,s,f) \
-    ((IS_PIC_SOFT(ps)) ? PCIBRIDGE_TYPE0_CFG_DEVF((ps)->bs_busnum,(s+1),f) : \
-                            PCIBRIDGE_TYPE0_CFG_DEVF((ps)->bs_busnum,s,f))
+#define PCIBR_TYPE0_CFG_DEV(ps, s) PCIBRIDGE_TYPE0_CFG_DEV((ps)->bs_busnum, s+1)
+#define PCIBR_BUS_TYPE0_CFG_DEVF(ps,s,f) PCIBRIDGE_TYPE0_CFG_DEVF((ps)->bs_busnum,(s+1),f)
 
 #endif                         /* LANGUAGE_C */