Hello community,
here is the log from the commit of package kernel-source
checked in at Sat May 31 12:29:12 CEST 2008.
--------
--- kernel-source/kernel-debug.changes 2008-05-26 23:13:06.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/kernel-debug.changes 2008-05-29 01:12:20.922755000 +0200
@@ -1,0 +2,12 @@
+Wed May 28 16:17:32 CEST 2008 - teheo@suse.de
+
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+
+-------------------------------------------------------------------
+Wed May 28 11:23:56 CEST 2008 - jkosina@suse.de
+
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
+
+-------------------------------------------------------------------
kernel-default.changes: same change
kernel-dummy.changes: same change
kernel-kdump.changes: same change
kernel-pae.changes: same change
kernel-ppc64.changes: same change
kernel-ps3.changes: same change
kernel-rt.changes: same change
kernel-rt_debug.changes: same change
kernel-s390.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-vanilla.changes: same change
kernel-xen.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:35.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:35.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-debug
Summary: A Debug Version of the Kernel
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 or later
Group: System/Kernel
Url: http://www.kernel.org/
@@ -190,7 +190,7 @@
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -592,6 +592,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
kernel-default.spec: same change
++++++ kernel-dummy.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:35.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:35.000000000 +0200
@@ -16,7 +16,7 @@
Name: kernel-dummy
Summary: Internal dummy package for synchronizing release numbers
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 or later
Group: System/Kernel
AutoReqProv: off
@@ -29,7 +29,7 @@
--------
Andreas Gruenbacher
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%install
rm -rf %buildroot
@@ -40,6 +40,12 @@
%defattr(-, root, root)
/etc/dummy
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-kdump.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:35.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:35.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-kdump
Summary: kernel for kdump
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 or later
Group: System/Kernel
Url: http://lse.sourceforge.net/kdump/
@@ -189,7 +189,7 @@
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -591,6 +591,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:36.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:36.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-pae
Summary: Kernel with PAE Support
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 or later
Group: System/Kernel
Url: http://www.kernel.org/
@@ -185,7 +185,7 @@
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -587,6 +587,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-ppc64.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:36.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:36.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-ppc64
Summary: Kernel for ppc64 Systems
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 or later; LGPL v2.1 or later
Group: System/Kernel
Url: http://www.kernel.org/
@@ -202,7 +202,7 @@
Tom Gall
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -604,6 +604,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-ps3.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:36.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:36.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-ps3
Summary: kernel for ps3 bootloader
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 or later
Group: System/Kernel
Url: http://www.kernel.org/
@@ -188,7 +188,7 @@
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -590,6 +590,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-rt_debug.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:36.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:36.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-rt_debug
Summary: A Debug Version of the Kernel
Version: 2.6.25.4
-Release: 5
+Release: 9
License: GPL v2 or later
Group: System/Kernel
Url: http://www.kernel.org/
@@ -187,7 +187,7 @@
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -589,6 +589,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-rt.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:36.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:36.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-rt
Summary: The Realtime Linux Kernel
Version: 2.6.25.4
-Release: 5
+Release: 9
License: GPL v2 or later
Group: System/Kernel
Url: http://www.kernel.org/
@@ -192,7 +192,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -594,6 +594,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-s390.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:37.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:37.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-s390
Summary: The Standard Kernel
Version: 2.6.25.4
-Release: 6
+Release: 7
License: GPL v2 or later
Group: System/Kernel
Url: http://www.kernel.org/
@@ -183,7 +183,7 @@
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -585,6 +585,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:37.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:37.000000000 +0200
@@ -23,7 +23,7 @@
Name: kernel-source
Summary: The Linux Kernel Sources
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 only
Group: Development/Sources
AutoReqProv: off
@@ -107,7 +107,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -288,6 +288,12 @@
%files -f kernel-source.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:37.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:37.000000000 +0200
@@ -22,7 +22,7 @@
Name: kernel-syms
Summary: Kernel Symbol Versions (modversions)
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 or later
Group: Development/Sources
AutoReqProv: off
@@ -92,7 +92,7 @@
see /usr/src/linux/CREDITS for more details.
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
echo "Architecture symbol(s):" %symbols
@@ -144,6 +144,12 @@
/boot/symsets-*-*.tar.gz
/lib/modules/*/build
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.G24554/_old 2008-05-31 12:25:37.000000000 +0200
+++ /var/tmp/diff_new_pack.G24554/_new 2008-05-31 12:25:37.000000000 +0200
@@ -43,7 +43,7 @@
Name: kernel-vanilla
Summary: The Standard Kernel - without any SUSE patches
Version: 2.6.25.4
-Release: 7
+Release: 9
License: GPL v2 or later
Group: System/Kernel
Url: http://www.kernel.org/
@@ -200,7 +200,7 @@
-Source Timestamp: 2008-05-26 15:23:05 +0200
+Source Timestamp: 2008-05-28 16:25:04 +0200
%prep
if ! [ -e %_sourcedir/linux-2.6.25.tar.bz2 ]; then
@@ -602,6 +602,12 @@
%files -f kernel.files
%changelog
+* Wed May 28 2008 teheo@suse.de
+- patches.drivers/libata-acpi-fix-hotplug: libata: Handle bay
+ devices in dock stations (bnc#390822 bnc#395082).
+* Wed May 28 2008 jkosina@suse.de
+- patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch: Input:
+ Add i8042.nopnp for Intel D845PESV (bnc#386952).
* Mon May 26 2008 sdietrich@suse.de
RT: Update to 2.6.25.4-rt3 - add RWSEM / RWLOCK patches:
- patches.rt/rt-mutex-core.patch: Linux-RT 2.6.25.4-RT3.
kernel-xen.spec: same change
++++++ build-source-timestamp ++++++
--- kernel-source/build-source-timestamp 2008-05-26 23:12:59.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/build-source-timestamp 2008-05-29 01:12:12.782888000 +0200
@@ -1 +1 @@
-2008-05-26 15:23:05 +0200
+2008-05-28 16:25:04 +0200
++++++ config.tar.bz2 ++++++
++++++ kabi.tar.bz2 ++++++
++++++ needed_space_in_mb ++++++
--- kernel-source/needed_space_in_mb 2008-05-27 01:45:46.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/needed_space_in_mb 2008-05-29 01:12:59.467161000 +0200
@@ -1 +1 @@
-6000
+6144
++++++ novell-kmp.tar.bz2 ++++++
++++++ patches.addon.tar.bz2 ++++++
++++++ patches.apparmor.tar.bz2 ++++++
++++++ patches.arch.tar.bz2 ++++++
++++++ patches.drivers.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.drivers/libata-acpi-fix-hotplug new/patches.drivers/libata-acpi-fix-hotplug
--- old/patches.drivers/libata-acpi-fix-hotplug 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.drivers/libata-acpi-fix-hotplug 2008-05-28 16:25:04.000000000 +0200
@@ -0,0 +1,226 @@
+From: Holger Macht
+Subject: libata: Handle bay devices in dock stations
+Patch-mainline: soon. Similar patch in mm-tree
+References: bnc#390822 bnc#395082
+
+* Differentiate between bay devices in dock stations and others:
+
+ - When an ACPI_NOTIFY_EJECT_REQUEST appears, just signal uevent to
+ userspace (that is when the optional eject button on a bay device is
+ pressed/pulled) giving the possibility to unmount file systems and to
+ clean up. Also, only send uevent in case we get an EJECT_REQUEST
+ without doing anything else. In other cases, you'll get an add/remove
+ event because libata attaches/detaches the device.
+
+ - In case of a dock event, which in turn signals an
+ ACPI_NOTIFY_EJECT_REQUEST, immediately detach the device, because it
+ may already have been gone
+
+* In case of an ACPI_NOTIFY_DEVICE/BUS_CHECK, evaluate _STA to check if
+ the device has been plugged or unplugged. If plugged, hotplug it, if
+ unplugged, just signal event to userspace
+ (initial patch by Matthew Garrett )
+
+* Call ACPI _EJ0 for detached devices
+
+Signed-off-by: Holger Macht
+Signed-off-by: Tejun Heo
+---
+ drivers/ata/libata-acpi.c | 124 +++++++++++++++++++++++++++++++++++-----------
+ 1 file changed, 97 insertions(+), 27 deletions(-)
+
+Index: linux-2.6.25/drivers/ata/libata-acpi.c
+===================================================================
+--- linux-2.6.25.orig/drivers/ata/libata-acpi.c
++++ linux-2.6.25/drivers/ata/libata-acpi.c
+@@ -118,8 +118,40 @@ static void ata_acpi_associate_ide_port(
+ ap->pflags |= ATA_PFLAG_INIT_GTM_VALID;
+ }
+
++static void ata_acpi_eject_device(acpi_handle handle)
++{
++ struct acpi_object_list arg_list;
++ union acpi_object arg;
++
++ arg_list.count = 1;
++ arg_list.pointer = &arg;
++ arg.type = ACPI_TYPE_INTEGER;
++ arg.integer.value = 1;
++
++ if (ACPI_FAILURE(acpi_evaluate_object(handle, "_EJ0",
++ &arg_list, NULL)))
++ printk(KERN_ERR "Failed to evaluate _EJ0!\n");
++}
++
++static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev)
++{
++ if (dev)
++ dev->flags |= ATA_DFLAG_DETACH;
++ else {
++ struct ata_link *tlink;
++ struct ata_device *tdev;
++
++ ata_port_for_each_link(tlink, ap)
++ ata_link_for_each_dev(tdev, tlink)
++ tdev->flags |= ATA_DFLAG_DETACH;
++ }
++
++ ata_port_freeze(ap);
++ ata_port_schedule_eh(ap);
++}
++
+ static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device *dev,
+- u32 event)
++ u32 event, int is_dock_event)
+ {
+ char event_string[12];
+ char *envp[] = { event_string, NULL };
+@@ -127,68 +159,106 @@ static void ata_acpi_handle_hotplug(stru
+ struct kobject *kobj = NULL;
+ int wait = 0;
+ unsigned long flags;
++ acpi_handle handle, tmphandle;
++ unsigned long sta;
++ acpi_status status;
+
+ if (!ap)
+ ap = dev->link->ap;
+ ehi = &ap->link.eh_info;
+
++ if (dev) {
++ if (dev->sdev)
++ kobj = &dev->sdev->sdev_gendev.kobj;
++ handle = dev->acpi_handle;
++ } else {
++ kobj = &ap->dev->kobj;
++ handle = ap->acpi_handle;
++ }
++
++ status = acpi_get_handle(handle, "_EJ0", &tmphandle);
++ if (ACPI_FAILURE(status))
++ /* This device does not support hotplug */
++ return;
++
+ spin_lock_irqsave(ap->lock, flags);
+
+ switch (event) {
+ case ACPI_NOTIFY_BUS_CHECK:
+ case ACPI_NOTIFY_DEVICE_CHECK:
+ ata_ehi_push_desc(ehi, "ACPI event");
+- ata_ehi_hotplugged(ehi);
+- ata_port_freeze(ap);
+- break;
+
++ status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
++ if (ACPI_FAILURE(status)) {
++ printk(KERN_ERR "Unable to determine bay status\n");
++ break;
++ }
++
++ if (sta) {
++ ata_ehi_hotplugged(ehi);
++ ata_port_freeze(ap);
++ } else {
++ /* The device has gone - unplug it */
++ ata_acpi_detach_device(ap, dev);
++ wait = 1;
++ }
++ break;
+ case ACPI_NOTIFY_EJECT_REQUEST:
+ ata_ehi_push_desc(ehi, "ACPI event");
+- if (dev)
+- dev->flags |= ATA_DFLAG_DETACH;
+- else {
+- struct ata_link *tlink;
+- struct ata_device *tdev;
+-
+- ata_port_for_each_link(tlink, ap)
+- ata_link_for_each_dev(tdev, tlink)
+- tdev->flags |= ATA_DFLAG_DETACH;
+- }
+
+- ata_port_schedule_eh(ap);
++ if (!is_dock_event)
++ break;
++
++ /* undock event - immediate unplug */
++ ata_acpi_detach_device(ap, dev);
+ wait = 1;
+ break;
+ }
+
+- if (dev) {
+- if (dev->sdev)
+- kobj = &dev->sdev->sdev_gendev.kobj;
+- } else
+- kobj = &ap->dev->kobj;
++ /* make sure kobj doesn't go away while ap->lock is released */
++ kobject_get(kobj);
+
+- if (kobj) {
++ spin_unlock_irqrestore(ap->lock, flags);
++
++ if (kobj && !is_dock_event) {
+ sprintf(event_string, "BAY_EVENT=%d", event);
+ kobject_uevent_env(kobj, KOBJ_CHANGE, envp);
+ }
+
+- spin_unlock_irqrestore(ap->lock, flags);
++ kobject_put(kobj);
+
+- if (wait)
++ if (wait) {
+ ata_port_wait_eh(ap);
++ ata_acpi_eject_device(handle);
++ }
++}
++
++static void ata_acpi_dev_notify_dock(acpi_handle handle, u32 event, void *data)
++{
++ struct ata_device *dev = data;
++
++ ata_acpi_handle_hotplug(NULL, dev, event, 1);
++}
++
++static void ata_acpi_ap_notify_dock(acpi_handle handle, u32 event, void *data)
++{
++ struct ata_port *ap = data;
++
++ ata_acpi_handle_hotplug(ap, NULL, event, 1);
+ }
+
+ static void ata_acpi_dev_notify(acpi_handle handle, u32 event, void *data)
+ {
+ struct ata_device *dev = data;
+
+- ata_acpi_handle_hotplug(NULL, dev, event);
++ ata_acpi_handle_hotplug(NULL, dev, event, 0);
+ }
+
+ static void ata_acpi_ap_notify(acpi_handle handle, u32 event, void *data)
+ {
+ struct ata_port *ap = data;
+
+- ata_acpi_handle_hotplug(ap, NULL, event);
++ ata_acpi_handle_hotplug(ap, NULL, event, 0);
+ }
+
+ /**
+@@ -230,7 +300,7 @@ void ata_acpi_associate(struct ata_host
+ #if defined(CONFIG_ACPI_DOCK) || defined(CONFIG_ACPI_DOCK_MODULE)
+ /* we might be on a docking station */
+ register_hotplug_dock_device(ap->acpi_handle,
+- ata_acpi_ap_notify, ap);
++ ata_acpi_ap_notify_dock, ap);
+ #endif
+ }
+
+@@ -244,7 +314,7 @@ void ata_acpi_associate(struct ata_host
+ #if defined(CONFIG_ACPI_DOCK) || defined(CONFIG_ACPI_DOCK_MODULE)
+ /* we might be on a docking station */
+ register_hotplug_dock_device(dev->acpi_handle,
+- ata_acpi_dev_notify, dev);
++ ata_acpi_dev_notify_dock, dev);
+ #endif
+ }
+ }
++++++ patches.fixes.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch new/patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch
--- old/patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch 2008-05-28 11:25:14.000000000 +0200
@@ -0,0 +1,55 @@
+From: Jiri Kosina
+Subject: Input: Add i8042.nopnp for Intel D845PESV
+Patch-mainline: queued in INPUT tree
+References: bnc#386952
+
+This patch introduces i8042_dmi_nopnp_table to make it possible to perform
+DMI matches for systems that need 'i8042.nopnp' to work correctly, and
+introduces such an entry for Intel D845PESV -- this system doesn't
+detect PS2 mouse reliably without this option.
+
+Signed-off-by: Jiri Kosina
+
+---
+ drivers/input/serio/i8042-x86ia64io.h | 16 +++++++++++++++-
+ 1 file changed, 15 insertions(+), 1 deletion(-)
+
+--- linux-2.6.25.orig/drivers/input/serio/i8042-x86ia64io.h
++++ linux-2.6.25/drivers/input/serio/i8042-x86ia64io.h
+@@ -287,7 +287,16 @@ static struct dmi_system_id __initdata i
+ { }
+ };
+
+-
++static struct dmi_system_id __initdata i8042_dmi_nopnp_table[] = {
++ {
++ .ident = "Intel MBO Desktop D845PESV",
++ .matches = {
++ DMI_MATCH(DMI_BOARD_NAME, "D845PESV"),
++ DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"),
++ },
++ },
++ { }
++};
+
+ #endif
+
+@@ -569,6 +578,10 @@ static int __init i8042_platform_init(vo
+ i8042_kbd_irq = I8042_MAP_IRQ(1);
+ i8042_aux_irq = I8042_MAP_IRQ(12);
+
++#if defined(__i386__) || defined(__x86_64__)
++ if (dmi_check_system(i8042_dmi_nopnp_table))
++ i8042_nopnp = 1;
++#endif
+ retval = i8042_pnp_init();
+ if (retval)
+ return retval;
+@@ -583,6 +596,7 @@ static int __init i8042_platform_init(vo
+
+ if (dmi_check_system(i8042_dmi_nomux_table))
+ i8042_nomux = 1;
++
+ #endif
+
+ #ifdef CONFIG_X86
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/input-hid-apple-numlock-emulation.patch new/patches.fixes/input-hid-apple-numlock-emulation.patch
--- old/patches.fixes/input-hid-apple-numlock-emulation.patch 2008-05-12 16:49:59.000000000 +0200
+++ new/patches.fixes/input-hid-apple-numlock-emulation.patch 2008-05-29 01:09:26.000000000 +0200
@@ -1,7 +1,7 @@
From: Diego 'Flameeyes' Petteno
Subject: HID: split Numlock emulation quirk from HID_QUIRK_APPLE_HAS_FN.
Acked-by: jkosina@suse.cz
-Patch-mainline: queued in HID tree
+Patch-mainline: Yes
References: bnc#381764
Since 2.6.25 the HID_QUIRK_APPLE_HAS_FN quirk is enabled even for
++++++ patches.kernel.org.tar.bz2 ++++++
++++++ patches.rpmify.tar.bz2 ++++++
++++++ patches.rt.tar.bz2 ++++++
++++++ patches.suse.tar.bz2 ++++++
++++++ patches.uml.tar.bz2 ++++++
++++++ patches.xen.tar.bz2 ++++++
++++++ series.conf ++++++
--- kernel-source/series.conf 2008-05-26 23:12:49.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/series.conf 2008-05-29 01:09:49.523293000 +0200
@@ -402,6 +402,7 @@
patches.drivers/libata-force-hardreset-if-link-pm
patches.drivers/libata-pmp-detection-fixes
patches.drivers/libata-pmp-simg3726-nosrst
+ patches.drivers/libata-acpi-fix-hotplug
# patches.fixes/mptbase-vmware-fix
@@ -465,6 +466,7 @@
########################################################
patches.suse/bootsplash
patches.fixes/input-hid-apple-numlock-emulation.patch
+ patches.fixes/input-add-i8042-nopnp-for-D845PESV.patch
##########################################################
# Sound
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org