Re: Implement IOCTL_SCSI_GET_INQUIRY_DATA
27 Jul
2005
27 Jul
'05
10:05 p.m.
"Vitaliy Margolen" <wine-patch(a)kievinfo.com> wrote:
+static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize) +{ + PSCSI_INQUIRY_DATA inquirydata = NULL; + sg_io_hdr_t iocmd; + UCHAR inquiry[INQ_CMD_LEN] = {INQUIRY, 0, 0, 0, INQ_REPLY_LEN, 0}; + UCHAR sense_buffer[32]; + struct hd_driveid; + int iochk, version; + +#if defined(linux) + /* Check we have a SCSI device and a supported driver */
Please use appropriate configure checks instead of a blind '#if defined(linux)'. -- Dmitry.
7532
Age (days ago)
7532
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov