Date: Fri, 26 Jul 2002 10:22:53 -0700 From: Nick Sayer <nsayer@quack.kfu.com> To: Philippe Givet <phil@f5iyj.com> Cc: "freebsd-mobile@freebsd.org" <freebsd-mobile@FreeBSD.ORG> Subject: Re: e-mobility Nortel Networks WLAN card problem Message-ID: <3D41856D.4040200@kfu.com> References: <20020724130752.20998.qmail@mx1.ovh.net>
next in thread | previous in thread | raw e-mail | index | archive | help
There are two ways to add a new pci card to the list in if_wi_pci.c: With the "native" PCI or the PLX flag. You must get that flag right. Almost without exception, the cards that have the PLX flag have a PCCard slot and a single big chip on the PCI card that says PLX on it. The PLX chip is a PCI<->generic PIO bus interface. It's a great way to hook up non-DMA devices to PCI. In fact, if I were going to design a PCI card that had a pair of sio ports on it, I'd simply put a pair of 16550s behind a PLX chip. :-) In the case of these adapter cards, they've simply hard-wired the generic bus up to the pccard slot in such a way that they're just mapping the PCCard I/O space into PCI space and gating the interrupts. As such, there's no particular reason that the PLX adapter boards could not instead be made to live under the pcic framework. Then they'd accept any pccards, not just wi ones. Of course, they're not hot-pluggable (they lack any sort of insert or remove notification), and their interface is nothing like a true PCCard bridge. But I digress. If you don't see a big PLX chip on the board, try marking it as a "native" pci and see if that works. If not, then I'd say you've found something new. :-) Philippe Givet wrote: > I am trying to install an e-mobility Nortel Networks WLAN card with > PCI adapter on my freeBSD 4.6 station. > > From scratch, no 'wi0' in the dmesg result > I saw the card on pciconf -l result (none@pci1.13.0 ....) > So I added the card in the pci_ids[] array of > /usr/src/sys/dev/wi/if_wi_pci.c and rebuilded the kernel. > dmesg result is : > ... > wi0:<e-mobility Nortel Networks> port oxd .... > wi0:wi_pci_attach()failed to enable pci ! > device probe_and_attach:wi attach returned 6 > and pciconf -l result : > ... > none@pci1:13:0 ..... > Any idea to help me ? > Thanks, > Philippe Givet > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D41856D.4040200>