[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: slot number in Desk-top





Dinesh,

The BIOS makes the information available to OS in at least
two ways.  The first is the Windows9x PCI IRQ information tables,
which also have PCI device to slot label information.  The table
is so named because Microsoft defind it for Win9x, but many OS
seem to make use of the table.    The second manner that this 
information is provided is via the ACPI tables.

Current Linux and Solaris definitely do not support ACPI information
retrieval into the OS.  (I do not know if they gather the Win9x PCI
IRQ table information in either the OS, the bootloader, of via a 
application level program reading /dev/mem.   The Win9x table is
memory mapped by the BIOS, and has a signature.)

Perhaps one of the Linux gurus out there can tell us if the Win9x
tables are read during OS startup somehow, and then made available
to drivers.   And then in turn whether their is a Linux application
that somehow makes use of this information via IOCTL, or one which
simply reads /dev/mem.   I am sure that today the ACPI information
is not yet used in Linux, that work is in development now for the
next new kernal- so it will be a while longer yet before applications
could be using ACPI information to solve the "what slot" riddle....

-David O'Shea



-----Original Message-----
From: Dinesh Kumar [mailto:eyesol@rediffmail.com]
Sent: Wednesday, January 08, 2003 12:46 AM
To: pci-sig@znyx.com
Subject: slot number in Desk-top


Hi Experts,

I have a basic qry.
In a desk-top environment, is there a mechanism to find out which 
PCI card/resource is plugged in to which slot ? In other words, is 
it possible in OS level  to read slot number of a particular PCI 
card plugged in to a desk-top ?  Assume the machine is running in 
Solaris/Linux.
Any one experienced similar problems ?

Thanks in advance

Dinesh