9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] pci
@ 2004-06-19 20:19 boyd, rounin
  2004-06-19 20:44 ` Russ Cox
  2004-06-20  2:28 ` Geoff Collyer
  0 siblings, 2 replies; 13+ messages in thread
From: boyd, rounin @ 2004-06-19 20:19 UTC (permalink / raw)
  To: 9fans

what does this mean?

0.0.0: 06.00.00 8086/7192   0
0.10.0: 03.00.00 10c8/0005   3 0:fd000008 16777216 1:fe800000 4194304
2:fec00000 1048576
0.12.0: 06.07.00 1180/0475 255
0.7.0: 06.01.00 8086/7110   0
0.7.1: 01.01.80 8086/7111   0 4:0000fcf1 16
0.7.2: 0c.03.00 8086/7112 255 4:0000fcc1 32
0.7.3: 06.80.00 8086/7113   0
0.8.0: 0c.00.10 104d/8039 255 0:fedff000 2048 1:fedffc00 512
0.9.0: 04.01.00 1073/0010   9 0:fedf0000 32768 1:0000fc41 64 2:0000fced 16

i'm trying to find my EC2T 32 bit pci bus ether card.
--
MGRS 31U DQ 52572 12604



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

* Re: [9fans] pci
  2004-06-19 20:19 [9fans] pci boyd, rounin
@ 2004-06-19 20:44 ` Russ Cox
  2004-06-19 21:31   ` boyd, rounin
  2004-06-20  2:28 ` Geoff Collyer
  1 sibling, 1 reply; 13+ messages in thread
From: Russ Cox @ 2004-06-19 20:44 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> what does this mean?

n.n.n pci bus location 
nn.nn.nn pci device class
    01.* is disk
    02.* is network
    03.* is display
    04.* is sound (multimedia)
    http://www.acm.uiuc.edu/sigops/roll_your_own/7.c.1.html
xxxx/yyyy pci vendor and device id.  0x8086 is intel's vendor id.
i'm not sure what the next column is.
the rest of the line lists the mappable i/o spaces: type:addr size.

i don't see your ec2t card in the list.

russ


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

* Re: [9fans] pci
  2004-06-19 20:44 ` Russ Cox
@ 2004-06-19 21:31   ` boyd, rounin
  0 siblings, 0 replies; 13+ messages in thread
From: boyd, rounin @ 2004-06-19 21:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> i don't see your ec2t card in the list.

thanks for the url.  i don't see the damn thing either!



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

* Re: [9fans] pci
  2004-06-19 20:19 [9fans] pci boyd, rounin
  2004-06-19 20:44 ` Russ Cox
@ 2004-06-20  2:28 ` Geoff Collyer
  2004-06-20  2:39   ` boyd, rounin
  2004-06-20  4:33   ` jmk
  1 sibling, 2 replies; 13+ messages in thread
From: Geoff Collyer @ 2004-06-20  2:28 UTC (permalink / raw)
  To: 9fans

I thought all EC2T cards were PCMCIA.

Is your card just an Ethernet card or does it have other stuff (e.g.,
a modem) on it?  The bridges (type 6) can hide a multitude of sins,
including all-in-one devices.

Do #P/ioalloc and #P/irqalloc have anything interesting in them?

Other clues to reading pci output:

The first column is bus-number.slot-number.sub-device, where
slot-number is rather loosely defined.

The column Russ wasn't sure about (after vid/did) is irq.

So I read your pci output as:

host/pci bridge
MagicMedia 256 AV vga controller at irq 3
pci/cardbus (pc card, pcmcia) bridge

pci/isa bridge
ide controller
usb controller
unknown bridge: PIIX4 power management

firewire controller
sound card at irq 9



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

* Re: [9fans] pci
  2004-06-20  2:28 ` Geoff Collyer
@ 2004-06-20  2:39   ` boyd, rounin
  2004-06-20  4:33   ` jmk
  1 sibling, 0 replies; 13+ messages in thread
