diff options
Diffstat (limited to 'convert/extract-nvidia-pcitable.sh')
-rwxr-xr-x | convert/extract-nvidia-pcitable.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/convert/extract-nvidia-pcitable.sh b/convert/extract-nvidia-pcitable.sh index caa1b4ef..d22aab04 100755 --- a/convert/extract-nvidia-pcitable.sh +++ b/convert/extract-nvidia-pcitable.sh @@ -77,7 +77,7 @@ if [ ! -e README_${nvidia470_ver}.txt -a ! -e supported-gpus-${nvidia470_ver}.js rm -rf ./${nvidia470_dir} fi fi -echo "# \"DeviceId\",\"SubVendorId\",\"SubDeviceId\",\"Card Name\"" > pcitable-nvidia470-from-json-extended.csv +echo "\"DeviceId\",\"SubVendorId\",\"SubDeviceId\",\"Card Name\"" > pcitable-nvidia470-from-json-extended.csv cat supported-gpus-${nvidia470_ver}.json | \ jq -r '.chips[] | select (.legacybranch == null) | [.devid,.subvendorid,.subdevid,.name] | @text'| \ sed -e 's@^\[@@g' -e 's@\]$@@g' | \ @@ -119,7 +119,7 @@ if [ ! -e README_${nvidiacur_ver}.txt -a ! -e supported-gpus-${nvidiacur_ver}.js rm -rf ./${nvidiacur_dir} fi fi -echo "# \"DeviceId\",\"SubVendorId\",\"SubDeviceId\",\"Card Name\"" > pcitable-nvidiacurrent-from-json-extended.csv +echo "\"DeviceId\",\"SubVendorId\",\"SubDeviceId\",\"Card Name\"" > pcitable-nvidiacurrent-from-json-extended.csv cat supported-gpus-${nvidiacur_ver}.json | \ jq -r '.chips[] | select (.legacybranch == null) | [.devid,.subvendorid,.subdevid,.name] | @text'| \ sed -e 's@^\[@@g' -e 's@\]$@@g' | \ |