-/* $OpenBSD: scsi_ioctl.c,v 1.45 2010/07/10 02:52:38 matthew Exp $ */
+/* $OpenBSD: scsi_ioctl.c,v 1.46 2010/07/22 05:32:10 matthew Exp $ */
/* $NetBSD: scsi_ioctl.c,v 1.23 1996/10/12 23:23:17 christos Exp $ */
/*
xs->cmdlen = screq->cmdlen;
if (screq->datalen > 0) {
+ /* XXX dma accessible */
xs->data = malloc(screq->datalen, M_TEMP,
M_WAITOK | M_CANFAIL | M_ZERO);
if (xs->data == NULL) {
xs->cmdlen = sizeof(*cdb);
if (atareq->datalen > 0) {
+ /* XXX dma accessible */
xs->data = malloc(atareq->datalen, M_TEMP,
M_WAITOK | M_CANFAIL | M_ZERO);
if (xs->data == NULL) {