Imported Upstream version 0.72.3
This commit is contained in:
10
scsi-layer.h
10
scsi-layer.h
@@ -1,5 +1,5 @@
|
||||
/* dvdisaster: Additional error correction for optical media.
|
||||
* Copyright (C) 2004-2009 Carsten Gnoerlich.
|
||||
* Copyright (C) 2004-2011 Carsten Gnoerlich.
|
||||
* Project home page: http://www.dvdisaster.com
|
||||
* Email: carsten@dvdisaster.com -or- cgnoerlich@fsfe.org
|
||||
*
|
||||
@@ -41,7 +41,7 @@
|
||||
#undef VERSION
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <IOKit/IOKitLib.h>
|
||||
#include <IOKit/scsi-commands/SCSITaskLib.h>
|
||||
#include <IOKit/scsi/SCSITaskLib.h>
|
||||
#include <IOKit/storage/IODVDTypes.h>
|
||||
#include <mach/mach.h>
|
||||
#include <string.h>
|
||||
@@ -53,6 +53,11 @@
|
||||
*** Define the Sense data structure.
|
||||
***/
|
||||
|
||||
/* Theretically not needed, but using less causes DMA breakage
|
||||
on some chipsets. */
|
||||
|
||||
#define MIN_TRANSFER_LEN 4
|
||||
|
||||
/*
|
||||
* Linux already has one
|
||||
*/
|
||||
@@ -109,6 +114,7 @@ typedef struct _DeviceHandle
|
||||
*/
|
||||
#if defined(SYS_LINUX) || defined(SYS_NETBSD) || defined(SYS_SOLARIS)
|
||||
int fd; /* device file descriptor */
|
||||
int forceSG_IO; /* CDROM_SEND_PACKET broken on this target */
|
||||
#endif
|
||||
#ifdef SYS_FREEBSD
|
||||
struct cam_device *camdev; /* camlib device handle */
|
||||
|
||||
Reference in New Issue
Block a user