diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-07-29 18:03:23 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-07-29 18:03:23 +0200 |
commit | 645606056ff0c50e4817e3dcd44bb50cb1ac3b92 (patch) | |
tree | 29e57a2de428680954a595078d597b0c15a50345 | |
parent | 24e11054ec68f713e99b019900a6deaf07d052b7 (diff) | |
download | pcmciautils-645606056ff0c50e4817e3dcd44bb50cb1ac3b92.tar.gz |
pccardctl: remove command which is not implemented
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
-rw-r--r-- | man/man8/pccardctl.8 | 5 | ||||
-rw-r--r-- | src/pccardctl.c | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/man/man8/pccardctl.8 b/man/man8/pccardctl.8 index 1554a0d..307cfd6 100644 --- a/man/man8/pccardctl.8 +++ b/man/man8/pccardctl.8 @@ -29,11 +29,6 @@ commands are accessible. .B status Display the current socket status flags. .TP -.B config -Display the socket configuration, including power settings, interrupt -and I/O window settings, and configuration registers. -\-\-not yet implemented -.TP .B ident Display card identification information, including product identification strings, manufacturer ID codes, and function ID codes. diff --git a/src/pccardctl.c b/src/pccardctl.c index 2147989..c3df55d 100644 --- a/src/pccardctl.c +++ b/src/pccardctl.c @@ -390,7 +390,6 @@ static char *cmdname[] = { "reset", "info", "status", - "config", "ident", }; @@ -687,7 +686,6 @@ enum { PCCARDCTL_RESET, PCCARDCTL_INFO, PCCARDCTL_STATUS, - PCCARDCTL_CONFIG, PCCARDCTL_IDENT, NCMD }; @@ -805,11 +803,6 @@ int main(int argc, char **argv) case PCCARDCTL_STATUS: ret = pccardctl_status(cont); break; - default: - fprintf(stderr, - "command '%s' not yet handled by pccardctl\n", - cmdname[cmd]); - return -EAGAIN; } if (ret && socket_is_set) |