lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 51dbadf3 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
|
Rev | Line | |
---|
[4a7c273] | 1 | #! /bin/bash
|
---|
| 2 |
|
---|
| 3 | wget http://pciids.sourceforge.net/v2.2/pci.ids
|
---|
| 4 |
|
---|
| 5 | cat >pci_ids.h <<EOF
|
---|
| 6 | /* DO NOT EDIT, THIS FILE IS AUTOMATICALLY GENERATED */
|
---|
| 7 | char *pci_ids[] = {
|
---|
| 8 | EOF
|
---|
| 9 |
|
---|
| 10 | cat pci.ids | grep -v '^#.*' | grep -v '^$' | tr \" \' | sed -n 's/\(.*\)/"\1",/p' >>pci_ids.h
|
---|
| 11 |
|
---|
| 12 | cat >>pci_ids.h <<EOF
|
---|
| 13 | ""
|
---|
| 14 | };
|
---|
| 15 | EOF
|
---|
| 16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.