Fw: PCI and hrdware configuration

From: Sam Roberts (sam@cogent.ca)
Date: Wed May 10 2000 - 14:16:26 EST


Jeff Garzik <jgarzik@mandrakesoft.com> wrote in message
> "Autran, Yves" wrote:
> >
> > I wonder if there is a system call that could give the actual PCI bus
> > configuration. I mean the physical slot the board is plugged into, the
board
> > specifics, ....

I've worked with PCI under other systems, though not Linux, and as
far as I know there is no way to determine the physical slot that
a board is plugged into, period. It's just not supported by the PCI
bus protocol, you address by device id's not by slot.

Sam

> sys_pciconfig_{read,write} are userland-accessible syscalls. see
> drivers/pci/syscall.c

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:16 EST