[ppc64 patch] rename virtual IO sysfs directory

Hollis Blanchard hollisb at us.ibm.com
Wed Feb 25 11:23:13 EST 2004


This names the virtual IO devices sysfs directory /sys/devices/vio, to
match /sys/bus/vio. Linus, please apply.

===== arch/ppc64/kernel/vio.c 1.14 vs edited =====
--- 1.14/arch/ppc64/kernel/vio.c        Tue Feb 24 16:00:14 2004
+++ edited/arch/ppc64/kernel/vio.c      Tue Feb 24 18:30:39 2004
@@ -149,7 +149,7 @@
                 return 1;
         }
         memset(vio_bus_device, 0, sizeof(struct vio_dev));
-       strcpy(vio_bus_device->dev.bus_id, "vdevice");
+       strcpy(vio_bus_device->dev.bus_id, "vio");

         err = device_register(&vio_bus_device->dev);
         if (err) {


--
Hollis Blanchard
IBM Linux Technology Center


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list