Selaa lähdekoodia

[util] Add utility to generate list of supported network cards

niclist.pl recursively scans specified source folders and builds a
list of supported NICs by looking for ISA_ROM and PCI_ROM lines and
outputs the list in text, CSV, JSON, HTML or DokuWiki format.  Sorting
and column selection is possible.

The pci-utils pci.ids file is fetched from SourceForge once a day to
also output the "official" vendor/device names associated with the PCI
device.

Signed-off-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Robin Smidsrød 12 vuotta sitten
vanhempi
commit
eadb6bc3fe
2 muutettua tiedostoa jossa 589 lisäystä ja 1 poistoa
  1. 588
    0
      src/util/niclist.pl
  2. 1
    1
      src/util/parserom.pl

+ 588
- 0
src/util/niclist.pl
File diff suppressed because it is too large
Näytä tiedosto


+ 1
- 1
src/util/parserom.pl Näytä tiedosto

@@ -1,4 +1,4 @@
1
-#!/usr/bin/perl -w
1
+#!/usr/bin/env perl
2 2
 #
3 3
 # Parse PCI_ROM and ISA_ROM entries from a source file on stdin and
4 4
 # output the relevant Makefile variable definitions to stdout

Loading…
Peruuta
Tallenna