diff options
Diffstat (limited to 'scripts/create_linux_pci_lists.sh')
-rw-r--r-- | scripts/create_linux_pci_lists.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/create_linux_pci_lists.sh b/scripts/create_linux_pci_lists.sh index bcba2b83..bb0e6878 100644 --- a/scripts/create_linux_pci_lists.sh +++ b/scripts/create_linux_pci_lists.sh @@ -14,7 +14,7 @@ cat > $OUTFILE <<EOF */ EOF -while read pcivend pcidev pciname +while read pcivend pcidev attribs pciname do if [ "x$pcivend" = "x" ]; then if [ "$finished" = "0" ]; then @@ -27,7 +27,7 @@ do cardtype=`echo "$pcivend" | cut -s -f2 -d'[' | cut -s -f1 -d']'` if [ "x$cardtype" = "x" ]; then - echo " {$pcivend, $pcidev, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \\" >> $OUTFILE + echo " {$pcivend, $pcidev, PCI_ANY_ID, PCI_ANY_ID, 0, 0, $attribs}, \\" >> $OUTFILE else echo "#define "$cardtype"_PCI_IDS \\" >> $OUTFILE finished=0 |