source: mainline/pci/update-ids@ e1c4849

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since e1c4849 was 4a7c273, checked in by Jakub Jermar <jakub@…>, 19 years ago

Port libpci to HelenOS.
List PCI devices on PCI driver startup.

  • Property mode set to 100755
File size: 294 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
16
Note: See TracBrowser for help on using the repository browser.