summaryrefslogtreecommitdiff
path: root/shared-core/radeon_ms.h
diff options
context:
space:
mode:
<#!/bin/sh ## Script to output BSD compatible pci ids file# - Copyright Dave Airlie 2004 (airlied@linux.ie)# OUTFILE=drm_pciids.h finished=0cat>$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*/EOFwhileread pcivend pcidev attribs pciname doif["x$pcivend"="x"];thenif["$finished"="0"];
0 files changed, 0 insertions, 0 deletions
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-21 12:26:26 +0200
committer
hl kwa">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