Re: reset IOCTLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Kantor Zsolt wrote:

Can somebody tell me what is the difference between these reset commands (I'm developing an open
source application and I would like to know this): one is in the cdrom.h (CDROMRESET - 0x5312),

   This one seems to be handled only by discrete (non-IDE) CD-ROM drivers.

and the second with the third are in the hdreg.h (HDIO_DRIVE_RESET - 0x031c,

This gets handled as the usual IDE reset, i.e. wia SRST bit of the device control register.

WIN_DEVICE_RESET - 0x08)

This is not an ioctl() at all but ATAPI Device Reset command which can be use dto reset ATAPI device insted of the usual IDE reset.

Thanks
  Kantor

MBR, Sergei
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux