source: mainline/uspace/app/lspci/update-ids@ 92413de

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 92413de was cb0ea39, checked in by Lenka Trochtova <trochtova.lenka@…>, 16 years ago

dd: initial import of the original svn branch

  • Property mode set to 100644
File size: 296 bytes
Line 
1#! /bin/bash
2
3wget http://pciids.sourceforge.net/v2.2/pci.ids
4
5cat > pci_ids.h <<EOF
6/* DO NOT EDIT, THIS FILE IS AUTOMATICALLY GENERATED */
7char *pci_ids[] = {
8EOF
9
10cat pci.ids | grep -v '^#.*' | grep -v '^$' | tr \" \' | sed -n 's/\(.*\)/"\1",/p' >> pci_ids.h
11
12cat >> pci_ids.h <<EOF
13""
14};
15EOF
Note: See TracBrowser for help on using the repository browser.