lkml.org 
[lkml]   [2003]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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:

ChangeSet@1.1387, 2003-07-03 15:45:44+00:00, ambx1@neo.rr.com
[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(-)


ChangeSet@1.1386, 2003-07-03 15:42:36+00:00, ambx1@neo.rr.com
[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(-)


ChangeSet@1.1385, 2003-07-03 15:39:09+00:00, ambx1@neo.rr.com
[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(-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.817 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site