diff options
author | 2003-12-22 04:12:46 +0000 | |
---|---|---|
committer | 2003-12-22 04:12:46 +0000 | |
commit | e0e7a636aca7dcd399502a6de0b4bdcda85447ed (patch) | |
tree | 92c7ccd31d6d90c8d816cd78d060b5a8572886d3 /sys-apps/hotplug/files | |
parent | Live fix (source patch) since uptimes.wonko.com was changed to uptimes.hostin... (diff) | |
download | gentoo-2-e0e7a636aca7dcd399502a6de0b4bdcda85447ed.tar.gz gentoo-2-e0e7a636aca7dcd399502a6de0b4bdcda85447ed.tar.bz2 gentoo-2-e0e7a636aca7dcd399502a6de0b4bdcda85447ed.zip |
fix for 2.6 kernel pci module autoloading
Diffstat (limited to 'sys-apps/hotplug/files')
-rw-r--r-- | sys-apps/hotplug/files/digest-hotplug-20030805-r3 | 2 | ||||
-rw-r--r-- | sys-apps/hotplug/files/kernel-26-fix.patch | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/sys-apps/hotplug/files/digest-hotplug-20030805-r3 b/sys-apps/hotplug/files/digest-hotplug-20030805-r3 new file mode 100644 index 000000000000..faa1d90068fa --- /dev/null +++ b/sys-apps/hotplug/files/digest-hotplug-20030805-r3 @@ -0,0 +1,2 @@ +MD5 200eef33ddfcee9c023a3a7797ac6919 hotplug-2003_08_05.tar.gz 42537 +MD5 a0db235527f911f91473e04f752fbffe hotplug-20030805-gentoo-patches.tar.bz2 1991 diff --git a/sys-apps/hotplug/files/kernel-26-fix.patch b/sys-apps/hotplug/files/kernel-26-fix.patch new file mode 100644 index 000000000000..3d44c9703dd7 --- /dev/null +++ b/sys-apps/hotplug/files/kernel-26-fix.patch @@ -0,0 +1,18 @@ +diff -urN hotplug-2003_08_05/etc/hotplug/hotplug.functions hotplug-2003_08_05.new/etc/hotplug/hotplug.functions +--- hotplug-2003_08_05/etc/hotplug/hotplug.functions 2003-12-21 21:01:32.936579696 -0700 ++++ hotplug-2003_08_05.new/etc/hotplug/hotplug.functions 2003-12-21 21:02:59.632399928 -0700 +@@ -88,13 +88,7 @@ + FILENAME=$2 + DESCRIPTION=$3 + +- # should we use usbmodules, pcimodules? not on 2.5+, because sysfs +- # ought to expose the data we need to find all candidate drivers. +- # (on 2.5.48 it does for usb; but maybe not yet for pci.) +- case "$KERNEL" in +- 2.2*|2.3*|2.4*) LISTER=`type -p ${TYPE}modules` ;; +- *) LISTER="" ;; +- esac ++ LISTER=`type -p ${TYPE}modules` + + if [ "$LISTER" != "" ]; then + # lister programs MIGHT be preferable to parsing from shell scripts: |