Lines Matching +full:ata +full:- +full:generic
47 /* unit # & NULL (ie - "xyc1") */
72 #define DKC_CDROM 1 /* CD-ROM, SCSI or otherwise */
84 #define DKC_MD 16 /* meta-disk (virtual-disk) driver (obsolete) */
87 #define DKC_PCMCIA_MEM 21 /* PCMCIA memory disk-like type (Obsolete) */
90 #define DKC_BLKDEV 24 /* generic block device (see blkdev(7d)) */
107 #define DKI_PCMCIA_PFD 0x40 /* PCMCIA pseudo-floppy memory card */
153 * The Generic DKIOC numbers are from 0 - 50.
154 * The Floppy Driver uses 51 - 100.
155 * The Hard Disk (except SCSI) 101 - 106. (these are obsolete)
156 * The CDROM Driver 151 - 200.
157 * The USCSI ioctl 201 - 250.
162 * The following ioctls are generic in nature and need to be
167 #define DKIOCEJECT (DKIOC|6) /* Generic 'eject' */
178 * DKIOCFLUSHWRITECACHE when used from user-mode ignores the ioctl
180 * reinterpretation. From user-mode, this ioctl request is synchronous.
186 * dkc_callback field of the pointed to struct must be non-null or the
190 * If the ioctl returns non-zero, a callback will NOT be performed.
205 /* volatile and non-volatile cache */
225 #define DKIOCLOCK (DKIOC|7) /* Generic 'lock' */
226 #define DKIOCUNLOCK (DKIOC|8) /* Generic 'unlock' */
241 /* ioctl to report whether the disk is solid state or not - used for ZFS */
245 * Ioctl to force driver to re-read the alternate partition and rebuild
248 #define DKIOCADDBAD (DKIOC|20) /* Re-read the alternate map (IDE) */
320 * ioctl to determine whether media is write-protected
361 #define DK_UNKNOWN 0x00 /* Media inserted - type unknown */
365 * SFF 8090 Specification Version 3, media types 0x01 - 0xfffe are retained to
374 #define DK_CDR 0x09 /* CD-R */
375 #define DK_CDRW 0x0A /* CD-RW */
376 #define DK_DVDROM 0x10 /* DVD-ROM */
377 #define DK_DVDR 0x11 /* DVD-R */
378 #define DK_DVDRAM 0x12 /* DVD_RAM or DVD-RW */
404 #define DKIOCDUMPFINI (DKIOC | 29) /* Un-Dumpify a zvol */
430 #define DKV_SIDE_INIT (-1)
443 offset_t vdr_offset; /* 64-bit element on 32-bit alignment */
459 * Currently there are two device types - DKD_ATA_TYPE which means the
460 * disk is driven by cmdk/ata or dad/uata driver, and DKD_SCSI_TYPE
466 #define DKD_ATA_TYPE 0x01 /* ATA disk or legacy mode SATA disk */
519 * firmware update type - temporary or permanent use
531 uint32_t df_reserved; /* For easy 64-bit alignment below... */
536 #define DF_WAIT_SYNC 0x00000001 /* Wait for full write-out of free. */