diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/create_bsd_pci_lists.sh | 4 | ||||
-rw-r--r-- | scripts/create_linux_pci_lists.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/create_bsd_pci_lists.sh b/scripts/create_bsd_pci_lists.sh index 6666760b..64a1fcb4 100644 --- a/scripts/create_bsd_pci_lists.sh +++ b/scripts/create_bsd_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, 0, $pciname}, \\" >> $OUTFILE + echo " {$pcivend, $pcidev, $attribs, $pciname}, \\" >> $OUTFILE else echo "#define "$cardtype"_PCI_IDS \\" >> $OUTFILE finished=0 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 |