FreeCalypso > hg > freecalypso-sw
diff rvinterf/etm/misc.c @ 257:c413e791595a
fc-tmsh: added check-ffs1 command, getting ready to begin ffs2 implementation
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 04 Feb 2014 07:22:19 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rvinterf/etm/misc.c Tue Feb 04 07:22:19 2014 +0000 @@ -0,0 +1,24 @@ +/* + * Commands which don't belong anywhere else + */ + +#include <sys/types.h> +#include <stdio.h> +#include <string.h> +#include <strings.h> +#include <stdlib.h> +#include "../include/pktmux.h" +#include "etm.h" +#include "tmffs1.h" + +void +cmd_check_ffs1(argc, argv) + char **argv; +{ + u_char cmdpkt[5]; + + cmdpkt[1] = ETM_FFS1; + cmdpkt[2] = FPI_TMFFS_VERSION; + cmdpkt[3] = FPI_END; + send_etm_cmd(cmdpkt, 3); +}