From owner-freebsd-current Wed Aug 29 2:47:59 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 40BDD37B406; Wed, 29 Aug 2001 02:47:48 -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 f7T9le5230137; Wed, 29 Aug 2001 18:47:40 +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 f7T9leu420904; Wed, 29 Aug 2001 18:47:40 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:2klAmouOO0V4tOtR1H1jVeb13UUYLabt@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 SAA02928; Wed, 29 Aug 2001 18:57:24 +0900 (JST) Message-Id: <200108290957.SAA02928@zodiac.mech.utsunomiya-u.ac.jp> To: Mike Smith , imp@harmony.village.org 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:10:24 MST." <200108262310.f7QNAOI01455@mass.dis.org> References: <200108262310.f7QNAOI01455@mass.dis.org> Date: Wed, 29 Aug 2001 18:57:23 +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 >> 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 > >This order is still slightly wrong. You need to do: > > 0. Disable ALL PnP devices which can be disabled. Ya, the patch disables PnP devices (if they can be disabled) before it starts probing devices. It enables each PnP device only when it is about to be probed... > 1. PnP devices (of any kind) which cannot be disabled, or which only > have a single configuration. These devices which cannot be disabled > need a placeholder attached to them if a driver doesn't claim them, > or some other mechanism so that their resources are never used. > 2. Sensitive hinted ISA devices. > 3. Other ISA devices. > 4. Other PnP devices. Ok, revised patch is attached. Kazu begin 666 isapnp.diff2.gz M'XL(")RZC#L VES87!N<"YD:69F,@"]6%%SVD80?I9_Q2:=>L (D# 86VXR MID :9HAQ@?BE[6B$.,R-A41/@L3327][=^].( %VF*039A#HM'N[M_OMMW?J MA5/VV0$>>ZX?+1916/%/WGS_YV38'L&,!\R!:BS\:OM^)'_CI[B*MJI9>^;Z M1+!$<+;FX0,(_(EY%()=J9V?3/EL!N45E 7=YMTLE\NY :-F67;5NJS:%EA- MIV$Y=MV0LY1*I<.2M2NP+IQZW;&MDYL;*->;MGD%I7JS:38LN+DY@1,P9H*Q M@C][,.&#.^Y^N"M>XW#)J)[A!<[@3D03!LMP"5-TW64"8Q!'*T%3S;B(DXH4K^*5 MSZ PB:)DS<0DBED1AXREX&$R*[RF!2[)%]>?\V J6.@ W5-0[\*[U+L_P]>X M@)(QBP04.+P!ZQHX_ )AJH6WI5(1_J&YE8Z;@'R(PJG0'_POFL2($['R$QE< M)0MG'/^@9*=[/Q[T1JV"5"&3)%_%53_R)8116,Z$K%*IJ 7*%;X:MWK]W]UW MO>%H7#BE^/A=1'C!$(D"#@1PGV6X?D3 TQNG$#'B>''25[).C%,7\(W4VJ=9QTX-/ IH_E MA' F HSLUO)&^?I9'9>%B7@BS=0!Z8%.K,*+%TY=+TD\?ZZ=P!6#I;Q/(1"S MA#*,*(VUJR:*I%/*6C (TVT)8R]\@E7H!4'D>PF;9@"=1/#(V!(BRE*JE!;. M3$0+6,6$6'R\J.CG,D_&J-\;C=UW@V&WU7Y?P/68( (3 AX^ID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