SMBIOC_READ
case SMBIOC_READ: case SMBIOC_WRITE: {
auio.uio_rw = (cmd == SMBIOC_READ) ? UIO_READ : UIO_WRITE;
if (cmd == SMBIOC_READ)