Hello community,
here is the log from the commit of package kernel-source
checked in at Thu Sep 28 08:27:02 CEST 2006.
--------
--- kernel-source/kernel-bigsmp.changes 2006-09-25 19:38:43.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/kernel-bigsmp.changes 2006-09-28 01:32:32.000000000 +0200
@@ -1,0 +2,42 @@
+Thu Sep 28 01:17:55 CEST 2006 - gregkh@suse.de
+
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+
+-------------------------------------------------------------------
+Wed Sep 27 23:48:19 CEST 2006 - gregkh@suse.de
+
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+
+-------------------------------------------------------------------
+Wed Sep 27 23:29:42 CEST 2006 - gregkh@suse.de
+
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+
+-------------------------------------------------------------------
+Wed Sep 27 23:27:32 CEST 2006 - gregkh@suse.de
+
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
+
+-------------------------------------------------------------------
kernel-debug.changes: same change
kernel-default.changes: same change
kernel-dummy.changes: same change
kernel-iseries64.changes: same change
kernel-kdump.changes: same change
kernel-ppc64.changes: same change
kernel-s390.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-um.changes: same change
kernel-vanilla.changes: same change
kernel-xen.changes: same change
kernel-xenpae.changes: same change
New:
----
needed_space_in_mb
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-bigsmp.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:40.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:40.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: python
%endif
Version: 2.6.18
-Release: 6
+Release: 7
Summary: Kernel with PAE Support
License: GPL
Group: System/Kernel
@@ -119,7 +119,7 @@
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -475,6 +475,36 @@
%files -f kernel.files
%changelog -n kernel-bigsmp
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
kernel-debug.spec: same change
kernel-default.spec: same change
++++++ kernel-dummy.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:41.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:41.000000000 +0200
@@ -17,7 +17,7 @@
Summary: Internal dummy package for synchronizing release numbers
Group: System/Kernel
Version: 2.6.18
-Release: 4
+Release: 5
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -27,7 +27,7 @@
--------
Andreas Gruenbacher
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%install
@@ -40,6 +40,36 @@
/etc/dummy
%changelog -n kernel-dummy
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-iseries64.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:41.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:41.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: python
%endif
Version: 2.6.18
-Release: 5
+Release: 6
Summary: 64-Bit Kernel for iSeries
License: GPL
Group: System/Kernel
@@ -120,7 +120,7 @@
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -476,6 +476,36 @@
%files -f kernel.files
%changelog -n kernel-iseries64
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-kdump.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:41.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:41.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: python
%endif
Version: 2.6.18
-Release: 6
+Release: 7
Summary: kernel for kdump
License: GPL
Group: System/Kernel
@@ -129,7 +129,7 @@
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -485,6 +485,36 @@
%files -f kernel.files
%changelog -n kernel-kdump
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-ppc64.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:41.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:41.000000000 +0200
@@ -22,7 +22,7 @@
BuildRequires: python
%endif
Version: 2.6.18
-Release: 5
+Release: 6
Summary: Kernel for ppc64 Systems
License: GPL, LGPL
Group: System/Kernel
@@ -134,7 +134,7 @@
Tom Gall
see /usr/src/linux-pmac-benh/CREDITS for more details.
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -490,6 +490,36 @@
%files -f kernel.files
%changelog -n kernel-ppc64
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-s390.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:41.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:41.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: python
%endif
Version: 2.6.18
-Release: 4
+Release: 5
Summary: The Standard Kernel
License: GPL
Group: System/Kernel
@@ -117,7 +117,7 @@
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -473,6 +473,36 @@
%files -f kernel.files
%changelog -n kernel-s390
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:41.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:41.000000000 +0200
@@ -26,7 +26,7 @@
%endif
PreReq: /sbin/insserv /usr/bin/grep /bin/sed /bin/uname /bin/mkdir /bin/cat /bin/ln /bin/rm /etc/rc.status
Version: 2.6.18
-Release: 6
+Release: 7
Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2
Source1: functions.sh
Source2: source-post.sh
@@ -94,7 +94,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -276,6 +276,36 @@
%files -f kernel-source.files
%changelog -n kernel-source
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:41.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:41.000000000 +0200
@@ -49,7 +49,7 @@
Summary: Kernel Symbol Versions (modversions)
Group: Development/Sources
Version: 2.6.18
-Release: 6
+Release: 7
Requires: linux
Requires: kernel-source = 2.6.18-%release
Source11: arch-symbols
@@ -84,7 +84,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%install
@@ -127,6 +127,36 @@
/boot/symsets-*-*.tar.gz
%changelog -n kernel-syms
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-um.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:42.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:42.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: python
%endif
Version: 2.6.18
-Release: 6
+Release: 7
Summary: The User Mode Linux kernel.
License: GPL
Group: System/Kernel
@@ -125,7 +125,7 @@
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -481,6 +481,36 @@
%files -f kernel.files
%changelog -n kernel-um
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:42.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:42.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: python
%endif
Version: 2.6.18
-Release: 2
+Release: 3
Summary: The Standard Kernel - without any SUSE patches
License: GPL
Group: System/Kernel
@@ -137,7 +137,7 @@
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -493,6 +493,36 @@
%files -f kernel.files
%changelog -n kernel-vanilla
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
++++++ kernel-xen.spec ++++++
--- /var/tmp/diff_new_pack.wM9eok/_old 2006-09-28 08:22:42.000000000 +0200
+++ /var/tmp/diff_new_pack.wM9eok/_new 2006-09-28 08:22:42.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: python
%endif
Version: 2.6.18
-Release: 4
+Release: 5
Summary: The Xen Kernel
License: GPL
Group: System/Kernel
@@ -123,7 +123,7 @@
-Source Timestamp: 2006/09/25 17:30:03 UTC
+Source Timestamp: 2006/09/27 23:10:02 UTC
%prep
if ! [ -e %_sourcedir/linux-2.6.18.tar.bz2 ]; then
@@ -479,6 +479,36 @@
%files -f kernel.files
%changelog -n kernel-xen
+* Thu Sep 28 2006 - gregkh@suse.de
+- patches.suse/usb-storage-disable-delay.patch: USB: change
+ default delay time for usb-storage devices.
+* Wed Sep 27 2006 - gregkh@suse.de
+- patches.suse/driver-multithread.patch: Driver Core: add ability
+ for drivers to do a threaded probe.
+- patches.suse/pci-multithreaded-probe.patch: PCI: enable driver
+ multi-threaded probe.
+* Wed Sep 27 2006 - gregkh@suse.de
+- fuzz refresh:
+- patches.suse/crasher-26.diff: slab testing module.
+- patches.uml/uml-kconfig: kconfig: enable vt & input subsystems
+ for UML.
+* Wed Sep 27 2006 - gregkh@suse.de
+- First step in sysfs changes for 10.2. Here are the base patches that are all
+ in Linus's tree that will be needed by future patches.
+- patches.suse/device-groups.patch: Driver core: add groups
+ support to struct device.
+- patches.suse/device-class-parent.patch: Driver core: allow
+ devices in classes to have no parent.
+- patches.suse/device-class-attr.patch: Driver core: add ability
+ for classes to handle devices properly.
+- patches.suse/device_rename.patch: Driver core: add device_rename
+ function.
+- patches.suse/device-virtual.patch: Driver core: create
+ devices/virtual/ tree.
+- patches.suse/class_device_interface.patch: Class: add support
+ for class interfaces for devices.
+- patches.suse/device_bin_file.patch: Driver core: add ability
+ for devices to create and remove bin files.
* Mon Sep 25 2006 - gregkh@suse.de
- Fix the kernel-source rpm build breakage due to the vanilla addition
* Sat Sep 23 2006 - gregkh@suse.de
kernel-xenpae.spec: same change
++++++ build-source-timestamp ++++++
--- kernel-source/build-source-timestamp 2006-09-25 19:38:35.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/build-source-timestamp 2006-09-28 01:32:23.000000000 +0200
@@ -1 +1 @@
-2006/09/25 17:30:03 UTC
+2006/09/27 23:10:02 UTC
++++++ patches.suse.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/class_device_interface.patch new/patches.suse/class_device_interface.patch
--- old/patches.suse/class_device_interface.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/class_device_interface.patch 2006-09-27 23:20:22.000000000 +0200
@@ -0,0 +1,116 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Wed, 13 Sep 2006 15:34:05 +0200
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: Class: add support for class interfaces for devices
+Patch-mainline: 2.6.19
+
+When moving class_device usage over to device, we need to handle
+class_interfaces properly with devices. This patch adds that support.
+
+
+Signed-off-by: Greg Kroah-Hartman
+
+---
+ drivers/base/class.c | 10 ++++++++++
+ drivers/base/core.c | 14 +++++++++++++-
+ include/linux/device.h | 2 ++
+ 3 files changed, 25 insertions(+), 1 deletion(-)
+
+--- linux-2.6.18.orig/drivers/base/class.c
++++ linux-2.6.18/drivers/base/class.c
+@@ -841,6 +841,7 @@ int class_interface_register(struct clas
+ {
+ struct class *parent;
+ struct class_device *class_dev;
++ struct device *dev;
+
+ if (!class_intf || !class_intf->class)
+ return -ENODEV;
+@@ -855,6 +856,10 @@ int class_interface_register(struct clas
+ list_for_each_entry(class_dev, &parent->children, node)
+ class_intf->add(class_dev, class_intf);
+ }
++ if (class_intf->add_dev) {
++ list_for_each_entry(dev, &parent->devices, node)
++ class_intf->add_dev(dev, class_intf);
++ }
+ up(&parent->sem);
+
+ return 0;
+@@ -864,6 +869,7 @@ void class_interface_unregister(struct c
+ {
+ struct class * parent = class_intf->class;
+ struct class_device *class_dev;
++ struct device *dev;
+
+ if (!parent)
+ return;
+@@ -874,6 +880,10 @@ void class_interface_unregister(struct c
+ list_for_each_entry(class_dev, &parent->children, node)
+ class_intf->remove(class_dev, class_intf);
+ }
++ if (class_intf->remove_dev) {
++ list_for_each_entry(dev, &parent->devices, node)
++ class_intf->remove_dev(dev, class_intf);
++ }
+ up(&parent->sem);
+
+ class_put(parent);
+--- linux-2.6.18.orig/drivers/base/core.c
++++ linux-2.6.18/drivers/base/core.c
+@@ -368,6 +368,7 @@ int device_add(struct device *dev)
+ {
+ struct device *parent = NULL;
+ char *class_name = NULL;
++ struct class_interface *class_intf;
+ int error = -EINVAL;
+
+ dev = get_device(dev);
+@@ -447,9 +448,14 @@ int device_add(struct device *dev)
+ klist_add_tail(&dev->knode_parent, &parent->klist_children);
+
+ if (dev->class) {
+- /* tie the class to the device */
+ down(&dev->class->sem);
++ /* tie the class to the device */
+ list_add_tail(&dev->node, &dev->class->devices);
++
++ /* notify any interfaces that the device is here */
++ list_for_each_entry(class_intf, &dev->class->interfaces, node)
++ if (class_intf->add_dev)
++ class_intf->add_dev(dev, class_intf);
+ up(&dev->class->sem);
+ }
+
+@@ -544,6 +550,7 @@ void device_del(struct device * dev)
+ {
+ struct device * parent = dev->parent;
+ char *class_name = NULL;
++ struct class_interface *class_intf;
+
+ if (parent)
+ klist_del(&dev->knode_parent);
+@@ -559,6 +566,11 @@ void device_del(struct device * dev)
+ }
+ kfree(class_name);
+ down(&dev->class->sem);
++ /* notify any interfaces that the device is now gone */
++ list_for_each_entry(class_intf, &dev->class->interfaces, node)
++ if (class_intf->remove_dev)
++ class_intf->remove_dev(dev, class_intf);
++ /* remove the device from the class list */
+ list_del_init(&dev->node);
+ up(&dev->class->sem);
+ }
+--- linux-2.6.18.orig/include/linux/device.h
++++ linux-2.6.18/include/linux/device.h
+@@ -272,6 +272,8 @@ struct class_interface {
+
+ int (*add) (struct class_device *, struct class_interface *);
+ void (*remove) (struct class_device *, struct class_interface *);
++ int (*add_dev) (struct device *, struct class_interface *);
++ void (*remove_dev) (struct device *, struct class_interface *);
+ };
+
+ extern int class_interface_register(struct class_interface *);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/crasher-26.diff new/patches.suse/crasher-26.diff
--- old/patches.suse/crasher-26.diff 2006-09-20 20:45:15.000000000 +0200
+++ new/patches.suse/crasher-26.diff 2006-09-28 01:29:16.000000000 +0200
@@ -9,7 +9,7 @@
--- linux-2.6.18.orig/drivers/char/Kconfig
+++ linux-2.6.18/drivers/char/Kconfig
-@@ -1063,5 +1063,10 @@ config TELCLOCK
+@@ -1073,5 +1073,10 @@ config TELCLOCK
sysfs directory, /sys/devices/platform/telco_clock, with a number of
files for controlling the behavior of this hardware.
@@ -22,7 +22,7 @@
--- linux-2.6.18.orig/drivers/char/Makefile
+++ linux-2.6.18/drivers/char/Makefile
-@@ -98,6 +98,7 @@ obj-$(CONFIG_IPMI_HANDLER) += ipmi/
+@@ -99,6 +99,7 @@ obj-$(CONFIG_IPMI_HANDLER) += ipmi/
obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
obj-$(CONFIG_TCG_TPM) += tpm/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/device-class-attr.patch new/patches.suse/device-class-attr.patch
--- old/patches.suse/device-class-attr.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/device-class-attr.patch 2006-09-27 23:20:22.000000000 +0200
@@ -0,0 +1,150 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Wed, 28 Jun 2006 16:19:58 -0700
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: Driver core: add ability for classes to handle devices properly
+Patch-mainline: 2.6.19
+
+This adds two new callbacks to the class structure:
+ int (*dev_uevent)(struct device *dev, char **envp, int num_envp,
+ char *buffer, int buffer_size);
+ void (*dev_release)(struct device *dev);
+
+And one pointer:
+ struct device_attribute * dev_attrs;
+
+which all corrispond with the same thing as the "normal" class devices
+do, yet this is for when a struct device is bound to a class.
+
+Someday soon, struct class_device will go away, and then the other
+fields in this structure can be removed too. But this is necessary in
+order to get the transition to work properly.
+
+Tested out on a network core patch that converted it to use struct
+device instead of struct class_device.
+
+
+Signed-off-by: Greg Kroah-Hartman
+
+
+---
+ drivers/base/core.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++
+ include/linux/device.h | 4 +++
+ 2 files changed, 57 insertions(+)
+
+--- linux-2.6.18.orig/drivers/base/core.c
++++ linux-2.6.18/drivers/base/core.c
+@@ -94,6 +94,8 @@ static void device_release(struct kobjec
+
+ if (dev->release)
+ dev->release(dev);
++ else if (dev->class && dev->class->dev_release)
++ dev->class->dev_release(dev);
+ else {
+ printk(KERN_ERR "Device '%s' does not have a release() function, "
+ "it is broken and must be fixed.\n",
+@@ -179,6 +181,15 @@ static int dev_uevent(struct kset *kset,
+ }
+ }
+
++ if (dev->class && dev->class->dev_uevent) {
++ /* have the class specific function add its stuff */
++ retval = dev->class->dev_uevent(dev, envp, num_envp, buffer, buffer_size);
++ if (retval) {
++ pr_debug("%s - dev_uevent() returned %d\n",
++ __FUNCTION__, retval);
++ }
++ }
++
+ return retval;
+ }
+
+@@ -224,6 +235,43 @@ static void device_remove_groups(struct
+ }
+ }
+
++static int device_add_attrs(struct device *dev)
++{
++ struct class *class = dev->class;
++ int error = 0;
++ int i;
++
++ if (!class)
++ return 0;
++
++ if (class->dev_attrs) {
++ for (i = 0; attr_name(class->dev_attrs[i]); i++) {
++ error = device_create_file(dev, &class->dev_attrs[i]);
++ if (error)
++ break;
++ }
++ }
++ if (error)
++ while (--i >= 0)
++ device_remove_file(dev, &class->dev_attrs[i]);
++ return error;
++}
++
++static void device_remove_attrs(struct device *dev)
++{
++ struct class *class = dev->class;
++ int i;
++
++ if (!class)
++ return;
++
++ if (class->dev_attrs) {
++ for (i = 0; attr_name(class->dev_attrs[i]); i++)
++ device_remove_file(dev, &class->dev_attrs[i]);
++ }
++}
++
++
+ static ssize_t show_dev(struct device *dev, struct device_attribute *attr,
+ char *buf)
+ {
+@@ -378,6 +426,8 @@ int device_add(struct device *dev)
+ }
+ }
+
++ if ((error = device_add_attrs(dev)))
++ goto AttrsError;
+ if ((error = device_add_groups(dev)))
+ goto GroupError;
+ if ((error = device_pm_add(dev)))
+@@ -408,6 +458,8 @@ int device_add(struct device *dev)
+ PMError:
+ device_remove_groups(dev);
+ GroupError:
++ device_remove_attrs(dev);
++ AttrsError:
+ if (dev->devt_attr) {
+ device_remove_file(dev, dev->devt_attr);
+ kfree(dev->devt_attr);
+@@ -505,6 +557,7 @@ void device_del(struct device * dev)
+ }
+ device_remove_file(dev, &dev->uevent_attr);
+ device_remove_groups(dev);
++ device_remove_attrs(dev);
+
+ /* Notify the platform of the removal, in case they
+ * need to do anything...
+--- linux-2.6.18.orig/include/linux/device.h
++++ linux-2.6.18/include/linux/device.h
+@@ -148,12 +148,16 @@ struct class {
+
+ struct class_attribute * class_attrs;
+ struct class_device_attribute * class_dev_attrs;
++ struct device_attribute * dev_attrs;
+
+ int (*uevent)(struct class_device *dev, char **envp,
+ int num_envp, char *buffer, int buffer_size);
++ int (*dev_uevent)(struct device *dev, char **envp, int num_envp,
++ char *buffer, int buffer_size);
+
+ void (*release)(struct class_device *dev);
+ void (*class_release)(struct class *class);
++ void (*dev_release)(struct device *dev);
+ };
+
+ extern int class_register(struct class *);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/device-class-parent.patch new/patches.suse/device-class-parent.patch
--- old/patches.suse/device-class-parent.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/device-class-parent.patch 2006-09-27 23:20:22.000000000 +0200
@@ -0,0 +1,74 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Wed, 28 Jun 2006 16:19:58 -0700
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: Driver core: allow devices in classes to have no parent
+Patch-mainline: 2.6.19
+
+This fixes an oops when a device is attached to a class, yet has no
+"parent" device. An example of this would be the "lo" device in the
+network core.
+
+We should create a "virtual" subdirectory under /sys/devices/ for these,
+but no one seems to agree on a proper name for it yet...
+
+Oh, and update my copyright on the driver core.
+
+Signed-off-by: Greg Kroah-Hartman
+
+
+---
+ drivers/base/core.c | 21 +++++++++++----------
+ 1 files changed, 11 insertions(+), 10 deletions(-)
+
+--- linux-2.6.18.orig/drivers/base/core.c
++++ linux-2.6.18/drivers/base/core.c
+@@ -3,6 +3,8 @@
+ *
+ * Copyright (c) 2002-3 Patrick Mochel
+ * Copyright (c) 2002-3 Open Source Development Labs
++ * Copyright (c) 2006 Greg Kroah-Hartman
++ * Copyright (c) 2006 Novell, Inc.
+ *
+ * This file is released under the GPLv2
+ *
+@@ -369,10 +371,11 @@ int device_add(struct device *dev)
+ "subsystem");
+ sysfs_create_link(&dev->class->subsys.kset.kobj, &dev->kobj,
+ dev->bus_id);
+-
+- sysfs_create_link(&dev->kobj, &dev->parent->kobj, "device");
+- class_name = make_class_name(dev->class->name, &dev->kobj);
+- sysfs_create_link(&dev->parent->kobj, &dev->kobj, class_name);
++ if (parent) {
++ sysfs_create_link(&dev->kobj, &dev->parent->kobj, "device");
++ class_name = make_class_name(dev->class->name, &dev->kobj);
++ sysfs_create_link(&dev->parent->kobj, &dev->kobj, class_name);
++ }
+ }
+
+ if ((error = device_add_groups(dev)))
+@@ -491,8 +494,10 @@ void device_del(struct device * dev)
+ sysfs_remove_link(&dev->kobj, "subsystem");
+ sysfs_remove_link(&dev->class->subsys.kset.kobj, dev->bus_id);
+ class_name = make_class_name(dev->class->name, &dev->kobj);
+- sysfs_remove_link(&dev->kobj, "device");
+- sysfs_remove_link(&dev->parent->kobj, class_name);
++ if (parent) {
++ sysfs_remove_link(&dev->kobj, "device");
++ sysfs_remove_link(&dev->parent->kobj, class_name);
++ }
+ kfree(class_name);
+ down(&dev->class->sem);
+ list_del_init(&dev->node);
+@@ -621,10 +626,6 @@ struct device *device_create(struct clas
+
+ if (class == NULL || IS_ERR(class))
+ goto error;
+- if (parent == NULL) {
+- printk(KERN_WARNING "%s does not work yet for NULL parents\n", __FUNCTION__);
+- goto error;
+- }
+
+ dev = kzalloc(sizeof(*dev), GFP_KERNEL);
+ if (!dev) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/device-groups.patch new/patches.suse/device-groups.patch
--- old/patches.suse/device-groups.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/device-groups.patch 2006-09-27 23:20:22.000000000 +0200
@@ -0,0 +1,91 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Tue, 27 Jun 2006 00:06:09 -0700
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: Driver core: add groups support to struct device
+Patch-mainline: 2.6.19
+
+This is needed for the network class devices in order to be able to
+convert over to use struct device.
+
+Signed-off-by: Greg Kroah-Hartman
+
+---
+ drivers/base/core.c | 34 ++++++++++++++++++++++++++++++++++
+ include/linux/device.h | 1 +
+ 2 files changed, 35 insertions(+)
+
+--- linux-2.6.18.orig/drivers/base/core.c
++++ linux-2.6.18/drivers/base/core.c
+@@ -193,6 +193,35 @@ static ssize_t store_uevent(struct devic
+ return count;
+ }
+
++static int device_add_groups(struct device *dev)
++{
++ int i;
++ int error = 0;
++
++ if (dev->groups) {
++ for (i = 0; dev->groups[i]; i++) {
++ error = sysfs_create_group(&dev->kobj, dev->groups[i]);
++ if (error) {
++ while (--i >= 0)
++ sysfs_remove_group(&dev->kobj, dev->groups[i]);
++ goto out;
++ }
++ }
++ }
++out:
++ return error;
++}
++
++static void device_remove_groups(struct device *dev)
++{
++ int i;
++ if (dev->groups) {
++ for (i = 0; dev->groups[i]; i++) {
++ sysfs_remove_group(&dev->kobj, dev->groups[i]);
++ }
++ }
++}
++
+ static ssize_t show_dev(struct device *dev, struct device_attribute *attr,
+ char *buf)
+ {
+@@ -346,6 +375,8 @@ int device_add(struct device *dev)
+ sysfs_create_link(&dev->parent->kobj, &dev->kobj, class_name);
+ }
+
++ if ((error = device_add_groups(dev)))
++ goto GroupError;
+ if ((error = device_pm_add(dev)))
+ goto PMError;
+ if ((error = bus_add_device(dev)))
+@@ -372,6 +403,8 @@ int device_add(struct device *dev)
+ BusError:
+ device_pm_remove(dev);
+ PMError:
++ device_remove_groups(dev);
++ GroupError:
+ if (dev->devt_attr) {
+ device_remove_file(dev, dev->devt_attr);
+ kfree(dev->devt_attr);
+@@ -466,6 +499,7 @@ void device_del(struct device * dev)
+ up(&dev->class->sem);
+ }
+ device_remove_file(dev, &dev->uevent_attr);
++ device_remove_groups(dev);
+
+ /* Notify the platform of the removal, in case they
+ * need to do anything...
+--- linux-2.6.18.orig/include/linux/device.h
++++ linux-2.6.18/include/linux/device.h
+@@ -338,6 +338,7 @@ struct device {
+ struct list_head node;
+ struct class *class; /* optional*/
+ dev_t devt; /* dev_t, creates the sysfs "dev" */
++ struct attribute_group **groups; /* optional groups */
+
+ void (*release)(struct device * dev);
+ };
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/device-virtual.patch new/patches.suse/device-virtual.patch
--- old/patches.suse/device-virtual.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/device-virtual.patch 2006-09-27 23:20:22.000000000 +0200
@@ -0,0 +1,99 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Mon, 7 Aug 2006 22:19:37 -0700
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: Driver core: create devices/virtual/ tree
+Patch-mainline: 2.6.19
+
+This change creates a devices/virtual/CLASS_NAME tree for struct devices
+that belong to a class, yet do not have a "real" struct device for a
+parent. It automatically creates the directories on the fly as needed.
+
+
+Cc: Kay Sievers
+Signed-off-by: Greg Kroah-Hartman
+
+---
+ drivers/base/class.c | 17 +++++++++++++++++
+ drivers/base/core.c | 7 +++++++
+ include/linux/device.h | 5 ++++-
+ 3 files changed, 28 insertions(+), 1 deletion(-)
+
+--- linux-2.6.18.orig/drivers/base/class.c
++++ linux-2.6.18/drivers/base/class.c
+@@ -19,6 +19,8 @@
+ #include
+ #include "base.h"
+
++extern struct subsystem devices_subsys;
++
+ #define to_class_attr(_attr) container_of(_attr, struct class_attribute, attr)
+ #define to_class(obj) container_of(obj, struct class, subsys.kset.kobj)
+
+@@ -877,7 +879,22 @@ void class_interface_unregister(struct c
+ class_put(parent);
+ }
+
++int virtual_device_parent(struct device *dev)
++{
++ if (!dev->class)
++ return -ENODEV;
++
++ if (!dev->class->virtual_dir) {
++ static struct kobject *virtual_dir = NULL;
+
++ if (!virtual_dir)
++ virtual_dir = kobject_add_dir(&devices_subsys.kset.kobj, "virtual");
++ dev->class->virtual_dir = kobject_add_dir(virtual_dir, dev->class->name);
++ }
++
++ dev->kobj.parent = dev->class->virtual_dir;
++ return 0;
++}
+
+ int __init classes_init(void)
+ {
+--- linux-2.6.18.orig/drivers/base/core.c
++++ linux-2.6.18/drivers/base/core.c
+@@ -374,6 +374,13 @@ int device_add(struct device *dev)
+ if (!dev || !strlen(dev->bus_id))
+ goto Error;
+
++ /* if this is a class device, and has no parent, create one */
++ if ((dev->class) && (dev->parent == NULL)) {
++ error = virtual_device_parent(dev);
++ if (error)
++ goto Error;
++ }
++
+ parent = get_device(dev->parent);
+
+ pr_debug("DEV: registering device: ID = '%s'\n", dev->bus_id);
+--- linux-2.6.18.orig/include/linux/device.h
++++ linux-2.6.18/include/linux/device.h
+@@ -146,6 +146,8 @@ struct class {
+ struct list_head interfaces;
+ struct semaphore sem; /* locks both the children and interfaces lists */
+
++ struct kobject *virtual_dir;
++
+ struct class_attribute * class_attrs;
+ struct class_device_attribute * class_dev_attrs;
+ struct device_attribute * dev_attrs;
+@@ -285,7 +287,6 @@ extern struct class_device *class_device
+ __attribute__((format(printf,5,6)));
+ extern void class_device_destroy(struct class *cls, dev_t devt);
+
+-
+ /* interface for exporting device attributes */
+ struct device_attribute {
+ struct attribute attr;
+@@ -394,6 +395,8 @@ extern struct device *device_create(stru
+ __attribute__((format(printf,4,5)));
+ extern void device_destroy(struct class *cls, dev_t devt);
+
++extern int virtual_device_parent(struct device *dev);
++
+ /*
+ * Platform "fixup" functions - allow the platform to have their say
+ * about devices and actions that the general device layer doesn't
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/device_bin_file.patch new/patches.suse/device_bin_file.patch
--- old/patches.suse/device_bin_file.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/device_bin_file.patch 2006-09-27 23:20:22.000000000 +0200
@@ -0,0 +1,66 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Tue, 19 Sep 2006 09:39:19 -0700
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: Driver core: add ability for devices to create and remove bin files
+Patch-mainline: 2.6.19
+
+Makes it easier for devices to create and remove binary attribute files
+so they don't have to call directly into sysfs. This is needed to help
+with the conversion from struct class_device to struct device.
+
+Signed-off-by: Greg Kroah-Hartman
+
+---
+ drivers/base/core.c | 26 ++++++++++++++++++++++++++
+ include/linux/device.h | 4 ++++
+ 2 files changed, 30 insertions(+)
+
+--- linux-2.6.18.orig/drivers/base/core.c
++++ linux-2.6.18/drivers/base/core.c
+@@ -315,6 +315,32 @@ void device_remove_file(struct device *
+ }
+ }
+
++/**
++ * device_create_bin_file - create sysfs binary attribute file for device.
++ * @dev: device.
++ * @attr: device binary attribute descriptor.
++ */
++int device_create_bin_file(struct device *dev, struct bin_attribute *attr)
++{
++ int error = -EINVAL;
++ if (dev)
++ error = sysfs_create_bin_file(&dev->kobj, attr);
++ return error;
++}
++EXPORT_SYMBOL_GPL(device_create_bin_file);
++
++/**
++ * device_remove_bin_file - remove sysfs binary attribute file
++ * @dev: device.
++ * @attr: device binary attribute descriptor.
++ */
++void device_remove_bin_file(struct device *dev, struct bin_attribute *attr)
++{
++ if (dev)
++ sysfs_remove_bin_file(&dev->kobj, attr);
++}
++EXPORT_SYMBOL_GPL(device_remove_bin_file);
++
+ static void klist_children_get(struct klist_node *n)
+ {
+ struct device *dev = container_of(n, struct device, knode_parent);
+--- linux-2.6.18.orig/include/linux/device.h
++++ linux-2.6.18/include/linux/device.h
+@@ -303,6 +303,10 @@ struct device_attribute dev_attr_##_name
+
+ extern int device_create_file(struct device *device, struct device_attribute * entry);
+ extern void device_remove_file(struct device * dev, struct device_attribute * attr);
++extern int __must_check device_create_bin_file(struct device *dev,
++ struct bin_attribute *attr);
++extern void device_remove_bin_file(struct device *dev,
++ struct bin_attribute *attr);
+ struct device {
+ struct klist klist_children;
+ struct klist_node knode_parent; /* node in sibling list */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/device_rename.patch new/patches.suse/device_rename.patch
--- old/patches.suse/device_rename.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/device_rename.patch 2006-09-27 23:20:22.000000000 +0200
@@ -0,0 +1,88 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Mon, 3 Jul 2006 14:31:12 -0700
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: Driver core: add device_rename function
+Patch-mainline: 2.6.19
+
+The network layer needs this to convert to using struct device instead
+of a struct class_device.
+
+Signed-off-by: Greg Kroah-Hartman
+
+---
+ drivers/base/core.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++
+ include/linux/device.h | 1
+ 2 files changed, 56 insertions(+)
+
+--- linux-2.6.18.orig/drivers/base/core.c
++++ linux-2.6.18/drivers/base/core.c
+@@ -732,3 +732,58 @@ void device_destroy(struct class *class,
+ device_unregister(dev);
+ }
+ EXPORT_SYMBOL_GPL(device_destroy);
++
++/**
++ * device_rename - renames a device
++ * @dev: the pointer to the struct device to be renamed
++ * @new_name: the new name of the device
++ */
++int device_rename(struct device *dev, char *new_name)
++{
++ char *old_class_name = NULL;
++ char *new_class_name = NULL;
++ char *old_symlink_name = NULL;
++ int error;
++
++ dev = get_device(dev);
++ if (!dev)
++ return -EINVAL;
++
++ pr_debug("DEVICE: renaming '%s' to '%s'\n", dev->bus_id, new_name);
++
++ if ((dev->class) && (dev->parent))
++ old_class_name = make_class_name(dev->class->name, &dev->kobj);
++
++ if (dev->class) {
++ old_symlink_name = kmalloc(BUS_ID_SIZE, GFP_KERNEL);
++ if (!old_symlink_name)
++ return -ENOMEM;
++ strlcpy(old_symlink_name, dev->bus_id, BUS_ID_SIZE);
++ }
++
++ strlcpy(dev->bus_id, new_name, BUS_ID_SIZE);
++
++ error = kobject_rename(&dev->kobj, new_name);
++
++ if (old_class_name) {
++ new_class_name = make_class_name(dev->class->name, &dev->kobj);
++ if (new_class_name) {
++ sysfs_create_link(&dev->parent->kobj, &dev->kobj,
++ new_class_name);
++ sysfs_remove_link(&dev->parent->kobj, old_class_name);
++ }
++ }
++ if (dev->class) {
++ sysfs_remove_link(&dev->class->subsys.kset.kobj,
++ old_symlink_name);
++ sysfs_create_link(&dev->class->subsys.kset.kobj, &dev->kobj,
++ dev->bus_id);
++ }
++ put_device(dev);
++
++ kfree(old_class_name);
++ kfree(new_class_name);
++ kfree(old_symlink_name);
++
++ return error;
++}
+--- linux-2.6.18.orig/include/linux/device.h
++++ linux-2.6.18/include/linux/device.h
+@@ -374,6 +374,7 @@ extern int device_add(struct device * de
+ extern void device_del(struct device * dev);
+ extern int device_for_each_child(struct device *, void *,
+ int (*fn)(struct device *, void *));
++extern int device_rename(struct device *dev, char *new_name);
+
+ /*
+ * Manual binding of a device to driver. See drivers/base/bus.c
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/driver-multithread.patch new/patches.suse/driver-multithread.patch
--- old/patches.suse/driver-multithread.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/driver-multithread.patch 2006-09-27 23:40:30.000000000 +0200
@@ -0,0 +1,222 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Tue, 18 Jul 2006 10:59:59 -0700
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: Driver Core: add ability for drivers to do a threaded probe
+Patch-mainline: 2.6.19
+
+This adds the infrastructure for drivers to do a threaded probe, and
+waits at init time for all currently outstanding probes to complete.
+
+A new kernel thread will be created when the probe() function for the
+driver is called, if the multithread_probe bit is set in the driver
+saying it can support this kind of operation.
+
+I have tested this with USB and PCI, and it works, and shaves off a lot
+of time in the boot process, but there are issues with finding root boot
+disks, and some USB drivers assume that this can never happen, so it is
+currently not enabled for any bus type. Individual drivers can enable
+this right now if they wish, and bus authors can selectivly turn it on
+as well, once they determine that their subsystem will work properly
+with it.
+
+Signed-off-by: Greg Kroah-Hartman
+
+---
+ drivers/base/dd.c | 108 ++++++++++++++++++++++++++++++++++++-------------
+ include/linux/device.h | 3 +
+ init/do_mounts.c | 5 ++
+ 3 files changed, 89 insertions(+), 27 deletions(-)
+
+--- linux-2.6.18.orig/drivers/base/dd.c
++++ linux-2.6.18/drivers/base/dd.c
+@@ -17,6 +17,7 @@
+
+ #include
+ #include
++#include
+
+ #include "base.h"
+ #include "power/power.h"
+@@ -51,53 +52,44 @@ void device_bind_driver(struct device *
+ sysfs_create_link(&dev->kobj, &dev->driver->kobj, "driver");
+ }
+
+-/**
+- * driver_probe_device - attempt to bind device & driver.
+- * @drv: driver.
+- * @dev: device.
+- *
+- * First, we call the bus's match function, if one present, which
+- * should compare the device IDs the driver supports with the
+- * device IDs of the device. Note we don't do this ourselves
+- * because we don't know the format of the ID structures, nor what
+- * is to be considered a match and what is not.
+- *
+- * This function returns 1 if a match is found, an error if one
+- * occurs (that is not -ENODEV or -ENXIO), and 0 otherwise.
+- *
+- * This function must be called with @dev->sem held. When called
+- * for a USB interface, @dev->parent->sem must be held as well.
+- */
+-int driver_probe_device(struct device_driver * drv, struct device * dev)
++struct stupid_thread_structure {
++ struct device_driver *drv;
++ struct device *dev;
++};
++
++static atomic_t probe_count = ATOMIC_INIT(0);
++static int really_probe(void *void_data)
+ {
++ struct stupid_thread_structure *data = void_data;
++ struct device_driver *drv = data->drv;
++ struct device *dev = data->dev;
+ int ret = 0;
+
+- if (drv->bus->match && !drv->bus->match(dev, drv))
+- goto Done;
++ atomic_inc(&probe_count);
++ pr_debug("%s: Probing driver %s with device %s\n",
++ drv->bus->name, drv->name, dev->bus_id);
+
+- pr_debug("%s: Matched Device %s with Driver %s\n",
+- drv->bus->name, dev->bus_id, drv->name);
+ dev->driver = drv;
+ if (dev->bus->probe) {
+ ret = dev->bus->probe(dev);
+ if (ret) {
+ dev->driver = NULL;
+- goto ProbeFailed;
++ goto probe_failed;
+ }
+ } else if (drv->probe) {
+ ret = drv->probe(dev);
+ if (ret) {
+ dev->driver = NULL;
+- goto ProbeFailed;
++ goto probe_failed;
+ }
+ }
+ device_bind_driver(dev);
+ ret = 1;
+ pr_debug("%s: Bound Device %s to Driver %s\n",
+ drv->bus->name, dev->bus_id, drv->name);
+- goto Done;
++ goto done;
+
+- ProbeFailed:
++probe_failed:
+ if (ret == -ENODEV || ret == -ENXIO) {
+ /* Driver matched, but didn't support device
+ * or device not found.
+@@ -110,7 +102,69 @@ int driver_probe_device(struct device_dr
+ "%s: probe of %s failed with error %d\n",
+ drv->name, dev->bus_id, ret);
+ }
+- Done:
++done:
++ kfree(data);
++ atomic_dec(&probe_count);
++ return ret;
++}
++
++/**
++ * driver_probe_done
++ * Determine if the probe sequence is finished or not.
++ *
++ * Should somehow figure out how to use a semaphore, not an atomic variable...
++ */
++int driver_probe_done(void)
++{
++ pr_debug("%s: probe_count = %d\n", __FUNCTION__,
++ atomic_read(&probe_count));
++ if (atomic_read(&probe_count))
++ return -EBUSY;
++ return 0;
++}
++
++/**
++ * driver_probe_device - attempt to bind device & driver together
++ * @drv: driver to bind a device to
++ * @dev: device to try to bind to the driver
++ *
++ * First, we call the bus's match function, if one present, which should
++ * compare the device IDs the driver supports with the device IDs of the
++ * device. Note we don't do this ourselves because we don't know the
++ * format of the ID structures, nor what is to be considered a match and
++ * what is not.
++ *
++ * This function returns 1 if a match is found, an error if one occurs
++ * (that is not -ENODEV or -ENXIO), and 0 otherwise.
++ *
++ * This function must be called with @dev->sem held. When called for a
++ * USB interface, @dev->parent->sem must be held as well.
++ */
++int driver_probe_device(struct device_driver * drv, struct device * dev)
++{
++ struct stupid_thread_structure *data;
++ struct task_struct *probe_task;
++ int ret = 0;
++
++ if (drv->bus->match && !drv->bus->match(dev, drv))
++ goto done;
++
++ pr_debug("%s: Matched Device %s with Driver %s\n",
++ drv->bus->name, dev->bus_id, drv->name);
++
++ data = kmalloc(sizeof(*data), GFP_KERNEL);
++ data->drv = drv;
++ data->dev = dev;
++
++ if (drv->multithread_probe) {
++ probe_task = kthread_run(really_probe, data,
++ "probe-%s", dev->bus_id);
++ if (IS_ERR(probe_task))
++ ret = PTR_ERR(probe_task);
++ } else
++ ret = really_probe(data);
++
++done:
+ return ret;
+ }
+
+--- linux-2.6.18.orig/include/linux/device.h
++++ linux-2.6.18/include/linux/device.h
+@@ -101,6 +101,8 @@ struct device_driver {
+ void (*shutdown) (struct device * dev);
+ int (*suspend) (struct device * dev, pm_message_t state);
+ int (*resume) (struct device * dev);
++
++ unsigned int multithread_probe:1;
+ };
+
+
+@@ -110,6 +112,7 @@ extern void driver_unregister(struct dev
+ extern struct device_driver * get_driver(struct device_driver * drv);
+ extern void put_driver(struct device_driver * drv);
+ extern struct device_driver *driver_find(const char *name, struct bus_type *bus);
++extern int driver_probe_done(void);
+
+
+ /* driverfs interface for exporting driver attributes */
+--- linux-2.6.18.orig/init/do_mounts.c
++++ linux-2.6.18/init/do_mounts.c
+@@ -8,6 +8,7 @@
+ #include
+ #include
+ #include
++#include
+
+ #include
+ #include
+@@ -403,6 +404,10 @@ void __init prepare_namespace(void)
+ ssleep(root_delay);
+ }
+
++ /* wait for the known devices to complete their probing */
++ while (driver_probe_done() != 0)
++ msleep(100);
++
+ md_run_setup();
+
+ if (saved_root_name[0]) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/pci-multithreaded-probe.patch new/patches.suse/pci-multithreaded-probe.patch
--- old/patches.suse/pci-multithreaded-probe.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pci-multithreaded-probe.patch 2006-09-27 23:40:30.000000000 +0200
@@ -0,0 +1,54 @@
+From foo@baz Tue Apr 9 12:12:43 2002
+Date: Tue, 18 Jul 2006 10:59:59 -0700
+To: Greg KH
+From: Greg Kroah-Hartman
+Subject: PCI: enable driver multi-threaded probe
+Patch-mainline: 2.6.19
+
+This provides a build and run-time option to turn on multhreaded probe
+for all PCI drivers. It can cause bad problems on multi-processor
+machines that take a while to find their root disks, and play havoc on
+machines that don't use persistant device names for block or network
+devices.
+
+But it can cause speedups on some machines, my tiny laptop's boot goes
+up by 0.4 seconds, and my desktop boots up several seconds faster.
+
+Use at your own risk!!!
+
+Note, this is slightly different from what is in mainline, there is no
+config option, you must use the kernel boot line to enable this.
+
+Signed-off-by: Greg Kroah-Hartman
+
+---
+ drivers/pci/pci-driver.c | 11 +++++++++++
+ 1 files changed, 11 insertions(+)
+
+--- linux-2.6.18.orig/drivers/pci/pci-driver.c
++++ linux-2.6.18/drivers/pci/pci-driver.c
+@@ -17,6 +17,16 @@
+ * Registration of PCI drivers and handling of hot-pluggable devices.
+ */
+
++/* multithreaded probe logic */
++static int pci_multithread_probe =
++#ifdef CONFIG_PCI_MULTITHREAD_PROBE
++ 1;
++#else
++ 0;
++#endif
++__module_param_call("", pci_multithread_probe, param_set_bool, param_get_bool, &pci_multithread_probe, 0644);
++
++
+ /*
+ * Dynamic device IDs are disabled for !CONFIG_HOTPLUG
+ */
+@@ -385,6 +395,7 @@ int __pci_register_driver(struct pci_dri
+ drv->driver.bus = &pci_bus_type;
+ drv->driver.owner = owner;
+ drv->driver.kobj.ktype = &pci_driver_kobj_type;
++ drv->driver.multithread_probe = pci_multithread_probe;
+
+ spin_lock_init(&drv->dynids.lock);
+ INIT_LIST_HEAD(&drv->dynids.list);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/usb-storage-disable-delay.patch new/patches.suse/usb-storage-disable-delay.patch
--- old/patches.suse/usb-storage-disable-delay.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/usb-storage-disable-delay.patch 2006-09-28 01:10:02.000000000 +0200
@@ -0,0 +1,29 @@
+From: Greg Kroah-Hartman
+Subject: USB: change default delay time for usb-storage devices
+Patch-mainline: no
+
+This reduces the amount of time someone has to wait for a usb-storage
+device to be usable from 5 seconds to 1 second. Some very old and buggy
+devices might still need the longer timeout, so they can change this
+with the sysfs option.
+
+Change made at the request of the desktop developers who were tired of
+us taking longer than Windows for no good reason.
+
+Signed-off-by: Greg Kroah-Hartman
+
+---
+ drivers/usb/storage/usb.c | 2 +-
+ 1 files changed, 1 insertion(+), 1 deletion(-)
+
+--- linux-2.6.18.orig/drivers/usb/storage/usb.c
++++ linux-2.6.18/drivers/usb/storage/usb.c
+@@ -104,7 +104,7 @@ MODULE_AUTHOR("Matthew Dharm device prep work for the patches below
+ # (these are all in mainline)
+ patches.suse/device-groups.patch
+ patches.suse/device-class-parent.patch
+ patches.suse/device-class-attr.patch
+ patches.suse/device_rename.patch
+ patches.suse/device-virtual.patch
+ patches.suse/class_device_interface.patch
+ patches.suse/device_bin_file.patch
+
+ # PCI multi-threaded device probe (must be enabled on the command line)
+ patches.suse/driver-multithread.patch
+ patches.suse/pci-multithreaded-probe.patch
+
########################################################
# USB
########################################################
# make debugging easier
patches.drivers/always-announce-new-usb-devices.patch
+ patches.suse/usb-storage-disable-delay.patch
########################################################
# I2C
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org