Florin9doi
|
652b89254f
|
Update Nvidia IDs
generated with:
```
#!/bin/bash
# curl -O https://pci-ids.ucw.cz/v2.2/pci.ids
PCI_IDS_FILE=pci.ids
NVIDIA_START=$(grep -n "^10de NVIDIA Corporation" ${PCI_IDS_FILE} | cut -d : -f 1)
NVIDIA_START=$((NVIDIA_START+1))
NVIDIA_END=$(grep -n "^10df Emulex Corporation" ${PCI_IDS_FILE} | cut -d : -f 1)
NVIDIA_END=$((NVIDIA_END-1))
sed -n ${NVIDIA_START}','${NVIDIA_END}'p' ${PCI_IDS_FILE} \
| perl -nle 'print if /^\t[0-9a-f]{4} [0-9A-Z]+ \[.*\]$/' \
| perl -pe 's/^\t([0-9a-f]{4}) ([0-9A-Z]+) \[(.*)\]$/ { 0x10DE\U\1\E, "\3" }, \/\/ \2/g'
```
|
2019-11-11 21:54:52 +02:00 |
|