Bug#284111: xserver-xfree86: Doesn't scan PCI domains above 0000 on startup
>>>>> On Thu, 13 Jan 2005 17:14:04 -0700, Bjorn Helgaas <bjorn.helgaas@hp.com> said:
Bjorn> The domain changes to /proc/bus/pci are implemented for
Bjorn> sparc64, ppc64, ia64, alpha, and mips (see pci_name_bus()).
Bjorn> They aren't all identical (sparc64 uses %04x:%02x always,
Bjorn> while ia64 uses %04x:%02x only for non-zero domain)
Ah, yes, I thought there was something that was done differently from
sparc. Only printing non-zero domains seems like the right thing to
do, since it preserves backwards-compatibility.
Speaking of pci_name_bus(), it's amazing "folks" would introduce new
APIs that take a string buffer argument _without_ a size argument...
--david
Reply to: