Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2001 20:12:18 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Warner Losh <imp@harmony.village.org>
Cc:        "David W. Chapman Jr." <dwcjr@inethouston.net>, current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: unknown PNP hardware 
Message-ID:  <200108261112.UAA14768@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Sat, 25 Aug 2001 10:36:37 CST." <200108251636.f7PGabW05246@harmony.village.org> 
References:  <20010823172813.A69940@leviathan.inethouston.net>  <200108251636.f7PGabW05246@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>In message <20010823172813.A69940@leviathan.inethouston.net> "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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108261112.UAA14768>