Skip to content

Commit

Permalink
[IA64] - Disable tiocx driver on non-SN systems
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jack Steiner authored and Tony Luck committed Jul 7, 2005
1 parent 8d7e351 commit 21517a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/ia64/sn/kernel/tiocx.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/proc_fs.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include <asm/sn/sn_sal.h>
#include <asm/sn/addrs.h>
Expand Down Expand Up @@ -481,6 +482,9 @@ static int __init tiocx_init(void)
cnodeid_t cnodeid;
int found_tiocx_device = 0;

if (!ia64_platform_is("sn2"))
return -ENODEV;

bus_register(&tiocx_bus_type);

for (cnodeid = 0; cnodeid < MAX_COMPACT_NODES; cnodeid++) {
Expand Down

0 comments on commit 21517a5

Please sign in to comment.