From owner-freebsd-mobile Tue Jul 23 13:25:41 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFAA937B400 for ; Tue, 23 Jul 2002 13:25:34 -0700 (PDT) Received: from valemount.com (mailgate.valemount.com [209.53.76.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C7AC43E31 for ; Tue, 23 Jul 2002 13:25:34 -0700 (PDT) (envelope-from tony@valemount.com) Received: from tonyxp (forums.valemount.com) [209.53.76.17] by valemount.com [209.53.76.66] with SMTP (MDaemon.PRO.v5.0.7.R) for ; Tue, 23 Jul 2002 13:24:58 -0700 Message-ID: <0f5001c23287$1a948530$114c35d1@tonyxp> From: "Tony Toole" To: Cc: "\"M. Warner Losh\"" , "\"Andrew Back\"" References: <20020723194554.I32012-100000@plum.flirble.org> <0ee301c2327e$01a73a80$114c35d1@tonyxp> Subject: Re: PCI -> PCMCIA Adapter woes - patch Date: Tue, 23 Jul 2002 13:25:35 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MDRemoteIP: 209.53.76.17 X-Return-Path: tony@valemount.com X-MDaemon-Deliver-To: mobile@FreeBSD.ORG Reply-To: tony@valemount.com Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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" To: 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" > To: > 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"YO7-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 )" ]("AD979I8V5?:60@/3T@4$-)7T1% M5DE#15])1%]00TE#7U1),3 S,2D@?'P*0$ @+37-C;G1L("8]('Y423$Q,UA?4UE30TY43%]334E%3D(["B ) M"7!C:5]W7-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&-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&-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("UU2!3=&%T=7,@*B\* M("-D969I;F4@5$DQ,3-87U!#25]#05)$7T-/3E123TP)"3!X.3$)+RH@0V%R M9"!#;VYT