Re: Patch for Pheecom card

From: Joerg Dorchain (
Date: 2002-07-25 17:05:29 UTC

On Thu, Jul 25, 2002 at 06:27:59PM +0300, Jouni Malinen wrote:
> Thanks for the patch. Could you please send me more detailed PCI
> resource info, i.e., output of 'lspci -vvd 15e8:0131'?

Here you are:
00:0c.0 Network controller: National Datacomm Corp: Unknown device 0131 (rev 01)

        Subsystem: National Datacomm Corp: Unknown device 0131
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 11
        Region 1: I/O ports at b800 [size=16]
        Region 2: I/O ports at b400 [size=64]

Just to remember, I baught it as a Pheecom WL-PCI.
> I do not have such card, so I will not be able to test this. However,
> I'm willing to add support for it into the Host AP driver assuming you
> can test the end result. It looks like at least cor_sreset needs some
> changes since COR is in different location as in PLX9052.

No problem. I am fine with and used to that (both as maintainer and supporter of drivers ;-)

> > + printk(KERN_INFO "TMD adapter at 0x%x, pccard at 0x%x\n", plx_ioaddr, pccard_ioaddr);
> > + outb(0x45, plx_ioaddr);
> > + mdelay(1000);
> > + reg = inb(plx_ioaddr);
> That's horribly long busy wait.. Are you sure it is really needed? What
> is this 0x45 based on (0x41 is OK, but 0x04 part)?

No idea. I copied this section verbatim from some code I found on the linux-wlan-ng mailing list. I you wish I can send it, but it are about 400Kb that I do not want to send to a list unsolicited. There are some more description of the TMD chip register, maybe they'll help. I am lacking any understanding what this code really does, so this is what I consider "sorcerer's apprentice" style.

> can be in the driver cor_sreset (just need to change the data structures
> a bit to be ready for this). Data sheet of the card/chip would also be
> useful.

I am sorry, from what I read in the list archives they are not available on the net. I am even missing a manufacturer.

Thank you the the quick reply,


This archive was generated by hypermail 2.1.4.