Skip to contentSkip to conversation

PNP driver changes for 2.5.47

PATCH New Greg KH 1 participant 2 messages Nov 12, 2002

lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/1 PNP driver changes for 2.5.47

Here's a set of updated PNP driver patches from Adam Belay. These fix a oops that the current kernel causes on a laptop of mine.

Please pull from: bk://linuxusb.bkbits.net/pnp-2.5

thanks,

greg k-h

 drivers/input/gameport/ns558.c |  129 +++++++++++++++++------------------------
 drivers/net/e100/e100_main.c   |    4 -
 drivers/pnp/driver.c           |    5 -
 drivers/pnp/pnpbios/core.c     |   36 +++++++----
 drivers/serial/8250_pnp.c      |   12 +--
 include/linux/pnp.h            |   91 +++++++++++++++++++++++-----
 include/linux/pnpbios.h        |   13 ++++
 include/linux/sunrpc/stats.h   |   18 +++--
 sound/oss/opl3sa2.c            |    2 
 9 files changed, 186 insertions(+), 124 deletions(-)

-----

[email protected], 2002-11-11 17:59:12-08:00, [email protected]
[PATCH] PnP MODULE_DEVICE_TABLE Update - 2.5.46 (3/6)

Here's a patch from Jaroslav Kysela. It was sent in previously but doesn't appear to be included. Here it is again only now against 2.5.46.

 drivers/net/e100/e100_main.c |    4 ++--
 include/linux/pnp.h          |    3 +++
 include/linux/sunrpc/stats.h |   18 ++++++++++--------
 sound/oss/opl3sa2.c          |    2 +-
 4 files changed, 16 insertions(+), 11 deletions(-)

------

[email protected], 2002-11-11 17:49:02-08:00, [email protected]
[PATCH] Update serial PnP driver - 2.5.46 (6/6)

This patch updates the serial PnP driver to the changes.

 drivers/serial/8250_pnp.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

------

[email protected], 2002-11-11 17:48:47-08:00, [email protected]
[PATCH] Convert Gameport Driver - 2.5.46 (5/6)

This patch converts the gameport driver to the pnp changes. It has been tested.

 drivers/input/gameport/ns558.c |  129 +++++++++++++++++------------------------
 1 files changed, 54 insertions(+), 75 deletions(-)

------

[email protected], 2002-11-11 17:48:30-08:00, [email protected]
[PATCH] Re: [PATCH] pnp.h changes - 2.5.46 (4/6)

Quoted 3 lines

Any reason for not just using dev_get_drvdata() and dev_set_drvdata() in the drivers? Or at the least, use them within these functions, that's what they are there for :)

Sure, here's a patch. I think I'll use them within these functions.

 include/linux/pnp.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

------

[email protected], 2002-11-11 17:48:15-08:00, [email protected]
[PATCH] pnp.h changes - 2.5.46 (4/6)

This patch cleans up pnp.h. It adds new resource macros. Also it uses driver_data from the driver model instead of a local one. Please everyone use the new macros instead of directly reading the structure.

 include/linux/pnp.h |   81 +++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 67 insertions(+), 14 deletions(-)

------

[email protected], 2002-11-11 17:47:57-08:00, [email protected]
[PATCH] Improved Debug Message Placement - 2.5.46 (2/6)

Pointed out by Joe Perches.

 drivers/pnp/driver.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

------

[email protected], 2002-11-11 17:47:38-08:00, [email protected]
[PATCH] PnP BIOS fixes - 2.5.46 (1/6)

This Patch should at least partially fix the problems caused by broken PnP BIOSes. More fixes will come later but this should boot. Please report general protection faults. The PnP BIOS proc interface may still not work if you have a broken PnP BIOS. Also adds basic support for PnP BIOS flags and removes some currently unused stuff.

 drivers/pnp/pnpbios/core.c |   36 ++++++++++++++++++++++++------------
 include/linux/pnp.h        |    3 ++-
 include/linux/pnpbios.h    |   13 +++++++++++++
 3 files changed, 39 insertions(+), 13 deletions(-)

------

author
#1 lore raw

PATCH 1/1 PNP driver changes for 2.5.47

These patches have all been sent to lkml in the past, but if anyone wants to see them again, they can be found at:
kernel.org/pub/linux/kernel/people/gregkh/misc/pnp-?-2.5.47.patch

thanks,

greg k-h