> The only exception to the above management procedure are PCICFG
> functions used to obtain information about installed PCI devices.
> The difference is, that there is a defined mapping from bus, device
> and function IDs to a PCICFG virtual address. This address can
> directly be used with the PCICFG I/O space operations.
Please note that you can use neither addresses nor IRQ numbers found
in the PCI configuration space as the kernel might have remapped them.
With 2.1/2.2 kernels, the only possibility is to look at kernel struct pci_dev
or /proc/bus/pci/devices which contain the real addresses.
Have a nice fortnight
-- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "Man is the highest animal. Man does the classifying."- 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/