[BK PATCH] Driver Core update for 2.6.4

From: Greg KH
Date: Mon Mar 15 2004 - 19:20:36 EST


Hi,

Here are a few driver core changes for 2.6.3. They have all been in the -mm
tree with the exception of the kref patch, which has been reviewed on lkml.
These patches add a few more sysfs class entries, clean up the cdev interface
and add the kref structure.

Please pull from:
bk://kernel.bkbits.net/gregkh/linux/driver-2.6

thanks,

greg k-h

p.s. I'll send these as patches in response to this email to lkml for
those who want to see them.

drivers/base/Makefile | 5 ++
drivers/base/bus.c | 4 -
drivers/base/class.c | 16 ++++--
drivers/base/class_simple.c | 4 -
drivers/base/core.c | 4 -
drivers/base/driver.c | 4 -
drivers/base/power/Makefile | 4 +
drivers/base/power/main.c | 4 -
drivers/base/power/shutdown.c | 4 -
drivers/base/sys.c | 4 -
drivers/char/drm/drm_stub.h | 35 +++++++++++++-
drivers/char/lp.c | 16 +++++-
drivers/char/misc.c | 1
drivers/char/tty_io.c | 80 ++++++++++++++++++---------------
drivers/ieee1394/amdtp.c | 3 -
drivers/ieee1394/dv1394.c | 4 -
drivers/ieee1394/raw1394.c | 4 -
drivers/ieee1394/video1394.c | 3 -
drivers/input/input.c | 4 +
drivers/net/ppp_generic.c | 21 ++++++++
drivers/pci/hotplug/pci_hotplug_core.c | 14 -----
drivers/s390/char/tape_class.c | 7 --
drivers/scsi/sg.c | 7 +-
drivers/scsi/st.c | 39 ++++++++++------
fs/char_dev.c | 26 +++-------
include/linux/cdev.h | 4 -
include/linux/kobject.h | 8 +++
include/linux/kref.h | 32 +++++++++++++
lib/Makefile | 3 +
lib/kref.c | 60 ++++++++++++++++++++++++
net/netlink/netlink_dev.c | 20 +++++++-
31 files changed, 301 insertions(+), 143 deletions(-)
-----

Andrew Morton:
o cdev: warning fix

Chris Wright:
o class_simple cleanup in sg
o class_simple cleanup in misc
o class_simple cleanup in input
o class_simple clean up in lp
o Patch to hook up PPP to simple class sysfs support

Greg Kroah-Hartman:
o kref: add kref structure to kernel tree
o remove cdev_set_name completely as it is not needed
o PCI Hotplug: use the new decl_subsys_name() macro instead of rolling our own
o Kobject: add decl_subsys_name() macro for users who want to set the subsystem name
o Driver core: make CONFIG_DEBUG_DRIVER implementation a whole lot cleaner

Jonathan Corbet:
o cdev 2/2: hide cdev->kobj
o cdev 1/2: Eliminate /sys/cdev

Leann Ogasawara:
o add sysfs simple class support for DRI char device
o Fix class_register() always returns 0
o Add sysfs simple class support for netlink

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/