• Matthew Wilcox's avatar
    [PATCH] PCI: Tidy up sysfs a bit · 0e4e6063
    Matthew Wilcox authored
    This patch contains a set of uncontroversial changes to PCI sysfs.
    
     - Always output 64-bit resources so userspace doesn't need ifdefs
       and 32-bit userspace works on 64-bit architectures.  Separate them
       with spaces rather than tabs.
     - Prefix hex quantities with "0x"
     - Always show 7 resources for non-bridge devices, and all resources for
       bridges rather than stopping on the first empty resource.
    0e4e6063
pci-sysfs.c 1.86 KB