summaryrefslogtreecommitdiff
path: root/arch/ia64/sn/kernel/xpnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/sn/kernel/xpnet.c')
-rw-r--r--arch/ia64/sn/kernel/xpnet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/sn/kernel/xpnet.c b/arch/ia64/sn/kernel/xpnet.c
index 78c13d676fa6..d0c2c114a459 100644
--- a/arch/ia64/sn/kernel/xpnet.c
+++ b/arch/ia64/sn/kernel/xpnet.c
@@ -636,6 +636,10 @@ xpnet_init(void)
int result = -ENOMEM;
+ if (!ia64_platform_is("sn2")) {
+ return -ENODEV;
+ }
+
dev_info(xpnet, "registering network device %s\n", XPNET_DEVICE_NAME);
/*