Date: Tue, 23 Jul 2002 13:25:35 -0700 From: "Tony Toole" <tony@valemount.com> To: <mobile@FreeBSD.ORG> Cc: "\"M. Warner Losh\"" <imp@bsdimp.com>, "\"Andrew Back\"" <andrew@unfortu.net> Subject: Re: PCI -> PCMCIA Adapter woes - patch Message-ID: <0f5001c23287$1a948530$114c35d1@tonyxp> References: <20020723194554.I32012-100000@plum.flirble.org> <0ee301c2327e$01a73a80$114c35d1@tonyxp>
next in thread | previous in thread | raw e-mail | index | archive | help
Here is my patch to solve the problem you are having. It works very well, and you can use regular PCI IRQ routing with no /boot/loader.conf tweaks needed. NEWCARD also had the same problem, so this patch with subtle changes should fix it as well. I have included the patch as an attachment as email tends to mangle them. Thanks, Tony Toole ----- Original Message ----- From: "Tony Toole" <tony@valemount.com> To: <mobile@FreeBSD.ORG> Sent: Tuesday, July 23, 2002 12:20 PM Subject: Re: PCI -> PCMCIA Adapter woes. > Hello, I have found this problem with the TI 1211 under FreeBSD 4.6 as > well. Being our main socket series, I took took a look through the pcmcia > kernel code and added the code nessesary to get it working. I'll see if I > can figure out BSD's diff system and get a patch posted to the list. > > Thanks, > Tony Toole > ----- Original Message ----- > From: "Andrew Back" <andrew@unfortu.net> > To: <freebsd-mobile@freebsd.org> > Sent: Tuesday, July 23, 2002 12:09 PM > Subject: PCI -> PCMCIA Adapter woes. > > > > Hi, > > > > I recently purchased an Orinoco Silver Card along with a PCI -> PCMCIA > > adapter, an Elan P111 (TI Bridge?). The system is FreeBSD 4.5-RELEASE, > > clean install from CD. Kernel and rc.conf etc configured for pccard. > > > > I don't think the hardware is at fault since it works under Linux. I have > > also tried installing different PC cards, none of which were recognised. > > > > I tried adding the following to /boot/loader.conf : > > > > hw.pcic.intr_path="1" > > hw.pcic.irq="0" > > > > Without the above changes to loader.conf nothing happens on card > > insertion, with it you get a 'beep' and message the card hasn't been > > recognised. > > > > I also tried setting different addresses with 'pccardc pccardmem'. And > > 'pccardc dumpcis' doesn't show much. > > > > Although I am a little confused over IRQs. Should I configure one in bios > > not to be used for PCI and reserved for ISA? And then hardwire the card to > > that also? Does the adapter/bridge need an IRQ? I read somewhere that with > > one you get much better performance. > > > > I also read somewhere that the I/O address for the wi card is wrong by > > default and that you need to either set the card or modify the kernel > > default and recompile. > > > > I have to say I am a bit confused! > > > > Any help greatly appreciated. > > > > Regards, > > > > Andrew Back > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-mobile" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > begin 666 tixxxx-irq.patch M9&EF9B M=7).("XN+W!C8V%R9"YO<FEG+W!C:6-?<&-I+F,@+B]P8VEC7W!C M:2YC"BTM+2 N+B]P8V-A<F0N;W)I9R]P8VEC7W!C:2YC"51U92!*=6P@,C,@ M,3$Z,C<Z,SD@,C P,@HK*RL@+B]P8VEC7W!C:2YC"51U92!*=6P@,C,@,3$Z M-34Z,# @,C P,@I 0" M-C@V+#<@*S8X-BPW($! "B!S=&%T:6,@=F]I9 H@ M<&-I8U]P8VE?=&E?:6YI="AD979I8V5?="!D978I"B!["BT)=5]I;G0S,E]T M"7-Y<V-N=&PL(&1I86=C=&PL(&1E=F-N=&PL(&-A<F1C;G1L.PHK"75?:6YT M,S)?= ES>7-C;G1L+"!D:6%G8W1L+"!D979C;G1L+"!C87)D8VYT;"P@;75X M8W1L.PH@"75?:6YT,S)?= ED979I8V5?:60@/2!P8VE?9V5T7V1E=FED*&1E M=BD["B )<W1R=6-T('!C:6-?<V]F=&,@*G-C(#T@9&5V:6-E7V=E=%]S;V9T M8RAD978I.PH@"6EN= D@"71I,3$S>" ]("AD979I8V5?:60@/3T@4$-)7T1% M5DE#15])1%]00TE#7U1),3 S,2D@?'P*0$ @+3<T-"PV("LW-#0L,3D@0$ * M( D)?0H@"0ES>7-C;G1L("8]('Y423$Q,UA?4UE30TY43%]334E%3D(["B ) M"7!C:5]W<FET95]C;VYF:6<H9&5V+"!423$Q,UA?4$-)7U-94U1%35]#3TY4 M4D],+"!S>7-C;G1L+" Q*3L**PHK(" @(" @(" @(" @(" @( HK"0DO*B!3 M;6%L;"!P871C:"!T;R!H86YD;&4@25)1(')O=71I;F<@;VX@5$D@8G)I9&=E M<RX@4WEM<'1O;0HK"0D@("!W:71H;W5T('1H:7,@8V]D92!I<R!T:&4@<&-M M8VEA(&-A<F0@:6YS97)T:6]N(&ES(&YE=F5R"BL)"2 @(&1E=&5C=&5D('=I M=&AO=70@=7-I;F<@25-!(')O=71I;F<N( HK"0D@("!4;VYY(%1O;VQE("AT M;VYY0'9A;&5M;W5N="YC;VTI("HO"BL)"6UU>&-T;" ]('!C:5]R96%D7V-O M;F9I9RAD978L(%1),3$S6%]00TE?25)13558+" T*3L**PD);75X8W1L(#T@ M*&UU>&-T;" F('XP>#!F*2 K(#!X,#([("\J(')O=71E($E.5$$@*B\**PD) M:68@*"$H<WES8VYT;" F(%1),3$S6%]365-#3E1,7TE.5%)4244I*0HK"0D) M;75X8W1L(#T@*&UU>&-T;" F('XP>&8P*2 K(#!X,C [("\J(')O=71E($E. M5$(@*B\**PD)<&-I7W=R:71E7V-O;F9I9RAD978L(%1),3$S6%]00TE?25)1 M3558+"!M=7AC=&PL(#0I.PHK"0DO*B N+BX@*B\**PH@"7T*( EI9B H8V%R M9&-N=&P@)B!423$Q,UA?0T%21$-.5$Q?4DE.1U]%3D$I"B )"7!R:6YT9B@B M6W)I;F<@96YA8FQE72(I.PID:69F("UU<DX@+BXO<&-C87)D+F]R:6<O<&-I M8U]P8VDN:" N+W!C:6-?<&-I+F@*+2TM("XN+W!C8V%R9"YO<FEG+W!C:6-? M<&-I+F@)5'5E($IU;" R,R Q,3HR-SHS.2 R,# R"BLK*R N+W!C:6-?<&-I M+F@)5'5E($IU;" R,R Q,3HU-3HU,2 R,# R"D! ("TT,RPV("LT,RPW($! M"B O*B!497AA<R!);G-T<G5M96YT<R!00TDM,3$S,"\Q,3,Q($-A<F1"=7,@ M0V]N=')O;&QE<B J+PH@(V1E9FEN92!423$Q,UA?4$-)7U-94U1%35]#3TY4 M4D],"3!X.# )+RH@4WES=&5M($-O;G1R;VP@*B\*("-D969I;F4@5$DQ,EA8 M7U!#25]-54Q424U%1$E!7T-/3E123TP),'@X- DO*B!:;V]M(%9I9&5O("HO M"BLC9&5F:6YE(%1),3$S6%]00TE?25)13558(" @(" @(" @(" @(" @,'@X M8R @(" O*B!)4E$@4F]U=&EN9R!296=I<W1E<B J+PH@(V1E9FEN92!423$Q M,UA?4$-)7U)%5%)97U-405154PD),'@Y, DO*B!2971R>2!3=&%T=7,@*B\* M("-D969I;F4@5$DQ,3-87U!#25]#05)$7T-/3E123TP)"3!X.3$)+RH@0V%R M9"!#;VYT<F]L("HO"B C9&5F:6YE(%1),3$S6%]00TE?1$5624-%7T-/3E12 =3TP),'@Y,@DO*B!$979I8V4@0V]N=')O;" J+PH` ` end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0f5001c23287$1a948530$114c35d1>