From owner-freebsd-current Sun Aug 26 15:48:32 2001 Delivered-To: freebsd-current@freebsd.org Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by hub.freebsd.org (Postfix) with ESMTP id F244A37B403 for ; Sun, 26 Aug 2001 15:48:25 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from nantai.utsunomiya-u.ac.jp by nasu.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/26Jan01-1134AM) id f7QMmF5157504; Mon, 27 Aug 2001 07:48:15 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp by nantai.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/30Jan01-0241PM) id f7QMmEc276964; Mon, 27 Aug 2001 07:48:14 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:vnxiBa+JIu0q0tdIrAD3W4bJsZx2dBH+@zodiac.mech.utsunomiya-u.ac.jp [160.12.43.7]) by zodiac.mech.utsunomiya-u.ac.jp (8.9.3+3.2W/3.7W/zodiac-May2000) with ESMTP id HAA16750; Mon, 27 Aug 2001 07:57:57 +0900 (JST) Message-Id: <200108262257.HAA16750@zodiac.mech.utsunomiya-u.ac.jp> To: Warner Losh Cc: current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: unknown PNP hardware In-reply-to: Your message of "Sun, 26 Aug 2001 16:22:02 CST." <200108262222.f7QMM3W13698@harmony.village.org> References: <3B8975BD.6A9846F2@mindspring.com> <3B896C75.6DCFE2E8@mindspring.com> <200108261112.UAA14768@zodiac.mech.utsunomiya-u.ac.jp> <20010823172813.A69940@leviathan.inethouston.net> <200108251636.f7PGabW05246@harmony.village.org> <200108261551.f7QFpvW11269@harmony.village.org> <200108261719.CAA15944@zodiac.mech.utsunomiya-u.ac.jp> <200108262207.f7QM7IW13551@harmony.village.org> <200108262222.f7QMM3W13698@harmony.village.org> Date: Mon, 27 Aug 2001 07:57:56 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >: Whether it's perfect or not, making the device.hints "go away" >: in the presents of PnP BIOS on the machine would seem to be >: able to address the issue of doubled entries... right? > >Not entirely. There are ISA devices in devices.hints that aren't plug >and play and aren't in the PnP BIOS list. That's a worse problem than >the minor printf :-). > >: Is there something I'm not seeing here from Kazutaka's posting, >: or am I being misled? > >Yes. Yes. :-) > >What we'd like to happen: > > PnP BIOS devices > device.hints > PnP ISA devices > >What we do now > > device.hints > PnP BIOS devices > PnP ISA devices > >Note, I tried making the simple changes to make this work, but it >failed in subtle ways that I didn't have time to trackdown... > >Warner I once wrote the following patch to deal with this problem by probing ISA devices in the following order. 1. sensitive ISA devices described in device.hints 2. PnP BIOS ISA devices 3. other ISA devices described in device.hints 4. PnP ISA devices I am not entirely happy with the patch, though. Kazu begin 666 isapnp.diff.gz M'XL("(-]B3L VES87!N<"YD:69F +U8ZW/:1A#_+/Z*;3+-@"59#UXV;CJA M0%JF!+M _*7M:&3I@)N 1$_"C:>3_[V[=P))&!+2SL0SD:SSOO>WC\LP"MG' M#O#$M_"?%\3K=1Q=!I77__^G,NE-84S#1-\YGMFFO;CF5?68X-=KO3M#M. M0Y.2=%T_3>TVP&EV7*=CMRIOWH#9:+M&_1IT>C<<>/.F MI<,%8-Y@L#WGFS MP;N[VDT%\-BZJ)@:7,"8?4QA(^('!OYJ!5$H#?Z>;Q%2Q0C MQB864.7P&NP;X/ #1#L"_-3U&OR#-)I2YJ6*&XEW1+_S/TF(EJ1B&Z0RR8H6 M+CC^@I3]P?WL=CCM5B6+C#QZ2M[/NL/1;][;X60ZJ[XB:O-''F*"HSE?)#49 M$ V_4AYMF731N@ _2?@B*@0]C<&'/!X46_TL\>@8$DK*[\AL)=G;2\[LK4FJ MLAV?E ]94%2P_2CT_#3U@^7>41,)E=6H!!&3!6_I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