PCI domains?

Eric Anholt eta at lclark.edu
Tue Oct 21 14:46:30 PDT 2003


Is there any concept of PCI domains in the kernel?

This is for the DRM, while dealing with a complaint from Linus recently:

> Please fix the fact that modern PCI is _not_ enumerated with just "bus,
> slot, function". A lot of machines are starting to have a "domain number", 
> which allows fro multiple independent PCI subsystems in the same machine.
> 
> On linux, you can use "pci_name(pdev)" to get a truly unique descriptor of
> the device (within the PCI subsystem). It will look something like
> 
> 	0000:00:02.0
> 
> for "domain 0, bus 0, device 2, function 0".


-- 
Eric Anholt                                eta at lclark.edu          
http://people.freebsd.org/~anholt/         anholt at FreeBSD.org




More information about the freebsd-current mailing list