From: boyd, rounin @ 2004-06-20  2:39 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

thanks geoff.

> I thought all EC2T cards were PCMCIA.

it is.

> Do #P/ioalloc and #P/irqalloc have anything interesting in them?

i shall look.

> pci/cardbus (pc card, pcmcia) bridge

that's the one.



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

* Re: [9fans] pci
  2004-06-20  2:28 ` Geoff Collyer
  2004-06-20  2:39   ` boyd, rounin
@ 2004-06-20  4:33   ` jmk
  2004-06-20 20:05     ` boyd, rounin
  1 sibling, 1 reply; 13+ messages in thread
From: jmk @ 2004-06-20  4:33 UTC (permalink / raw)
  To: 9fans

On Sat Jun 19 22:29:23 EDT 2004, geoff@collyer.net wrote:
> ...
> So I read your pci output as:
> 
> host/pci bridge
> MagicMedia 256 AV vga controller at irq 3
> pci/cardbus (pc card, pcmcia) bridge
> 
> pci/isa bridge
> ide controller
> usb controller
> unknown bridge: PIIX4 power management
> 
> firewire controller
> sound card at irq 9

the did for the pci/cardbus bridge (0x0475) isn't recognised
in the pcard driver (devpccard.c) although it recognises 0x0476
and ox0478. you could try adding that in to the relevant tables
in the driver and see if it works.


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

* Re: [9fans] pci
  2004-06-20  4:33   ` jmk
@ 2004-06-20 20:05     ` boyd, rounin
  2004-06-20 20:36       ` jmk
  0 siblings, 1 reply; 13+ messages in thread
From: boyd, rounin @ 2004-06-20 20:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

i added these mods to devpccard.c and the ether card comes to life, but isn't recognised.

small amount of progress:

25a26,28
>  VAIO_vid = 0x1180,
>  VAIO_PCG_N505SN_did = 0x0475,
> 
62a66
> { VAIO_vid, VAIO_PCG_N505SN_did, "Sony VAIO PCG-N505SN Cardbus Controller", },



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

* Re: [9fans] pci
  2004-06-20 20:05     ` boyd, rounin
@ 2004-06-20 20:36       ` jmk
  2004-06-20 21:00         ` boyd, rounin
  0 siblings, 1 reply; 13+ messages in thread
From: jmk @ 2004-06-20 20:36 UTC (permalink / raw)
  To: 9fans

On Sun Jun 20 16:08:05 EDT 2004, boyd@insultant.net wrote:
> i added these mods to devpccard.c and the ether card comes to life, but isn't recognised.
> 
> small amount of progress:
> 
> 25a26,28
> >  VAIO_vid = 0x1180,
> >  VAIO_PCG_N505SN_did = 0x0475,
> > 
> 62a66
> > { VAIO_vid, VAIO_PCG_N505SN_did, "Sony VAIO PCG-N505SN Cardbus Controller", },

so what does pci say after that?


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

* Re: [9fans] pci
  2004-06-20 20:36       ` jmk
@ 2004-06-20 21:00         ` boyd, rounin
  2004-06-20 21:57           ` jmk
  0 siblings, 1 reply; 13+ messages in thread
From: boyd, rounin @ 2004-06-20 21:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

i'm beginning to feel like taylor having to cross the room and
use one prgram loader and one o/s to get this data ...

0.0.0: 06.00.00 8086/7192   0
0.10.0: 03.00.00 10c8/0005   3 0:fd000008 16777216 1:fe800000 4194304
2:fec00000 1048576
0.12.0: 06.07.00 1180/0475   9
0.7.0: 06.01.00 8086/7110   0
0.7.1: 01.01.80 8086/7111   0 4:0000fcf1 16
0.7.2: 0c.03.00 8086/7112 255 4:0000fcc1 32
0.7.3: 06.80.00 8086/7113   0
0.8.0: 0c.00.10 104d/8039 255 0:fedff000 2048 1:fedffc00 512
0.9.0: 04.01.00 1073/0010   9 0:fedf0000 32768 1:0000fc41 64 2:0000fced 16
32.0.0: 02.00.00 13d1/ab02   9 0:00000401 256 1:04001000 1024

the 32.0.0 looks interesting.  and, iirc, 02 means network card



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

* Re: [9fans] pci
  2004-06-20 21:00         ` boyd, rounin
