linux_dsm_epyc7002/drivers/pnp
Bjorn Helgaas 245073f0b3 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>
2008-03-22 17:00:03 -07:00
..
isapnp ISAPNP: fix limits of logical device register set 2008-03-22 17:00:03 -07:00
pnpacpi pnpacpi: __initdata is not an identifier 2008-02-14 01:19:16 -05:00
pnpbios Dont touch fs_struct in drivers 2008-02-14 21:13:32 -08:00
base.h [PATCH] PNP: export pnp_bus_type 2007-02-11 10:51:28 -08:00
card.c PNP: use dev_info(), dev_err(), etc in core 2007-10-17 08:43:04 -07:00
core.c PNP: add debug message for adding new device 2007-10-17 08:43:04 -07:00
driver.c PNP: do not test PNP_DRIVER_RES_DO_NOT_CHANGE on suspend/resume 2008-02-06 10:41:20 -08:00
interface.c isapnp driver semaphore to mutex 2008-02-06 10:41:20 -08:00
Kconfig Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
Makefile PNP: use dev_info(), dev_err(), etc in core 2007-10-17 08:43:04 -07:00
manager.c isapnp driver semaphore to mutex 2008-02-06 10:41:20 -08:00
quirks.c PNP: disable PNP motherboard resources that overlap PCI BARs 2008-03-12 12:39:36 -07:00
resource.c drivers/pnp/resource.c: Add missing pci_dev_put 2007-11-29 09:24:52 -08:00
support.c PNP: fix up after Lindent 2007-07-26 11:35:21 -07:00
system.c PNP: use dev_info() in system driver 2007-10-17 08:43:04 -07:00