SVN: geninitrd/trunk: mod-autodetect.sh mod-xata.sh
shadzik
shadzik at pld-linux.org
Wed Oct 20 18:59:53 CEST 2010
Author: shadzik
Date: Wed Oct 20 18:59:52 2010
New Revision: 11858
Added:
geninitrd/trunk/mod-xata.sh
- copied, changed from rev 11857, geninitrd/trunk/mod-autodetect.sh
Removed:
geninitrd/trunk/mod-autodetect.sh
Log:
- rename to mod-xata.sh, but probably this shiuld be mod-sata, as i tend to leave just the 0106 class left
Copied: geninitrd/trunk/mod-xata.sh (from rev 11857, geninitrd/trunk/mod-autodetect.sh)
==============================================================================
--- geninitrd/trunk/mod-autodetect.sh (original)
+++ geninitrd/trunk/mod-xata.sh Wed Oct 20 18:59:52 2010
@@ -2,9 +2,9 @@
#
# geninitrd mod: autodetect
-autodetect_xata()
+find_modules_xata()
{
- debug "Detecting modules"
+ debug "Finding XATA modules"
for class in 0106 0107 0101; do
module=$(lspci -n |grep $class |sed 's/:/ /g' |while read junk junk class vendor device junk; do grep "0x0000$vendor 0x0000$device" /lib/modules/$kernel/modules.pcimap |awk '{print $1}'; done |uniq)
More information about the pld-cvs-commit
mailing list