diff options
author | green <green@FreeBSD.org> | 2003-02-25 22:14:38 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2003-02-25 22:14:38 +0000 |
commit | cf6c58298298caeb25b29001ebbd42d321e1964d (patch) | |
tree | 8b8a6335d2271076ce535b5d62270c7bdad4d695 /usr.sbin/pccard/pccardc/pccardc.c | |
parent | a3f8d3d8190991dc750a8ef3f91002bc9f877b26 (diff) | |
download | FreeBSD-src-cf6c58298298caeb25b29001ebbd42d321e1964d.zip FreeBSD-src-cf6c58298298caeb25b29001ebbd42d321e1964d.tar.gz |
Add a new subcommand to pccardc(8), "dumpcisfile", which reads a CIS
structure from a file instead of a PC-CARD itself before parsing and
dumping it. (E.g. useful when you get a CIS file from a manufacturer
which fixes they broken card's CIS, and add it to the pccard quirks.)
Diffstat (limited to 'usr.sbin/pccard/pccardc/pccardc.c')
-rw-r--r-- | usr.sbin/pccard/pccardc/pccardc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/pccard/pccardc/pccardc.c b/usr.sbin/pccard/pccardc/pccardc.c index 743493b..2de5f9e 100644 --- a/usr.sbin/pccard/pccardc/pccardc.c +++ b/usr.sbin/pccard/pccardc/pccardc.c @@ -38,6 +38,7 @@ typedef int (*main_t)(int, char **); #define DECL(foo) int foo(int, char**); DECL(beep_main); DECL(dumpcis_main); +DECL(dumpcisfile_main); DECL(enabler_main); DECL(help_main); DECL(pccardmem_main); @@ -55,6 +56,7 @@ struct { } subcommands[] = { { "beep", beep_main, "Beep type" }, { "dumpcis", dumpcis_main, "Prints CIS for all cards" }, + { "dumpcisfile", dumpcisfile_main, "Prints CIS from a file" }, { "enabler", enabler_main, "Device driver enabler" }, { "help", help_main, "Prints command summary" }, { "pccardmem", pccardmem_main, "Allocate memory for pccard driver" }, |