Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2001 19:14:24 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Mike Smith <msmith@freebsd.org>, Warner Losh <imp@harmony.village.org>
Cc:        current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: unknown PNP hardware 
Message-ID:  <200108301014.TAA09199@zodiac.mech.utsunomiya-u.ac.jp>
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> 

next in thread | previous in thread | raw e-mail | index | archive | help

Ok, this is the 3rd revised patch for PnP. I think it works
fairely well.

I may not invest further time on this, now that ACPI is
taking over device configuration business... :-)

Kazu

>> 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.
> 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.

begin 666 isapnp.diff3.gz
M'XL("*O(C3L  VES87!N<"YD:69F,P"]66USVD@2_HQ_1:]3ZQ)&&(D7@[&3
M#0&R2RTQ/D-<M[5WI9+%8%0&B9.$-[Y+[K=?][SH#6$[N52H,IA1=T_W3/?3
MSPPC;\X^=<$-[1K^68Z_7OO>B7/P^O]_'5SWI[!P5ZP+M3!P:OV;*?\,'\-:
M?C[]X2!@4>"R!]>[@P _0M?WP#RI-P[F[F(!U2U4 _H*&3>KU>J.[Z6Z89@U
MHU,S#3#:W9;1-9LE;JE2J>R7;J!TL]MJ= WCX.U;J#;;=1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FLNOLGWGGO:+
M-W/)4?**U\,/DYMA/.EI.=7(T4C UOX#(_9 VM6\MB@;12",3X:Q5V;P!Y:.
M$&H_)32Y'/^!0F8[H2K%LVG&Q46[O%=*S4=1/2W&9]0:3XJ]'PW' R7$K[;C
M9:J&&^:X"V1+<SNBV_XU,C5^_4_K3:\MG2\Z5D2TGV3^-.C>\PM85LSM+ LT
M[*3./<,3NC@,MCJ\L5=:G49\S2F.I,7]-VGVZ+OJPU53=&'9:-4!E-_HPV9>
M?4,QS#,R,<SN"B4=.\%.(45WW'2OJ9&XB J.XD5,W8'^4DA<H4NGNL_/61&;
MD3,BTB%OH=A$>C?YZ;(PM?@Q;]\<?*UHK:?#F5+#5C1^U^O_'N^%6#EO0T"3
M6B_UJP*_LD!*RU*W,USE2*ZVS!)=W ;BB\9#]]\,JD ?_D)Q9C*%B$W=(I&F
M7;K+;7=9CX<S.UR6ORVJ<_KN+S]PJ.QTC4\_?Z(?>6)3V.$$+S_?HRKZ^JZB
M&']:-_9S5ST;PEX+B@GL&E!/GM;?^$&TJTNC3^OALGS#6HETY8JX*4H]261=
M7?!#*HQT'7+3\HX#,O?O=^JF01RB@)O)W4*@L<VCIE+78CC'PD<Z$VD)!G!>
*_C]V:P\F!R4  (X#
 
end

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?200108301014.TAA09199>