SET_PORT_DIR
if (command != SET_PORT_DIR && !bitmap)
case SET_PORT_DIR:
ret = ni6501_port_command(dev, SET_PORT_DIR, s->io_bits, NULL);