diff options
Diffstat (limited to 'arch/powerpc/platforms/iseries/dt.c')
-rw-r--r-- | arch/powerpc/platforms/iseries/dt.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/powerpc/platforms/iseries/dt.c b/arch/powerpc/platforms/iseries/dt.c index 9e8a334a518a..4543c4bc3a56 100644 --- a/arch/powerpc/platforms/iseries/dt.c +++ b/arch/powerpc/platforms/iseries/dt.c | |||
@@ -72,8 +72,6 @@ static char __initdata device_type_cpu[] = "cpu"; | |||
72 | static char __initdata device_type_memory[] = "memory"; | 72 | static char __initdata device_type_memory[] = "memory"; |
73 | static char __initdata device_type_serial[] = "serial"; | 73 | static char __initdata device_type_serial[] = "serial"; |
74 | static char __initdata device_type_network[] = "network"; | 74 | static char __initdata device_type_network[] = "network"; |
75 | static char __initdata device_type_block[] = "block"; | ||
76 | static char __initdata device_type_byte[] = "byte"; | ||
77 | static char __initdata device_type_pci[] = "pci"; | 75 | static char __initdata device_type_pci[] = "pci"; |
78 | static char __initdata device_type_vdevice[] = "vdevice"; | 76 | static char __initdata device_type_vdevice[] = "vdevice"; |
79 | static char __initdata device_type_vscsi[] = "vscsi"; | 77 | static char __initdata device_type_vscsi[] = "vscsi"; |
@@ -375,21 +373,6 @@ static void __init dt_vdevices(struct iseries_flat_dt *dt) | |||
375 | 373 | ||
376 | dt_end_node(dt); | 374 | dt_end_node(dt); |
377 | } | 375 | } |
378 | reg += HVMAXARCHITECTEDVIRTUALLANS; | ||
379 | |||
380 | for (i = 0; i < HVMAXARCHITECTEDVIRTUALDISKS; i++) | ||
381 | dt_do_vdevice(dt, "viodasd", reg, i, device_type_block, | ||
382 | "IBM,iSeries-viodasd", 1); | ||
383 | reg += HVMAXARCHITECTEDVIRTUALDISKS; | ||
384 | |||
385 | for (i = 0; i < HVMAXARCHITECTEDVIRTUALCDROMS; i++) | ||
386 | dt_do_vdevice(dt, "viocd", reg, i, device_type_block, | ||
387 | "IBM,iSeries-viocd", 1); | ||
388 | reg += HVMAXARCHITECTEDVIRTUALCDROMS; | ||
389 | |||
390 | for (i = 0; i < HVMAXARCHITECTEDVIRTUALTAPES; i++) | ||
391 | dt_do_vdevice(dt, "viotape", reg, i, device_type_byte, | ||
392 | "IBM,iSeries-viotape", 1); | ||
393 | 376 | ||
394 | dt_end_node(dt); | 377 | dt_end_node(dt); |
395 | } | 378 | } |