diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2008-08-31 03:14:26 +0400 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2008-08-31 03:14:26 +0400 |
commit | 953c58045bb1069f6651e3df10b6f6421a557f73 (patch) | |
tree | bc267bcc44840f8e8dede92d17dd39a4b86aa2d5 /winsup/w32api | |
parent | 1c931bf1180bac40c40b9e3a496b06588e45d3b9 (diff) |
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/scsi.h: Define READ_TOC formats.
* lib/ddk/scsiport.def (ScsiPortGetDeviceBase): Fix export.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/ddk/scsi.h | 7 | ||||
-rw-r--r-- | winsup/w32api/lib/ddk/scsiport.def | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 15f513608..16c1632ff 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,10 @@ 2008-08-29 Andy Grover <andy.grover@oracle.com> + * include/ddk/scsi.h: Define READ_TOC formats. + * lib/ddk/scsiport.def (ScsiPortGetDeviceBase): Fix export. + +2008-08-29 Andy Grover <andy.grover@oracle.com> + * include/ddk/ndis.h (NDIS_MINIPORT_MAJOR_VERSION, NDIS_MINIPORT_MINOR_VERSION, struct NDIS_TASK_OFFLOAD_HEADER, PROTOCOL_RESERVED_SIZE_IN_PACKET, NdisGetFirstBufferFromPacketSafe, NdisMIndicateReceivePacket, diff --git a/winsup/w32api/include/ddk/scsi.h b/winsup/w32api/include/ddk/scsi.h index 65adcdd3a..885db66ae 100644 --- a/winsup/w32api/include/ddk/scsi.h +++ b/winsup/w32api/include/ddk/scsi.h @@ -1272,6 +1272,13 @@ typedef struct _SENSE_DATA { #define IOCTL_SCSI_MINIPORT_NOT_QUORUM_CAPABLE ((FILE_DEVICE_SCSI << 16) + 0x0520) #define IOCTL_SCSI_MINIPORT_NOT_CLUSTER_CAPABLE ((FILE_DEVICE_SCSI << 16) + 0x0521) +/* READ_TOC formats */ +#define READ_TOC_FORMAT_TOC 0x00 +#define READ_TOC_FORMAT_SESSION 0x01 +#define READ_TOC_FORMAT_FULL_TOC 0x02 +#define READ_TOC_FORMAT_PMA 0x03 +#define READ_TOC_FORMAT_ATIP 0x04 + /* Read Capacity Data. Returned in Big Endian format */ typedef struct _READ_CAPACITY_DATA { ULONG LogicalBlockAddress; diff --git a/winsup/w32api/lib/ddk/scsiport.def b/winsup/w32api/lib/ddk/scsiport.def index 1965161f3..f7050c259 100644 --- a/winsup/w32api/lib/ddk/scsiport.def +++ b/winsup/w32api/lib/ddk/scsiport.def @@ -8,7 +8,7 @@ ScsiPortConvertUlongToPhysicalAddress@4 ScsiPortFlushDma@4 ScsiPortFreeDeviceBase@8 ScsiPortGetBusData@24 -ScsiPortGetDeviceBase@24 +ScsiPortGetDeviceBase@28 ScsiPortGetLogicalUnit@16 ScsiPortGetPhysicalAddress@16 ScsiPortGetSrb@20 |