[BK PATCH] PnP Fixes for 2.5.74

From: Adam Belay (ambx1@neo.rr.com)
Date: Thu Jul 03 2003 - 13:38:27 EST


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

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


 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

 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/

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:21 EST