public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PATCH] Driver Core patches for 2.6.15
@ 2006-01-05  0:48 Greg KH
  2006-01-05  0:49 ` [PATCH] remove CONFIG_KOBJECT_UEVENT option Greg KH
  2006-01-05  1:38 ` [GIT PATCH] Driver Core patches for 2.6.15 Linus Torvalds
  0 siblings, 2 replies; 34+ messages in thread
From: Greg KH @ 2006-01-05  0:48 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel

Here are a lot of driver core patches for 2.6.15.  They have all been in
the past few -mm releases with no problems.  They contain the following
things:
	- sysfs fixes.
	- klist fixes.
	- input build fixes.
	- platform driver interface additions
	- uevent and hotplug merge together
	- block device symlink fixes
	- lots of other good stuff, see the changelog below.

Please pull from:
	rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/
or if master.kernel.org hasn't synced up yet:
	master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/

The full patch set will be sent to the linux-kernel mailing list, if
anyone wants to see them.

thanks,

greg k-h

 Documentation/powerpc/eeh-pci-error-recovery.txt |   31 -
 MAINTAINERS                                      |    6 
 arch/arm/common/amba.c                           |    6 
 arch/ia64/sn/kernel/tiocx.c                      |    4 
 arch/powerpc/kernel/vio.c                        |    2 
 block/genhd.c                                    |   48 +-
 drivers/acpi/container.c                         |    8 
 drivers/acpi/processor_core.c                    |    8 
 drivers/acpi/scan.c                              |   14 
 drivers/base/Kconfig                             |    4 
 drivers/base/bus.c                               |   41 ++
 drivers/base/class.c                             |   68 ++--
 drivers/base/core.c                              |   42 +-
 drivers/base/cpu.c                               |    4 
 drivers/base/dd.c                                |   15 
 drivers/base/firmware_class.c                    |   45 +-
 drivers/base/memory.c                            |   12 
 drivers/base/platform.c                          |   68 ++--
 drivers/base/power/runtime.c                     |    2 
 drivers/ide/ide-cd.c                             |    1 
 drivers/ide/ide-disk.c                           |    1 
 drivers/ide/ide-floppy.c                         |    1 
 drivers/ide/ide-tape.c                           |    1 
 drivers/ide/ide.c                                |   60 +++
 drivers/ieee1394/nodemgr.c                       |   20 -
 drivers/infiniband/core/sysfs.c                  |   16 
 drivers/input/input.c                            |   54 ++-
 drivers/input/serio/serio.c                      |   22 -
 drivers/macintosh/macio_asic.c                   |    4 
 drivers/mmc/mmc_sysfs.c                          |    4 
 drivers/pci/hotplug.c                            |   44 +-
 drivers/pci/pci-driver.c                         |    6 
 drivers/pci/pci.h                                |    4 
 drivers/pcmcia/cs.c                              |   10 
 drivers/pcmcia/ds.c                              |   50 +--
 drivers/pnp/pnpbios/core.c                       |    8 
 drivers/s390/cio/ccwgroup.c                      |    4 
 drivers/s390/cio/device.c                        |    4 
 drivers/s390/crypto/z90main.c                    |    1 
 drivers/scsi/ipr.c                               |    4 
 drivers/usb/core/usb.c                           |   86 ++---
 drivers/usb/host/hc_crisv10.c                    |    2 
 drivers/w1/w1.c                                  |   14 
 fs/partitions/check.c                            |   33 +-
 fs/super.c                                       |   15 
 fs/sysfs/dir.c                                   |    6 
 include/linux/device.h                           |   14 
 include/linux/firmware.h                         |    2 
 include/linux/input.h                            |   81 ++--
 include/linux/kobject.h                          |  110 +++---
 include/linux/kobject_uevent.h                   |   57 ---
 include/linux/platform_device.h                  |    1 
 include/linux/sysctl.h                           |    2 
 include/linux/usb.h                              |    2 
 init/Kconfig                                     |   36 --
 kernel/ksysfs.c                                  |   42 +-
 kernel/sysctl.c                                  |    8 
 lib/klist.c                                      |    2 
 lib/kobject.c                                    |    4 
 lib/kobject_uevent.c                             |  379 ++++++++---------------
 net/bluetooth/hci_sysfs.c                        |    4 
 net/bridge/br_sysfs_if.c                         |    4 
 net/core/net-sysfs.c                             |   76 +---
 scripts/mod/file2alias.c                         |   62 +++
 64 files changed, 921 insertions(+), 868 deletions(-)


Adrian Bunk:
      drivers/base/power/runtime.c: #if 0 dpm_set_power_state()

Alan Stern:
      Hold the device's parent's lock during probe and remove

Andrew Morton:
      kobject_uevent CONFIG_NET=n fix

Dmitry Torokhov:
      Driver Core: Add platform_device_del()
      Driver Core: Rearrange exports in platform.c

Frank Pavlic:
      klist: Fix broken kref counting in find functions

