confusion. Fixes at least my usb DVD reader and The Blue Tick.
-/* $OpenBSD: cd.c,v 1.179 2010/07/25 05:35:42 krw Exp $ */
+/* $OpenBSD: cd.c,v 1.180 2010/07/25 16:34:41 krw Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
u_int8_t buf[8];
int error;
- xs = scsi_xs_get(sc->sc_link, 0);
+ xs = scsi_xs_get(sc->sc_link, SCSI_DATA_IN);
if (xs == NULL)
return (ENOMEM);
xs->cmd->opcode = GPCMD_READ_DVD_STRUCTURE;