@ 2004-06-20 21:57           ` jmk
  2004-06-20 22:32             ` boyd, rounin
  0 siblings, 1 reply; 13+ messages in thread
From: jmk @ 2004-06-20 21:57 UTC (permalink / raw)
  To: 9fans

	>32.0.0: 02.00.00 13d1/ab02   9 0:00000401 256 1:04001000 1024

According to the list I have, that is

	V	13D1	Abocom Systems Inc
	D	AB02	Ethernet Controller

A search seems to indicate it is a Digital 2114x of some kind,
I think an AMDtek. Try this in ether2114x.c:

after
	CentaurP	= (0x0985<<16)|0x1317,
add
	ADMtek		= (0xAB02<<16)|0x13D1,

and then wherever you see CentaurP in the code (I count 4 places)
make it apply to ADMtek too (i.e. CentaurP and ADMtek are the same
variant of the 2114x).


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

* Re: [9fans] pci
  2004-06-20 21:57           ` jmk
@ 2004-06-20 22:32             ` boyd, rounin
  2004-06-21  3:02               ` jmk
  0 siblings, 1 reply; 13+ messages in thread
From: boyd, rounin @ 2004-06-20 22:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> I think an AMDtek. Try this in ether2114x.c:
> 
> after
> CentaurP = (0x0985<<16)|0x1317,
> add
> ADMtek = (0xAB02<<16)|0x13D1,

no joy.  but you mean A[davanced] M[icro] D[evices] right?

not ADM?



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

* Re: [9fans] pci
  2004-06-20 22:32             ` boyd, rounin
@ 2004-06-21  3:02               ` jmk
  2004-06-21  3:08                 ` boyd, rounin
  0 siblings, 1 reply; 13+ messages in thread
From: jmk @ 2004-06-21  3:02 UTC (permalink / raw)
  To: 9fans

On Sun Jun 20 18:34:56 EDT 2004, boyd@insultant.net wrote:
> > I think an AMDtek. Try this in ether2114x.c:
> > 
> > after
> > CentaurP = (0x0985<<16)|0x1317,
> > add
> > ADMtek = (0xAB02<<16)|0x13D1,
> 
> no joy.  but you mean A[davanced] M[icro] D[evices] right?
> 
> not ADM?

www.admtek.com.tw


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

* Re: [9fans] pci
  2004-06-21  3:02               ` jmk
@ 2004-06-21  3:08                 ` boyd, rounin
  0 siblings, 0 replies; 13+ messages in thread
From: boyd, rounin @ 2004-06-21  3:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> www.admtek.com.tw

i shall sam to death AMD into ADM.

yes, this sounds like the card i have.  tough fucker.  it
has a bend in it, but is still works fine.  nice card; no
dongle and lots of useful leds.  cheap too.



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

end of thread, other threads:[~2004-06-21  3:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-19 20:19 [9fans] pci boyd, rounin
2004-06-19 20:44 ` Russ Cox
2004-06-19 21:31   ` boyd, rounin
2004-06-20  2:28 ` Geoff Collyer
2004-06-20  2:39   ` boyd, rounin
2004-06-20  4:33   ` jmk
2004-06-20 20:05     ` boyd, rounin
2004-06-20 20:36       ` jmk
2004-06-20 21:00         ` boyd, rounin
2004-06-20 21:57           ` jmk
2004-06-20 22:32             ` boyd, rounin
2004-06-21  3:02               ` jmk
2004-06-21  3:08                 ` boyd, rounin

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).