diff options
author | Jack Steiner <steiner@sgi.com> | 2005-07-07 12:14:00 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-07-07 12:52:59 -0400 |
commit | 21517a57e838a1fbb7a54a8a77501024e77f83e0 (patch) | |
tree | 85d934404c56c251ade30b8e2d617ea2c1ec1efa /arch | |
parent | 8d7e35174d02ce76e910365acaaefc281a0b72a0 (diff) |
[IA64] - Disable tiocx driver on non-SN systems
Disable the tiocx driver on non-SN systems.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/sn/kernel/tiocx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/sn/kernel/tiocx.c b/arch/ia64/sn/kernel/tiocx.c index 8716f4d5314b..c1cbcd1a1398 100644 --- a/arch/ia64/sn/kernel/tiocx.c +++ b/arch/ia64/sn/kernel/tiocx.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/proc_fs.h> | 14 | #include <linux/proc_fs.h> |
15 | #include <linux/device.h> | 15 | #include <linux/device.h> |
16 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
17 | #include <asm/system.h> | ||
17 | #include <asm/uaccess.h> | 18 | #include <asm/uaccess.h> |
18 | #include <asm/sn/sn_sal.h> | 19 | #include <asm/sn/sn_sal.h> |
19 | #include <asm/sn/addrs.h> | 20 | #include <asm/sn/addrs.h> |
@@ -481,6 +482,9 @@ static int __init tiocx_init(void) | |||
481 | cnodeid_t cnodeid; | 482 | cnodeid_t cnodeid; |
482 | int found_tiocx_device = 0; | 483 | int found_tiocx_device = 0; |
483 | 484 | ||
485 | if (!ia64_platform_is("sn2")) | ||
486 | return -ENODEV; | ||
487 | |||
484 | bus_register(&tiocx_bus_type); | 488 | bus_register(&tiocx_bus_type); |
485 | 489 | ||
486 | for (cnodeid = 0; cnodeid < MAX_COMPACT_NODES; cnodeid++) { | 490 | for (cnodeid = 0; cnodeid < MAX_COMPACT_NODES; cnodeid++) { |