adjust legacy IDE resource setting (v2)
authorJan Beulich <jbeulich@novell.com>
Sat, 3 Mar 2007 16:48:54 +0000 (17:48 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 3 Mar 2007 16:48:54 +0000 (17:48 +0100)
commited8ccee0918ad063a4741c0656fda783e02df627
treec624b62b93f594511e8802232c0c00a2cdfcd99f
parent9e5755bce00bb563739aeb0f09932a1907521167
adjust legacy IDE resource setting (v2)

The change to force legacy mode IDE channels' resources to fixed non-zero
values confuses (at least some versions of) X, because the values reported
by the kernel and those readable from PCI config space aren't consistent
anymore.  Therefore, this patch arranges for the respective BARs to also
get updated if possible.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/pci/probe.c