aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-08-10 11:14:07 +0000
committerDave Airlie <airlied@linux.ie>2004-08-10 11:14:07 +0000
commit9277f9eef388ffef26000ab455d30260bdf41c93 (patch)
tree1c5eadbba695295ac1b77a0b6d001e8ceb1d2ddb /scripts
parent42e91874608f28246367207815eb7334574d7aa7 (diff)
Patch from Jon Smirl to add attribute field to the pciids, and use this for
certain radeon combinations - intel drivers can probably use this for dual head capable devices etc..
Diffstat (limited to 'scripts')
-rw-r--r--scripts/create_bsd_pci_lists.sh4
-rw-r--r--scripts/create_linux_pci_lists.sh4
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