tdfx_do_query
if((retval = tdfx_do_query(cmd, piod)) > 0) td->td_retval[0] = retval;
static int tdfx_do_query(u_int cmd, struct tdfx_pio_data *piod);