9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] TI PCI1211 and 3com 3CCFE575BT
@ 2006-10-22  8:30 kazumi iwane
  2006-10-23  1:34 ` geoff
  0 siblings, 1 reply; 2+ messages in thread
From: kazumi iwane @ 2006-10-22  8:30 UTC (permalink / raw)
  To: 9fans

I am trying to get a CardBus ethernet card woking.

My old laptop (Compaq Presario 1600) has Texas Instruments
PCI-1211 CardBus bridge. I have added its DID/VID pair to
variant[] array in /sys/src/9/pc/pccard.c:64 and recompiled 9pcf
kernel. Now I see in /dev/kmesg;

  #Y0: TI PCI-1211 Cardbus Controller, 03800000 intl 9

and, under #Y, a cb0ctl file. So far, so good. (is it not? How do
I make sure it's really OK?)

Now, with a 3com 3CCFE575BT ethernet card inserted, kmesg
says

  #Y0: TI PCI-1211 Cardbus Controller, 03800000 intl 9
  PCI.32.0.0 mem[1] 03c00080 128
  PCI.32.0.0 mem[2] 03c00000 128
  tcm59Xpci: port 0xFFFFFFFF in use

Oh no, ioalloc() in /sys/src/9/etherelnk.c:1472 is failing? I see
no /net/ether bound.

I poke around a bit:

term% cat '#Y/cb0ctl'
slot 0: SlotConfigured; 10B7 5157; irq 9
    mem[0] 00000401 (00000080)
    mem[1] 03C00080 (00000080)
    mem[2] 03C00000 (00000080)
    ROM 03C00100 (00020000)
term% pci -v | tail -2
32.0.0: net  02.00.00 10b7/5157   9 0:00000401 128 1:03c00080 128
    3Com Corporation 3C575B Megahertz 10/100 LAN CardBus PC Card
term%

It seems the ether card is recognized but not properly
initialized.

Any info how to get this card working is appreciated. Thank
you.
-- 
- kazumi


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] TI PCI1211 and 3com 3CCFE575BT
  2006-10-22  8:30 [9fans] TI PCI1211 and 3com 3CCFE575BT kazumi iwane
@ 2006-10-23  1:34 ` geoff
  0 siblings, 0 replies; 2+ messages in thread
From: geoff @ 2006-10-23  1:34 UTC (permalink / raw)
  To: 9fans

I've just run into something similar with a Netgear GA511, which is
actually a Realtek 8169, and a Ricoh Cardbus bridge.  The cardbus code
allocates ports from 0x400 to 0x5ff with ioreserve() and then the
ethernet driver can't allocate ports at 0x400 with ioalloc().  jmk may
have a fix for this.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-23  1:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-22  8:30 [9fans] TI PCI1211 and 3com 3CCFE575BT kazumi iwane
2006-10-23  1:34 ` geoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).