Re: Implement IOCTL_SCSI_GET_INQUIRY_DATA
28 Jul
2005
28 Jul
'05
3:05 a.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.
7441
Age (days ago)
7441
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov