ips_get_free_cmd
extern int ips_get_free_cmd(ips_softc_t *sc, ips_command_t **command, unsigned long flags);
if (ips_get_free_cmd(sc, &command, 0))
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) > 0){
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) > 0){
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG)){
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG)){
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG)){
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG)){
if(ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG)){
if (ips_get_free_cmd(sc, &command, 0) != 0) {
if((error = ips_get_free_cmd(sc, &command, 0)) > 0){