[haiku-commits] r41121 - haiku/trunk/src/system/kernel/device_manager

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 26 Mar 2011 23:07:27 +0100 (CET)

Author: axeld
Date: 2011-03-26 23:07:27 +0100 (Sat, 26 Mar 2011)
New Revision: 41121
Changeset: https://dev.haiku-os.org/changeset/41121

Modified:
   haiku/trunk/src/system/kernel/device_manager/legacy_drivers.cpp
Log:
* Obviously forgot to compile after a last minute change, sorry!


Modified: haiku/trunk/src/system/kernel/device_manager/legacy_drivers.cpp
===================================================================
--- haiku/trunk/src/system/kernel/device_manager/legacy_drivers.cpp     
2011-03-26 20:32:58 UTC (rev 41120)
+++ haiku/trunk/src/system/kernel/device_manager/legacy_drivers.cpp     
2011-03-26 22:07:27 UTC (rev 41121)
@@ -819,6 +819,29 @@
 }
 
 
+static void
+dump_driver(legacy_driver* driver)
+{
+       kprintf("DEVFS DRIVER: %p\n", driver);
+       kprintf(" name:           %s\n", driver->name);
+       kprintf(" path:           %s\n", driver->path);
+       kprintf(" image:          %ld\n", driver->image);
+       kprintf(" device:         %ld\n", driver->device);
+       kprintf(" node:           %Ld\n", driver->node);
+       kprintf(" last modified:  %ld.%lu\n", driver->last_modified.tv_sec,
+               driver->last_modified.tv_nsec);
+       kprintf(" devs used:      %ld\n", driver->devices_used);
+       kprintf(" devs published: %ld\n", driver->devices.Count());
+       kprintf(" binary updated: %d\n", driver->binary_updated);
+       kprintf(" priority:       %ld\n", driver->priority);
+       kprintf(" api version:    %ld\n", driver->api_version);
+       kprintf(" hooks:          find_device %p, publish_devices %p\n"
+               "                 uninit_driver %p, uninit_hardware %p\n",
+               driver->find_device, driver->publish_devices, 
driver->uninit_driver,
+               driver->uninit_hardware);
+}
+
+
 static int
 dump_device(int argc, char** argv)
 {
@@ -846,29 +869,6 @@
 }
 
 
-static void
-dump_driver(legacy_driver* driver)
-{
-       kprintf("DEVFS DRIVER: %p\n", driver);
-       kprintf(" name:           %s\n", driver->name);
-       kprintf(" path:           %s\n", driver->path);
-       kprintf(" image:          %ld\n", driver->image);
-       kprintf(" device:         %ld\n", driver->device);
-       kprintf(" node:           %Ld\n", driver->node);
-       kprintf(" last modified:  %ld.%lu\n", driver->last_modified.tv_sec,
-               driver->last_modified.tv_nsec);
-       kprintf(" devs used:      %ld\n", driver->devices_used);
-       kprintf(" devs published: %ld\n", driver->devices.Count());
-       kprintf(" binary updated: %d\n", driver->binary_updated);
-       kprintf(" priority:       %ld\n", driver->priority);
-       kprintf(" api version:    %ld\n", driver->api_version);
-       kprintf(" hooks:          find_device %p, publish_devices %p\n"
-               "                 uninit_driver %p, uninit_hardware %p\n",
-               driver->find_device, driver->publish_devices, 
driver->uninit_driver,
-               driver->uninit_hardware);
-}
-
-
 static int
 dump_driver(int argc, char** argv)
 {


Other related posts:

  • » [haiku-commits] r41121 - haiku/trunk/src/system/kernel/device_manager - axeld