olafbuddenha...@gmx.net, le Sun 10 Apr 2011 06:43:04 +0200, a écrit :
> i would like to check out whether there is documentation
> or an interested tutor for the tasks of listing all MMC drives, getting
> (exclusive) access to a drive, sending SCSI commands, getting reply
> data and error indications.

That interface isn't complete: the GNU Mach kernel uses linux drivers
internally, and the scsi_ioctl() function is available there (thus with
the linuxish interface), but its features have not been propagated to
the device_get/set_status() user interface yet. It should be quite
easy to add it, however, see the device_get/set_status() functions in
gnumach/linux/dev/glue/block.c

Samuel

Reply via email to