Skip to contentSkip to conversation

PnP Changes for 2.5.64

PATCH New Adam Belay 1 participant 1 message Mar 10, 2003

lore
Share & tools
lore

Adam Belay

author
#0 lore raw

PATCH 1/1 PnP Changes for 2.5.64

Hi,

This set of changes prepares the pnp layer to support ALSA. it also converts the ALSA ALS100 driver as a sample. More driver conversions are comming soon.

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

 drivers/pnp/Kconfig       |   11 -
 drivers/pnp/Makefile      |    4 
 drivers/pnp/card.c        |  383 ++++++++++++++++++----------------------------
 drivers/pnp/driver.c      |   25 +--
 drivers/pnp/interface.c   |   11 +
 drivers/pnp/isapnp/core.c |   10 -
 drivers/pnp/manager.c     |   37 ++++
 drivers/pnp/resource.c    |    8 
 drivers/pnp/system.c      |    4 
 include/linux/pnp.h       |  120 ++++++--------
 sound/isa/als100.c        |  283 ++++++++++++++-------------------
 sound/oss/sb_card.c       |   32 +--
 sound/oss/sb_card.h       |    2 
 13 files changed, 420 insertions(+), 510 deletions(-)

through these ChangeSets:

[email protected], 2003-03-09 23:44:44+00:00, [email protected]
Aditional Card Service Changes

Fixes many issues that were discovered after testing. Also cleans up the card service code and fixes the card_drvdata bug in which only one driver at a time could have driver data.

 drivers/pnp/card.c   |   88 ++++++++++++++++++++++++++++++++++-----------------
 drivers/pnp/driver.c |    3 +
 drivers/pnp/system.c |    2 -
 include/linux/pnp.h  |   32 +++++++++++-------
 sound/isa/als100.c   |   16 ++++-----
 sound/oss/sb_card.c  |   22 ++++++------
 sound/oss/sb_card.h  |    2 -
 7 files changed, 100 insertions(+), 65 deletions(-)

[email protected], 2003-03-09 23:41:56+00:00, [email protected]
OSS SB driver Updates

Compatibility update for the latest changes.

 sound/oss/sb_card.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

[email protected], 2003-03-09 23:39:45+00:00, [email protected]
ALS100 Updates

Updates the als100 driver to use the pnp apis. Includes resource config templates.

 sound/isa/als100.c |  267 +++++++++++++++++++++--------------------------------
 1 files changed, 110 insertions(+), 157 deletions(-)

[email protected], 2003-03-09 23:38:08+00:00, [email protected]
PnP Card Serivice Revisions

This set of changes addresses the following issues with the existing card service implementation:

1.) Only one driver can be bound to a card.
2.) repetive code is required for pnp_request_card_device and other functions

This patch will make the card services usable by ALSA.

 drivers/pnp/Kconfig       |   11 -
 drivers/pnp/Makefile      |    4 
 drivers/pnp/card.c        |  295 +++++++++++++++-------------------------------
 drivers/pnp/driver.c      |   22 +--
 drivers/pnp/isapnp/core.c |   10 -
 drivers/pnp/system.c      |    2 
 include/linux/pnp.h       |   88 +++++--------
 7 files changed, 157 insertions(+), 275 deletions(-)

[email protected], 2003-03-09 23:18:13+00:00, [email protected]
Interface Changes

A few minor revisions. Simpifies a few commands and adds config mode information.

 drivers/pnp/interface.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

[email protected], 2003-03-06 21:50:43+00:00, [email protected]
Manual Resource Setting Update

This patch allows for partial setting of manual resources as needed by ALSA. It does not change any existing APIs.

 drivers/pnp/manager.c  |   37 +++++++++++++++++++++++++++++++++++--
 drivers/pnp/resource.c |    8 ++++----
 2 files changed, 39 insertions(+), 6 deletions(-)