Greg Kroah-Hartman:
      HOTPLUG: always enable the .config option, unless EMBEDDED
      Driver core: Make block devices create the proper symlink name
      Driver core: only all userspace bind/unbind if CONFIG_HOTPLUG is enabled

Kay Sievers:
      remove CONFIG_KOBJECT_UEVENT option
      remove mount/umount uevents from superblock handling
      keep pnpbios usermod_helper away from hotplug_path[]
      add uevent_helper control in /sys/kernel/
      merge kobject_uevent and kobject_hotplug
      driver core: replace "hotplug" by "uevent"
      ide: MODALIAS support for autoloading of ide-cd, ide-disk, ...
      net: swich device attribute creation to default attrs

Kumar Gala:
      Allow overlapping resources for platform devices

Paul Jackson:
      driver kill hotplug word from sn and others fix

Rusty Russell:
      Input: add modalias support
      Input: fix add modalias support build error

Steven Rostedt:
      sysfs: handle failures in sysfs_make_dirent


^ permalink raw reply	[flat|nested] 34+ messages in thread
* [PATCH] driver kill hotplug word from sn and others fix
@ 2005-11-26  4:04 Paul Jackson
  0 siblings, 0 replies; 34+ messages in thread
From: Paul Jackson @ 2005-11-26  4:04 UTC (permalink / raw)
  To: akpm, Greg Kroah-Hartman, linux-kernel; +Cc: Paul Jackson

The first of these changes s/hotplug/uevent/ was needed to
compile sn2_defconfig (ia64/sn).  The other three files
changed are blind changes of all remaining bus_type.hotplug
references I could find to bus_type.uevent.

This patch attempts to finish similar changes made in the
gregkh-driver-kill-hotplug-word-from-driver-core Nov 22 patch.

Signed-off-by: Paul Jackson <pj@sgi.com>

---

 arch/arm/common/amba.c      |    6 +++---
 arch/ia64/sn/kernel/tiocx.c |    4 ++--
 drivers/s390/cio/ccwgroup.c |    4 ++--
 drivers/s390/cio/device.c   |    4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)

--- 2.6.15-rc2-mm1.orig/arch/ia64/sn/kernel/tiocx.c	2005-11-25 17:09:59.175019269 -0800
+++ 2.6.15-rc2-mm1/arch/ia64/sn/kernel/tiocx.c	2005-11-25 18:09:19.834295281 -0800
@@ -65,7 +65,7 @@ static int tiocx_match(struct device *de
 
 }
 
