linux-hotplug 20040920: added patch which remove message about lack of PCI events
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 16 Jan 2006 12:05:55 +0000 (12:05 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 16 Jan 2006 12:05:55 +0000 (12:05 +0000)
- added as OpenZaurus specific now - I don't know how much machines
  with 2.4 and PCI exist in OE world.

packages/linux-hotplug/linux-hotplug-20040920/quiet-pci.patch [new file with mode: 0644]
packages/linux-hotplug/linux-hotplug_20040920.bb

diff --git a/packages/linux-hotplug/linux-hotplug-20040920/quiet-pci.patch b/packages/linux-hotplug/linux-hotplug-20040920/quiet-pci.patch
new file mode 100644 (file)
index 0000000..5b4d169
--- /dev/null
@@ -0,0 +1,11 @@
+--- hotplug-2004_09_20/etc/hotplug/pci.rc.orig 2006-01-14 16:15:34.000000000 +0100
++++ hotplug-2004_09_20/etc/hotplug/pci.rc      2006-01-14 16:16:19.000000000 +0100
+@@ -45,7 +45,7 @@
+       # 2.4 kernels
+       LISTER=`which pcimodules`
+       if [ "$LISTER" = "" ] || [ ! -f /proc/bus/pci/devices ] || [ ! -x pci.agent ]; then
+-          echo $"** can't synthesize pci hotplug events"
++          # echo $"** can't synthesize pci hotplug events"
+           return 1
+       fi
index ce503a2..c6bcbb6 100644 (file)
@@ -8,7 +8,7 @@ RCONFLICTS_${PN} = "hotplug"
 RREPLACES_${PN} = "hotplug"
 SECTION = "base"
 RSUGGESTS = "pciutils usbutils"
-PR = "r7"
+PR = "r8"
 
 SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20.tar.gz \
        file://userspecified_hcd.patch;patch=1 \
@@ -27,7 +27,9 @@ SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_2
        file://isapnp-exit.diff;patch=1 \
        file://usb-storage \
        file://soc.agent"
-          
+
+SRC_URI_append_openzaurus = " file://quiet-pci.patch;patch=1"
+
 S = "${WORKDIR}/hotplug-2004_09_20"
 
 INITSCRIPT_NAME = "hotplug"