Author: alexander
Date: 2005-06-08 03:23:19 -0600 (Wed, 08 Jun 2005)
New Revision: 222
Added:
trunk/packages/hotplug/hotplug-2004_09_23-try_all_drivers-6.patch
Modified:
trunk/packages/hotplug/Makefile
Log:
Added a patch for Hotplug to try all PCI drivers when several drivers
claim support for the same device. Adjusted the blacklist.
Modified: trunk/packages/hotplug/Makefile
===================================================================
--- trunk/packages/hotplug/Makefile 2005-06-08 09:09:11 UTC (rev 221)
+++ trunk/packages/hotplug/Makefile 2005-06-08 09:23:19 UTC (rev 222)
@@ -5,6 +5,7 @@
VRS= 2004_09_23
DIR= $(NM)-$(VRS)
FILE= $(DIR).tar.bz2
+PATCH1= $(DIR)-try_all_drivers-6.patch
URL= $(FTP)/$(NM)/$(FILE)
URL1= $(FTP)/$(NM)/$(PATCH1)
@@ -22,11 +23,14 @@
@if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
mv $(FILE) $(SRC) ; fi
@if [ ! -f /sbin/hotplug ] ; then tar xjvf $(SRC)/$(FILE) && cd $(DIR)
&& \
+ patch -Np1 -i ../$(PATCH1) && \
make install && \
cp etc/hotplug/pnp.distmap /etc/hotplug && \
rm -rf /etc/init.d && \
rm -f /etc/hotplug/net.agent && \
touch /var/log/hotplug/events && \
+ echo eepro100 >>/etc/hotplug/blacklist && \
+ echo 8139cp >>/etc/hotplug/blacklist && \
mkdir -p /lib/firmware ; fi
@make clean
Added: trunk/packages/hotplug/hotplug-2004_09_23-try_all_drivers-6.patch
===================================================================
--- trunk/packages/hotplug/hotplug-2004_09_23-try_all_drivers-6.patch
2005-06-08 09:09:11 UTC (rev 221)
+++ trunk/packages/hotplug/hotplug-2004_09_23-try_all_drivers-6.patch
2005-06-08 09:23:19 UTC (rev 222)
@@ -0,0 +1,19 @@
+Submitted by: Alexander E. Patrakov
+Date: 2005-06-08
+Initial Package Version: 2004_01_05
+Upstream Status: Not accepted
+Origin: Debian
+Description: With this patch, hotplug tries all drivers for a given PCI device
+instead of stopping at the first one (even if it is blacklisted)
+
+diff -ruN hotplug-2004_01_05.orig/etc/hotplug/pci.agent
hotplug-2004_01_05/etc/hotplug/pci.agent
+--- hotplug-2004_01_05.orig/etc/hotplug/pci.agent 2004-02-03
00:36:16.000000000 +0100
++++ hotplug-2004_01_05/etc/hotplug/pci.agent 2004-02-03 00:33:44.000000000
+0100
+@@ -122,7 +122,6 @@
+ if [ $class_temp -eq $class ]; then
+ DRIVERS="$module $DRIVERS"
+ : drivers $DRIVERS
+- break
+ fi
+ done
+ }
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page