-static int tiocx_hotplug(struct device *dev, char **envp, int num_envp,
+static int tiocx_uevent(struct device *dev, char **envp, int num_envp,
 			 char *buffer, int buffer_size)
 {
 	return -ENODEV;
@@ -79,7 +79,7 @@ static void tiocx_bus_release(struct dev
 struct bus_type tiocx_bus_type = {
 	.name = "tiocx",
 	.match = tiocx_match,
-	.hotplug = tiocx_hotplug,
+	.uevent = tiocx_uevent,
 };
 
 /**
--- 2.6.15-rc2-mm1.orig/arch/arm/common/amba.c	2005-11-25 17:09:12.046571395 -0800
+++ 2.6.15-rc2-mm1/arch/arm/common/amba.c	2005-11-25 18:48:25.476165433 -0800
@@ -45,7 +45,7 @@ static int amba_match(struct device *dev
 }
 
 #ifdef CONFIG_HOTPLUG
-static int amba_hotplug(struct device *dev, char **envp, int nr_env, char *buf, int bufsz)
+static int amba_uevent(struct device *dev, char **envp, int nr_env, char *buf, int bufsz)
 {
 	struct amba_device *pcdev = to_amba_device(dev);
 
@@ -58,7 +58,7 @@ static int amba_hotplug(struct device *d
 	return 0;
 }
 #else
-#define amba_hotplug NULL
+#define amba_uevent NULL
 #endif
 
 static int amba_suspend(struct device *dev, pm_message_t state)
@@ -88,7 +88,7 @@ static int amba_resume(struct device *de
 static struct bus_type amba_bustype = {
 	.name		= "amba",
 	.match		= amba_match,
-	.hotplug	= amba_hotplug,
+	.uevent		= amba_uevent,
 	.suspend	= amba_suspend,
 	.resume		= amba_resume,
 };
--- 2.6.15-rc2-mm1.orig/drivers/s390/cio/ccwgroup.c	2005-11-25 17:22:09.111753515 -0800
+++ 2.6.15-rc2-mm1/drivers/s390/cio/ccwgroup.c	2005-11-25 18:47:47.084142033 -0800
@@ -45,7 +45,7 @@ ccwgroup_bus_match (struct device * dev,
 	return 0;
 }
 static int
-ccwgroup_hotplug (struct device *dev, char **envp, int num_envp, char *buffer,
+ccwgroup_uevent (struct device *dev, char **envp, int num_envp, char *buffer,
 		  int buffer_size)
 {
 	/* TODO */
@@ -55,7 +55,7 @@ ccwgroup_hotplug (struct device *dev, ch
 static struct bus_type ccwgroup_bus_type = {
 	.name    = "ccwgroup",
 	.match   = ccwgroup_bus_match,
-	.hotplug = ccwgroup_hotplug,
+	.uevent = ccwgroup_uevent,
 };
 
 static inline void
--- 2.6.15-rc2-mm1.orig/drivers/s390/cio/device.c	2005-11-25 17:22:09.112730088 -0800
+++ 2.6.15-rc2-mm1/drivers/s390/cio/device.c	2005-11-25 19:21:23.574390939 -0800
@@ -59,7 +59,7 @@ ccw_bus_match (struct device * dev, stru
  * Heavily modeled on pci and usb hotplug.
  */
 static int
-ccw_hotplug (struct device *dev, char **envp, int num_envp,
+ccw_uevent (struct device *dev, char **envp, int num_envp,
 	     char *buffer, int buffer_size)
 {
 	struct ccw_device *cdev = to_ccwdev(dev);
@@ -110,7 +110,7 @@ ccw_hotplug (struct device *dev, char **
 struct bus_type ccw_bus_type = {
 	.name  = "ccw",
 	.match = &ccw_bus_match,
-	.hotplug = &ccw_hotplug,
+	.uevent = &ccw_uevent,
 };
 
 static int io_subchannel_probe (struct device *);

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2006-01-05 14:04 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05  0:48 [GIT PATCH] Driver Core patches for 2.6.15 Greg KH
2006-01-05  0:49 ` [PATCH] remove CONFIG_KOBJECT_UEVENT option Greg KH
2006-01-05  0:49   ` [PATCH] remove mount/umount uevents from superblock handling Greg KH
2006-01-05  0:49     ` [PATCH] keep pnpbios usermod_helper away from hotplug_path[] Greg KH
2006-01-05  0:49       ` [PATCH] add uevent_helper control in /sys/kernel/ Greg KH
2006-01-05  0:49         ` [PATCH] merge kobject_uevent and kobject_hotplug Greg KH
2006-01-05  0:49           ` [PATCH] driver core: replace "hotplug" by "uevent" Greg KH
2006-01-05  0:49             ` [PATCH] driver kill hotplug word from sn and others fix Greg KH
2006-01-05  0:49               ` [PATCH] HOTPLUG: always enable the .config option, unless EMBEDDED Greg KH
2006-01-05  0:49                 ` [PATCH] Hold the device's parent's lock during probe and remove Greg KH
2006-01-05  0:49                   ` [PATCH] Allow overlapping resources for platform devices Greg KH
2006-01-05  0:49                     ` [PATCH] klist: Fix broken kref counting in find functions Greg KH
2006-01-05  0:49                       ` [PATCH] kobject_uevent CONFIG_NET=n fix Greg KH
2006-01-05  0:49                         ` [PATCH] Input: add modalias support Greg KH
2006-01-05  0:49                           ` [PATCH] ide: MODALIAS support for autoloading of ide-cd, ide-disk, Greg KH
2006-01-05  0:49                             ` [PATCH] Driver core: Make block devices create the proper symlink name Greg KH
2006-01-05  0:49                               ` [PATCH] Driver core: only all userspace bind/unbind if CONFIG_HOTPLUG is enabled Greg KH
2006-01-05  0:49                                 ` [PATCH] Driver Core: Add platform_device_del() Greg KH
2006-01-05  0:49                                   ` [PATCH] Driver Core: Rearrange exports in platform.c Greg KH
2006-01-05  0:49                                     ` [PATCH] Input: fix add modalias support build error Greg KH
2006-01-05  0:49                                       ` [PATCH] sysfs: handle failures in sysfs_make_dirent Greg KH
2006-01-05  0:49                                         ` [PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state() Greg KH
2006-01-05  0:49                                           ` [PATCH] net: swich device attribute creation to default attrs Greg KH
2006-01-05  1:38 ` [GIT PATCH] Driver Core patches for 2.6.15 Linus Torvalds
2006-01-05  2:07   ` Greg KH
2006-01-05  2:40     ` Linus Torvalds
2006-01-05  3:31       ` Greg KH
2006-01-05  3:36         ` Linus Torvalds
2006-01-05  3:44           ` devfs going away, last chance to complain (was Re: [GIT PATCH] Driver Core patches for 2.6.15) Greg KH
2006-01-05  7:44             ` Steven Noonan
2006-01-05  9:17               ` Andrew Walrond
2006-01-05  9:18               ` Kyle Moffett
2006-01-05 14:04           ` [GIT PATCH] Driver Core patches for 2.6.15 John Stoffel
  -- strict thread matches above, loose matches on Subject: below --
2005-11-26  4:04 [PATCH] driver kill hotplug word from sn and others fix Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox