Mentioned OpenBSD in adapter files

This commit is contained in:
Thomas Schmitt 2016-07-21 17:50:48 +00:00
parent c091e45d36
commit 9e05834c08
4 changed files with 4 additions and 12 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2016.07.21.141139" #define Cdrskin_timestamP "2016.07.21.175105"

View File

@ -2,9 +2,8 @@
/* os-netbsd.h /* os-netbsd.h
Operating system specific libburn definitions and declarations. Included Operating system specific libburn definitions and declarations. Included
by os.h in case of compilation for by os.h in case of compilation for
NetBSD 6 NetBSD 6 or OpenBSD 5.9
with MMC transport adapter sg-netbsd.c with MMC transport adapter sg-netbsd.c
>>> for OpenBSD too ?
Copyright (C) 2010 - 2016 Thomas Schmitt <scdbackup@gmx.net> Copyright (C) 2010 - 2016 Thomas Schmitt <scdbackup@gmx.net>
provided under GPLv2+ provided under GPLv2+

View File

@ -14,13 +14,6 @@
Operating system case distinction Operating system case distinction
*/ */
/* <<< Until it is known whether this adapter would work on OpenBSD too */
#ifdef __NetBSD__
#define Libburn_use_sg_netbsD
#endif
#ifdef Libburn_use_sg_dummY #ifdef Libburn_use_sg_dummY

View File

@ -19,7 +19,7 @@ This is the main operating system dependent SCSI part of libburn. It implements
the transport level aspects of SCSI control and command i/o. the transport level aspects of SCSI control and command i/o.
Present implementation: NetBSD 6, ioctl SCIOCCOMMAND Present implementation: NetBSD 6, ioctl SCIOCCOMMAND
>>> ??? for OpenBSD too ? OpenBSD 5.9, ioctl SCIOCCOMMAND
PORTING: PORTING:
@ -212,7 +212,7 @@ static void enumerate_common(char *fname,
/* PORTING: ------------------- non portable part --------------- */ /* PORTING: ------------------- non portable part --------------- */
/* Transport adapter is NetBSD SCIOCCOMMAND */ /* Transport adapter is NetBSD/OpenBSD ioctl SCIOCCOMMAND */
/* Adapter specific handles and data */ /* Adapter specific handles and data */
out.fd = -1; out.fd = -1;