diff options
-rw-r--r-- | arch/ia64/sn/kernel/tiocx.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/ia64/sn/kernel/tiocx.c b/arch/ia64/sn/kernel/tiocx.c index 66190d7e492d..128ccf23973a 100644 --- a/arch/ia64/sn/kernel/tiocx.c +++ b/arch/ia64/sn/kernel/tiocx.c | |||
@@ -330,19 +330,6 @@ EXPORT_SYMBOL(tiocx_bus_type); | |||
330 | EXPORT_SYMBOL(tiocx_dma_addr); | 330 | EXPORT_SYMBOL(tiocx_dma_addr); |
331 | EXPORT_SYMBOL(tiocx_swin_base); | 331 | EXPORT_SYMBOL(tiocx_swin_base); |
332 | 332 | ||
333 | static uint64_t tiocx_get_hubdev_info(u64 handle, u64 address) | ||
334 | { | ||
335 | |||
336 | struct ia64_sal_retval ret_stuff; | ||
337 | ret_stuff.status = 0; | ||
338 | ret_stuff.v0 = 0; | ||
339 | |||
340 | ia64_sal_oemcall_nolock(&ret_stuff, | ||
341 | SN_SAL_IOIF_GET_HUBDEV_INFO, | ||
342 | handle, address, 0, 0, 0, 0, 0); | ||
343 | return ret_stuff.v0; | ||
344 | } | ||
345 | |||
346 | static void tio_conveyor_set(nasid_t nasid, int enable_flag) | 333 | static void tio_conveyor_set(nasid_t nasid, int enable_flag) |
347 | { | 334 | { |
348 | uint64_t ice_frz; | 335 | uint64_t ice_frz; |
@@ -477,18 +464,12 @@ static int __init tiocx_init(void) | |||
477 | 464 | ||
478 | if (nasid & 0x1) { /* TIO's are always odd */ | 465 | if (nasid & 0x1) { /* TIO's are always odd */ |
479 | struct hubdev_info *hubdev; | 466 | struct hubdev_info *hubdev; |
480 | uint64_t status; | ||
481 | struct xwidget_info *widgetp; | 467 | struct xwidget_info *widgetp; |
482 | 468 | ||
483 | DBG("Found TIO at nasid 0x%x\n", nasid); | 469 | DBG("Found TIO at nasid 0x%x\n", nasid); |
484 | 470 | ||
485 | hubdev = | 471 | hubdev = |
486 | (struct hubdev_info *)(NODEPDA(cnodeid)->pdinfo); | 472 | (struct hubdev_info *)(NODEPDA(cnodeid)->pdinfo); |
487 | status = | ||
488 | tiocx_get_hubdev_info(nasid, | ||
489 | (uint64_t) __pa(hubdev)); | ||
490 | if (status) | ||
491 | continue; | ||
492 | 473 | ||
493 | widgetp = &hubdev->hdi_xwidget_info[TIOCX_CORELET]; | 474 | widgetp = &hubdev->hdi_xwidget_info[TIOCX_CORELET]; |
494 | 475 | ||