XYCMD_RD
xyc_rqtopb(iorq, iopb, (bp->b_flags & B_READ) ? XYCMD_RD : XYCMD_WR, 0);
(comm == XYCMD_RD || comm == XYCMD_WR)) {
if (iopb->com == XYCMD_RD || iopb->com == XYCMD_WR)
(iopb->com == XYCMD_RD) ? "read" : "write",
if ((comm == XYCMD_RD || comm == XYCMD_WR) &&
case XYCMD_RD: /* read / write sectors (up to XD_IOCMD_MAXS) */
if (xio->cmd == XYCMD_RD)
err = xyc_cmd(xyc, XYCMD_RD, 0, xy->xy_drive, 0, 1,
err = xyc_cmd(xyc, XYCMD_RD, 0, xy->xy_drive, blk, 1,
case XYCMD_RD:
xyc_rqtopb(iorq, iopb, (bp->b_flags & B_READ) ? XYCMD_RD : XYCMD_WR, 0);
(comm == XYCMD_RD || comm == XYCMD_WR)) {
if (iopb->com == XYCMD_RD || iopb->com == XYCMD_WR)
(iopb->com == XYCMD_RD) ? "read" : "write",
if ((comm == XYCMD_RD || comm == XYCMD_WR) &&
case XYCMD_RD: /* read / write sectors (up to XD_IOCMD_MAXS) */
if (xio->cmd == XYCMD_RD)
error = xyc_cmd(xyc, XYCMD_RD, 0, xy->xy_drive, 0, 1,
error = xyc_cmd(xyc, XYCMD_RD, 0, xy->xy_drive, blk, 1,
case XYCMD_RD: