2003-07-03 22:49:56

by Adam Belay

[permalink] [raw]
Subject: [BK PATCH] PnP Fixes for 2.5.74

Hi,

Here are some pnp related fixes. The main focus of this release
is to fix disabled resource handling. Also included is an
important bug fix for manual resource setting (used by ALSA
drivers).

Please Pull from: bk://linux-pnp.bkbits.net/pnp-2.5

Thanks,
Adam

drivers/pnp/interface.c | 22 ++++++++++++++---
drivers/pnp/manager.c | 61 ++++++++++++++++++++++++++++++++----------------
drivers/pnp/resource.c | 8 ++++++
drivers/pnp/support.c | 24 +++++++++++++++---
include/linux/ioport.h | 1
5 files changed, 88 insertions(+), 28 deletions(-)

through these ChangeSets:

[email protected], 2003-07-03 15:45:44+00:00, [email protected]
[PNP] Fix manual resource setting API

This patch corrects a trivial thinko in the manual resource api.

drivers/pnp/manager.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)


[email protected], 2003-07-03 15:42:36+00:00, [email protected]
[PNP] Allow resource auto config to assign disabled resources

This patch updates the resource manager so that it actually assigns
disabled resources when they are requested by the device.

drivers/pnp/manager.c | 40 +++++++++++++++++++++++++---------------
1 files changed, 25 insertions(+), 15 deletions(-)


[email protected], 2003-07-03 15:39:09+00:00, [email protected]
[PNP] Handle Disabled Resources Properly

Some devices will allow for individual resources to be disabled,
even when the device as a whole is active. The current PnP
resource manager is not handling this situation properly. This
patch corrects the issue by detecting disabled resources and then
flagging them. The pnp layer will now skip over any disabled
resources. Interface updates have also been included so that we
can properly display resource tables when a resource is disabled.

Also note that a new flag "IORESOURCE_DISABLED" has been added to
linux/ioports.h.


drivers/pnp/interface.c | 22 ++++++++++++++++++----
drivers/pnp/manager.c | 12 ++++++++++++
drivers/pnp/resource.c | 8 ++++++++
drivers/pnp/support.c | 24 ++++++++++++++++++++----
include/linux/ioport.h | 1 +
5 files changed, 59 insertions(+), 8 deletions(-)