PCI: Log IDE resource quirk in dmesg
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Mar 2014 21:07:03 +0000 (14:07 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Mar 2014 21:00:17 +0000 (15:00 -0600)
commit075eb9e35578c23ee2414f87d97d2e5065aa1bc1
treea69214a2fffc20e257681808cff1172b0b29e681
parent664c28480c90fb8541bcdd1d4b349e9436165ec7
PCI: Log IDE resource quirk in dmesg

Make a note in dmesg when we overwrite legacy IDE BAR info.  We previously
logged something like this:

  pci 0000:00:1f.1: reg 0x10: [io  0x0000-0x0007]

and then silently overwrote the resource.  There's an example in the
bugzilla below.  This doesn't fix the bugzilla; it just makes what's going
on more obvious.

No functional change; merely adds some dev_info() calls.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=48451
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c