PCI registry?

teunis (teunis@mauve.computersupportcentre.com)
Wed, 15 Oct 1997 17:38:08 -0600 (MDT)


So how do you add PCI registry entries? I've found a few in a program
(scanpci from XFree86-3.3.1)

I have _NOT_ checked these... but they are probably valid.

base 0x1000 (NCR)
0x0005, "53C810AP"
base 0x1002 (ATI)
0x4554, "Mach64 ET"
base 0x1013 (Cirrus Logic)
0x00D0, "GD 5462"
base 0x101A (NCR)
(apparently NCR has another base address as well :)
base 0x1023 (Trident)
0x9320, "TGUI 9320"
base 0x1060 (UMC)
0x888A, "UM8886A"
0x8891, "UM8891A"
base 0x1142 (Alliance)
0x6424, "ProMotion AT24"
base 0x1281 (YOKOGAWA)
(this base vendor isn't present AFAIK)
base 0xEDD8 (ARK Logic)
0xA0A9, "2000MI"

... if anyone wondered what I'm doing monkeying with scanpci - it's
because I'm writing a sort of test-program for working with a PCI
videocard that's memory-mapped... and I have to find out where. (also, I
have a device that wasn't in scanpci so I synced the list of devices with
linux-2.1.57 :)

If anyone's interested in the "userspace" PCI code - ask me :)
(if anyone has better - TELL ME :)

Oh, and scanpci lists a PCI-interface sysctl for alpha-linux. Is there an
equivalent sysctl for non-alpha systems? (or any docs on Linux's
interpretation of PCI?)

How does one initialize an unenabled PCI device - say, a secondary
or tertiary videocard? (the bios apparently only initializes the first
VGA device present - I'm not sure which order)

G'day, eh? :)
- Teunis