Bjorn Helgaas ac0c302a91 PCI: Remove arch-specific IORESOURCE_ROM_SHADOW size from sysfs
When pci_create_sysfs_dev_files() created the "rom" sysfs file, it set the
sysfs file size to the actual size of a ROM BAR, or if there was no ROM BAR
but the platform provided a shadow copy in RAM, to 0x20000.  0x20000 is an
arch-specific length that should not be baked into the PCI core.

Every place that sets IORESOURCE_ROM_SHADOW also sets the size of the
PCI_ROM_RESOURCE, so use the resource length always.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2016-03-12 06:00:25 -06:00
..
2016-01-08 10:35:24 -06:00
2015-08-13 15:59:59 -05:00
2015-08-20 12:02:49 -05:00
2016-01-21 11:52:16 -08:00
2016-01-21 11:52:16 -08:00
2016-01-21 11:52:16 -08:00
2016-01-08 10:35:24 -06:00