diff options
| author | Bjorn Helgaas <[email protected]> | 2016-11-28 17:21:02 -0600 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2016-11-29 18:05:09 -0600 |
| commit | 7a6d312b50e63f598f5b5914c4fd21878ac2b595 (patch) | |
| tree | b10ffa51fd61641a18e3640cfd1ed5f5223a3c81 /net/lapb/lapb_subr.c | |
| parent | 286c2378aaccc7343ebf17ec6cd86567659caf70 (diff) | |
PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
Remove the assumption that IORESOURCE_ROM_ENABLE == PCI_ROM_ADDRESS_ENABLE.
PCI_ROM_ADDRESS_ENABLE is the ROM enable bit defined by the PCI spec, so if
we're reading or writing a BAR register value, that's what we should use.
IORESOURCE_ROM_ENABLE is a corresponding bit in struct resource flags.
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions