Re: e-mobility Nortel Networks WLAN card problem

Nick Sayer <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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 ([email protected] ....)
> 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 [email protected]
> with "unsubscribe freebsd-mobile" in the body of the message





To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.