浏览代码

[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 年前
父节点
当前提交
eadb6bc3fe
共有 2 个文件被更改,包括 589 次插入1 次删除
  1. 588
    0
      src/util/niclist.pl
  2. 1
    1
      src/util/parserom.pl

+ 588
- 0
src/util/niclist.pl
文件差异内容过多而无法显示
查看文件


+ 1
- 1
src/util/parserom.pl 查看文件

@@ -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

正在加载...
取消
保存