diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2009-11-17 09:46:56 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2009-11-17 10:54:11 -0500 |
commit | 9dd3613073aa2491cef440725fdfa0cf1e8f1a42 (patch) | |
tree | 956c84be2fae4b4e6de2840a94d30dffa6573066 /scripts/create_bsd_pci_lists.sh | |
parent | a66cf9ce68bdf9bd887f91a38ced4b59c129b3c7 (diff) |
Drop shared-core, bsd-core, linux-core and scripts subdirs
Diffstat (limited to 'scripts/create_bsd_pci_lists.sh')
-rw-r--r-- | scripts/create_bsd_pci_lists.sh | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/scripts/create_bsd_pci_lists.sh b/scripts/create_bsd_pci_lists.sh deleted file mode 100644 index 64a1fcb4..00000000 --- a/scripts/create_bsd_pci_lists.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# Script to output BSD compatible pci ids file -# - Copyright Dave Airlie 2004 (airlied@linux.ie) -# -OUTFILE=drm_pciids.h - -finished=0 - -cat > $OUTFILE <<EOF -/* - This file is auto-generated from the drm_pciids.txt in the DRM CVS - Please contact dri-devel@lists.sf.net to add new cards to this list -*/ -EOF - -while read pcivend pcidev attribs pciname -do - if [ "x$pcivend" = "x" ]; then - if [ "$finished" = "0" ]; then - finished=1 - echo " {0, 0, 0, NULL}" >> $OUTFILE - echo >> $OUTFILE - fi - else - - cardtype=`echo "$pcivend" | cut -s -f2 -d'[' | cut -s -f1 -d']'` - if [ "x$cardtype" = "x" ]; - then - echo " {$pcivend, $pcidev, $attribs, $pciname}, \\" >> $OUTFILE - else - echo "#define "$cardtype"_PCI_IDS \\" >> $OUTFILE - finished=0 - fi - fi -done - -if [ "$finished" = "0" ]; then - echo " {0, 0, 0, NULL}" >> $OUTFILE -fi |