Subject: Re: A TODO list for cardbus/ PCMCIA support.
To: None <cgd@netbsd.org, jonathan@DSG.Stanford.EDU>
From: Hayakawa Koichi <haya@arch.sony.co.jp>
List: tech-kern
Date: 06/25/1999 19:16:18
Hi,

From: cgd@netbsd.org (Chris G. Demetriou)
 > Jonathan Stone <jonathan@DSG.Stanford.EDU> writes:
 > >    cbb at whatever:  cardbus, pcmcia
 > >    pcic at whatever: pcmcia
 > > 
 > > with child pcmcia devices attaching via pcmcia?, and cardbus devices
 > > attaching via cardbus?.
 > 
 > OK, i'll buy this.  (I think in fact this is what i was promoting the
 > last time this discussion came around.  8-)

For the first step, I made a patch in order to get rid of
isa PCIC dependency in sys/dev/ic/i82365reg.c.  I attach a
uuencoded diff file on the mail.  Inspect it, please.

HAYAKAWA, Koichi
-- 
begin 755 i82365.patch.gz
M'XL("+U_<3<" VDX,C,V-2YP871C: #E7'MSVD@2_YO]%!UO)8MLV98$"(CC
M31$@66[].DPVV=O=4LE"&%6PQ$K"CTMRG_VZ9Z31 X'!P4FN+N4 TLST]/SZ
M.0]I>WL;@KM@?VA?[SO6OM/0*GIMS]H=.D%8>F</X=B\ [4)6N6YHC^OZ?B[
MV?QA=W>WJ%5I,)[!/V8N:%50%*S]''^P!MO9?W0-S:K<; *[)'IXJ2H:X,_=
M'P#P+PC-T+'@VG.&I:GE6,:-Z82&;YO#.S",LW(Y"/V9%0(K&YON<&+#MB0=
M4.N=N/7,<-RP881X;;"*U'YQ<QFP.M'827<O&M_X3FC?TUH6?7(ZR Y>XB>K
MZ@QM-S2\#V7V0\+;)2P%=G50")/:J,AJ4^% ,6!*G;-^[V3PNES>(IJ\,?CV
M9?!\*QK_$R@%UN[/G+$_E+_V @L.(;"H,%_B61^PK*V<MUBI,X)REE6DC!4$
M>N5G&0(RG+5[;:/7Z9X,)$F"CT0DU\=H8EX&2(/5?'W4>F.<G[9_[0[.6(\E
MRYNYX<[. =,#M:'C>!LI17C(>*=C8VKZ5.\08EFAMCH6Z<C]..Q :7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