Commit ad3bb3fe authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] ppc64 iSeries: allow ibmvscsic to initialise

This patch supplies an device so that ibmvscsic will actually have its
probe routine called and so allow ti to actually initialise on (legacy)
iSeries machines.

It also adds a device for the virtual console (for consistency only at the
moment).
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8259f7f6
...@@ -225,6 +225,10 @@ static void probe_bus_iseries(void) ...@@ -225,6 +225,10 @@ static void probe_bus_iseries(void)
struct vio_dev *viodev; struct vio_dev *viodev;
int i; int i;
/* there is only one of each of these */
vio_register_device_iseries("viocons", 0);
vio_register_device_iseries("vscsi", 0);
vlan_map = HvLpConfig_getVirtualLanIndexMap(); vlan_map = HvLpConfig_getVirtualLanIndexMap();
for (i = 0; i < HVMAXARCHITECTEDVIRTUALLANS; i++) { for (i = 0; i < HVMAXARCHITECTEDVIRTUALLANS; i++) {
if ((vlan_map & (0x8000 >> i)) == 0) if ((vlan_map & (0x8000 >> i)) == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment