2003-08-06 02:44:11

by Adam Belay

[permalink] [raw]
Subject: [BK PATCH] PnP Updates for 2.6.0-test2

Hi,

The pnp_id variables have been corrected for the _devinitdata problem. Only
the sound drivers were affected. Also many pnpbios cleanups are included.
Finally the name database has been removed to make way for the upcoming driver
model changes.

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

Thanks,
Adam

drivers/pnp/idlist.h | 322 ----------------
drivers/pnp/names.c | 50 --
drivers/pnp/Kconfig | 10
drivers/pnp/Makefile | 2
drivers/pnp/base.h | 1
drivers/pnp/core.c | 3
drivers/pnp/manager.c | 28 -
drivers/pnp/pnpbios/Makefile | 4
drivers/pnp/pnpbios/bioscalls.c | 627 ++++++++++++++++++++++++++++++++
drivers/pnp/pnpbios/core.c | 699 ------------------------------------
drivers/pnp/pnpbios/pnpbios.h | 11
drivers/pnp/pnpbios/rsparser.c | 775 ++++++++++++++++++++++++++++++++++++++++
drivers/pnp/resource.c | 8
drivers/pnp/support.c | 657 ---------------------------------
include/linux/pnp.h | 28 -
include/linux/pnpbios.h | 1
sound/isa/ad1816a/ad1816a.c | 2
sound/isa/als100.c | 2
sound/isa/azt2320.c | 2
sound/isa/cmi8330.c | 2
sound/isa/cs423x/cs4236.c | 4
sound/isa/dt019x.c | 2
sound/isa/es18xx.c | 2
sound/isa/gus/interwave.c | 2
sound/isa/opl3sa2.c | 2
sound/isa/sb/es968.c | 2
sound/isa/sb/sb16.c | 2
sound/isa/sscape.c | 2
sound/isa/wavefront/wavefront.c | 2
29 files changed, 1465 insertions(+), 1789 deletions(-)

through these ChangeSets:

[email protected], 2003-08-05 21:22:55+00:00, [email protected]
[PNP] Increment Version Number

drivers/pnp/core.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


[email protected], 2003-08-05 21:21:39+00:00, [email protected]
[PNP] Remove device naming based on id

This patch removes the pnp name database code. Most buses, including
pnp, will be using userspace to name devices in the near future. Also
dev->name will be removed from the driver model soon.

drivers/pnp/idlist.h | 322 ---------------------------------------------------
drivers/pnp/names.c | 50 -------
drivers/pnp/Kconfig | 10 -
drivers/pnp/Makefile | 2
drivers/pnp/base.h | 1
drivers/pnp/core.c | 1
6 files changed, 1 insertion(+), 385 deletions(-)


[email protected], 2003-08-05 20:34:05+00:00, [email protected]
[PNPBIOS] Move low level code into a separate file

This patch moves the low level bios calls to a separate file,
"bioscalls.c". It is a cleanup that will improve organization of the
pnpbios driver code.

drivers/pnp/pnpbios/Makefile | 2
drivers/pnp/pnpbios/bioscalls.c | 627 ++++++++++++++++++++++++++++++++++++++++
drivers/pnp/pnpbios/core.c | 610 --------------------------------------
drivers/pnp/pnpbios/pnpbios.h | 3
include/linux/pnpbios.h | 1
5 files changed, 639 insertions(+), 604 deletions(-)


[email protected], 2003-08-05 20:18:25+00:00, [email protected]
[SOUND] Remove __(dev)initdata from all pnp sound drivers

This patch is needed in order to avoid a potential oops. It is
similiar to the changes made to pci.


sound/isa/ad1816a/ad1816a.c | 2 +-
sound/isa/als100.c | 2 +-
sound/isa/azt2320.c | 2 +-
sound/isa/cmi8330.c | 2 +-
sound/isa/cs423x/cs4236.c | 4 ++--
sound/isa/dt019x.c | 2 +-
sound/isa/es18xx.c | 2 +-
sound/isa/gus/interwave.c | 2 +-
sound/isa/opl3sa2.c | 2 +-
sound/isa/sb/es968.c | 2 +-
sound/isa/sb/sb16.c | 2 +-
sound/isa/sscape.c | 2 +-
sound/isa/wavefront/wavefront.c | 2 +-
13 files changed, 14 insertions(+), 14 deletions(-)


[email protected], 2003-08-05 20:15:00+00:00, [email protected]
[PNPBIOS] Move Parsing Functions to the PnPBIOS driver

This patch moves the resource parsing functions from support.c to the
pnpbios driver. Originally these functions were intended for other
pnp protocols but in reality they are only used by the PnPBIOS driver.
This patch greatly cleans up the code in both the parsing functions
and their connection with the pnpbios driver. Also note that
pnpbios.h has been added for local pnpbios functions.

drivers/pnp/pnpbios/Makefile | 2
drivers/pnp/pnpbios/core.c | 89 ----
drivers/pnp/pnpbios/pnpbios.h | 8
drivers/pnp/pnpbios/rsparser.c | 775 +++++++++++++++++++++++++++++++++++++++++
drivers/pnp/support.c | 657 ----------------------------------
include/linux/pnp.h | 6
6 files changed, 790 insertions(+), 747 deletions(-)


[email protected], 2003-08-05 14:36:01+00:00, [email protected]
[PNP] Remove protocol_data from pnp_dev and pnp_card

This is not needed.


include/linux/pnp.h | 22 ----------------------
1 files changed, 22 deletions(-)


[email protected], 2003-08-05 14:29:11+00:00, [email protected]
[PNP] Handle unset resources properly

This patch is similar to the disabled resource patch in that it
avoids direct numeric comparisons with data in unset resource
structures.

drivers/pnp/manager.c | 28 ++++++++++++++++------------
drivers/pnp/resource.c | 8 ++++----
2 files changed, 20 insertions(+), 16 deletions(-)