Re: PCI and hrdware configuration

From: Martin Mares (mj@suse.cz)
Date: Sat May 13 2000 - 07:15:21 EST


Hi Jeff!

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

   These syscalls are available on some platforms only, but /proc/bus/pci
should be always there.

   Unfortunately, there's usually no way to deduce the bus and slot number
corresponding to the device :(

                                Have a nice fortnight

-- 
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"Air conditioned environment - Do not open Windows."

- 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:22 EST