home *** CD-ROM | disk | FTP | other *** search
- #!/bin/bash
- #
- # output devinfo entries from pci.c
- #
- #
- awk '
-
- BEGIN { foundit = 0 }
-
- # now read in lines till we hit the last line
- {
- if (foundit && $0 ~ /\;/) exit
-
- if (foundit) print $0
-
- if ($0 ~ /struct pci_dev_info dev_info/) foundit = 1
- }
-
- END { }
-
- '
-