Author: glen                         Date: Thu Dec 21 17:26:17 2006 GMT
Module: pci-database                  Tag: HEAD
---- Log message:
- now generic parser

---- Files affected:
pci-database:
   pcimap (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: pci-database/pcimap
diff -u pci-database/pcimap:1.1 pci-database/pcimap:1.2
--- pci-database/pcimap:1.1     Thu Dec 21 17:56:00 2006
+++ pci-database/pcimap Thu Dec 21 18:26:12 2006
@@ -1,16 +1,10 @@
 #!/bin/awk -f
-BEGIN {
-       if (ARGC == 1) {
-               print "Usage:\npcimap modules.pcimap\n"
-               exit;
-       }
-}
-
-/^snd-/ {
-       # 1022746d snd-intel8x0
+{
        module = $1
        vendor = $2
        device = $3
        pos = 7
+
+       # 1022746d snd-intel8x0
        printf("%s%s %s\n", substr(vendor, pos), substr(device, pos), module);
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pci-database/pcimap?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to