summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-03-21 18:08:37 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-23 00:00:03 (GMT)
commit245073f0b3a8b8b626f3222dacb483695bf46419 (patch)
tree1fdb5f820c53781ad0629072ea46a53c165f30ea /include
parenta57543376c99e4d074516c5bf23c7ddc1dc613a0 (diff)
downloadlinux-fsl-qoriq-245073f0b3a8b8b626f3222dacb483695bf46419.tar.xz
ISAPNP: fix limits of logical device register set
PNP_MAX_MEM and PNP_MAX_PORT are mainly used to size tables of PNP device resources. In 2.6.24, we increased their values to accomodate ACPI devices that have many resources: 2.6.23 2.6.24 ------ ------ PNP_MAX_MEM 4 12 PNP_MAX_PORT 8 40 However, ISAPNP also used these constants as the size of parts of the logical device register set. This register set is fixed by hardware, so increasing the constants meant that we were reading and writing unintended parts of the register set. This patch changes ISAPNP to use the correct register set sizes (the same values we used prior to 2.6.24). Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions