summaryrefslogtreecommitdiffstats
path: root/sys/isa/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa/fd.c')
-rw-r--r--sys/isa/fd.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 597d2da..eaa5b0f 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.148 1999/07/04 14:58:32 phk Exp $
+ * $Id: fd.c,v 1.149 1999/07/21 12:19:44 joerg Exp $
*
*/
@@ -757,11 +757,16 @@ fdc_attach(device_t dev)
return (bus_generic_attach(dev));
}
-static void
+static int
fdc_print_child(device_t me, device_t child)
{
- printf(" at %s%d drive %d", device_get_name(me), device_get_unit(me),
+ int retval = 0;
+
+ retval += bus_print_child_header(me, child);
+ retval += printf(" on %s drive %d\n", device_get_nameunit(me),
*(int *)device_get_ivars(child));
+
+ return (retval);
}
static int
OpenPOWER on IntegriCloud