From bd20bada37d55f1a747d7bc797e18f990cb9cdfe Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 13 Nov 2008 07:47:16 +0100 Subject: [PATCH] rules: remove pnp shell script, acpi loads these modules properly --- TODO | 1 - rules/rules.d/80-drivers.rules | 2 -- 2 files changed, 3 deletions(-) diff --git a/TODO b/TODO index 8986d197..c06451dd 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,5 @@ o convert firmware.sh to C - o drop pnp shell script, acpi will take care of loading pnp modules o add DVB variables to kernel (patch merged in v4l tree), drop the shell script rule o "udevadm control" commands will only accept the -- syntax diff --git a/rules/rules.d/80-drivers.rules b/rules/rules.d/80-drivers.rules index 881d7581..ca0fa6bc 100644 --- a/rules/rules.d/80-drivers.rules +++ b/rules/rules.d/80-drivers.rules @@ -3,8 +3,6 @@ ACTION!="add", GOTO="drivers_end" DRIVER!="?*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODALIAS}" -SUBSYSTEM=="pnp", DRIVER!="?*", ENV{MODALIAS}!="?*", \ - RUN{ignore_error}+="/bin/sh -c '/sbin/modprobe -a $$(while read id; do echo pnp:d$$id; done < /sys$devpath/id)'" SUBSYSTEM=="tifm", RUN+="/sbin/modprobe --all tifm_sd tifm_ms" SUBSYSTEM=="memstick", RUN+="/sbin/modprobe --all ms_block mspro_block" SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block" -- 2.39.5