Date: Tue, 23 Jul 2002 14:35:04 -0700 From: "Tony Toole" <tony@valemount.com> To: <imp@bsdimp.com> Cc: <mobile@FreeBSD.ORG>, <andrew@unfortu.net> Subject: Re: PCI -> PCMCIA Adapter woes - patch Message-ID: <100401c23290$cf2568d0$114c35d1@tonyxp> References: <20020723194554.I32012-100000@plum.flirble.org><0ee301c2327e$01a73a80$114c35d1@tonyxp><0f5001c23287$1a948530$114c35d1@tonyxp> <20020723.150649.12657684.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I don't have the docs you mentioned, however from reviewing various other pieces of information (such as the Linux PCMCIA implementation), this is needed. What harm would it do to a card that either doesn't support it (like the 11xx), or ones that already have it working such as (probably) Laptops? The cards we use are from Elan, however we have several smaller SBC units with integrated TI1211 chips that also require this workaround. Perhaps a reasonable thing to do is provide a sysctl to enable / disable the fix on bootup? I know you'll find a safe way to implement this hack / workaround which is why I CC'd it to you. Thanks! Tony Toole ----- Original Message ----- From: "M. Warner Losh" <imp@bsdimp.com> To: <tony@valemount.com> Cc: <mobile@FreeBSD.ORG>; <andrew@unfortu.net> Sent: Tuesday, July 23, 2002 2:06 PM Subject: Re: PCI -> PCMCIA Adapter woes - patch > In message: <0f5001c23287$1a948530$114c35d1@tonyxp> > "Tony Toole" <tony@valemount.com> writes: > : 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. > > First off, the IRQMUX register is 12xx and newer. The documentation > for the MUX register indicates that it should be programmed once by > the eeprom that's on the board. Chances are that this is a workaround > for a bug in the card in question. > > However, a reasonable thing to do would likely be to do this if the > low nibble of the word was 0 (configuring it for a GPIO input, that > the code never uses), then set it up to do PCI signalling. > > I'm a little loathe to do this by default, because the docs say that > you have to have terminal resistors on these multifuction pins to use > them as outputs. However, given that this is the only way I know to > drive the PCI bus, it may make good sense to do it anyway. > > Warner > > 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?100401c23290$cf2568d0$114c35d1>