URL: <http://savannah.gnu.org/bugs/?17651>
Summary: pci config space access from userspace Project: The GNU Hurd Submitted by: None Submitted on: Friday 09/08/2006 at 13:34 UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Matthew Wilcox Originator Email: [EMAIL PROTECTED] Open/Closed: Open Reproducibility: Every Time Size (loc): None Planned Release: None Effort: 0.00 _______________________________________________________ Details: The HURD needs to provide interfaces to let tools such as lspci and setpci access PCI configuration space. The current pciutils backends for the hurd support only reading a dump file and access through i386 ports (0xcf8 et al). This has the following problems: - non-i386 architectures do not work in this way - this mechanism doesn't support access to extended pci config space (bytes 256-4095) as found on PCI-X 2.0 and PCI Express cards. - this mechanism doesn't support PCI domains/segments which are increasingly commonly found on workstation i386 machines as well as other architectures and large i386 servers Feel free to ask me about the Linux implementations of accessing PCI config space; I propose you come up with an abstraction somewhat like sysfs (ie you have a directory per PCI device named something like 0001:04:02.3 and a file inside that called 'config'), but I'm interested in discussing other mechanisms that you might come up with. _______________________________________________________ Carbon-Copy List: CC Address | Comment ------------------------------------+----------------------------- Available only the item webpage | Originator Email _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?17651> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd