>In message <[EMAIL PROTECTED]> "David W. Chapman
> Jr." writes:
>: I'm running -current as of an hour ago.  I've gotten this since I've 
>: been running 4.2-stable, any ideas on how I can find out what it 
>: belongs to?
>: 
>: unknown: <PNP0303> can't assign resources
>: unknown: <PNP0501> can't assign resources
>: unknown: <PNP0501> can't assign resources
>: unknown: <PNP0401> can't assign resources
>: unknown: <PNP0700> can't assign resources
>: unknown: <PNP0f13> can't assign resources
>
>Don't worry about these.
>
>Warner

Shouldn't we just suppress the message?  It just confuses users.

The attached patch will print this message only when we boot
the kernel by 'boot -v'.

Kazu

Index: isa_common.c
===================================================================
RCS file: /src/CVS/src/sys/isa/isa_common.c,v
retrieving revision 1.23
diff -u -r1.23 isa_common.c
--- isa_common.c        2001/08/10 07:50:14     1.23
+++ isa_common.c        2001/08/26 10:24:03
@@ -416,10 +416,11 @@
        /*
         * Disable the device.
         */
-       bus_print_child_header(device_get_parent(child), child);
-       printf(" can't assign resources\n");
-       if (bootverbose)
-           isa_print_child(device_get_parent(child), child);
+       if (bootverbose) {
+               bus_print_child_header(device_get_parent(child), child);
+               printf(" can't assign resources\n");
+               isa_print_child(device_get_parent(child), child);
+       }
        bzero(cfg, sizeof (*cfg));
        if (idev->id_config_cb)
                idev->id_config_cb(idev->id_config_arg, cfg, 0);


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to