diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-10-11 00:57:26 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-11 06:40:47 -0400 |
commit | b833b481c10cf591b15cc674948cc514e55d3b94 (patch) | |
tree | 6e02bb29bff6eea2716c0b02c0a2779d2b80480c /arch/powerpc/platforms/iseries/dt.c | |
parent | dd9b67ab37d57da67840276d28957498512d4dd8 (diff) |
[POWERPC] iSeries: Move detection of virtual cdroms
Now we will only have entries in the device tree for the actual existing
devices (including their OS/400 properties). This way viocd.c gets all
the information about the devices from the device tree.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries/dt.c')
-rw-r--r-- | arch/powerpc/platforms/iseries/dt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/iseries/dt.c b/arch/powerpc/platforms/iseries/dt.c index 9e8a334a518a..84fcee15eb25 100644 --- a/arch/powerpc/platforms/iseries/dt.c +++ b/arch/powerpc/platforms/iseries/dt.c | |||
@@ -381,10 +381,6 @@ static void __init dt_vdevices(struct iseries_flat_dt *dt) | |||
381 | dt_do_vdevice(dt, "viodasd", reg, i, device_type_block, | 381 | dt_do_vdevice(dt, "viodasd", reg, i, device_type_block, |
382 | "IBM,iSeries-viodasd", 1); | 382 | "IBM,iSeries-viodasd", 1); |
383 | reg += HVMAXARCHITECTEDVIRTUALDISKS; | 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; | 384 | reg += HVMAXARCHITECTEDVIRTUALCDROMS; |
389 | 385 | ||
390 | for (i = 0; i < HVMAXARCHITECTEDVIRTUALTAPES; i++) | 386 | for (i = 0; i < HVMAXARCHITECTEDVIRTUALTAPES; i++) |