Fix bug in 0.81 release in adding NetBSD driver. Make device enumerations

match internal structures. (Also corrected the name for the
non-existent AIX driver.)
This commit is contained in:
R. Bernstein
2008-12-06 22:35:16 -05:00
parent 542481d673
commit 4f0228e99f
2 changed files with 3 additions and 3 deletions

View File

@@ -154,12 +154,12 @@ extern "C" {
DRIVER_AIX, /**< AIX driver */ DRIVER_AIX, /**< AIX driver */
DRIVER_BSDI, /**< BSDI driver */ DRIVER_BSDI, /**< BSDI driver */
DRIVER_FREEBSD, /**< FreeBSD driver - includes CAM and ioctl access */ DRIVER_FREEBSD, /**< FreeBSD driver - includes CAM and ioctl access */
DRIVER_NETBSD, /**< NetBSD Driver. */
DRIVER_LINUX, /**< GNU/Linux Driver */ DRIVER_LINUX, /**< GNU/Linux Driver */
DRIVER_SOLARIS, /**< Sun Solaris Driver */ DRIVER_SOLARIS, /**< Sun Solaris Driver */
DRIVER_OSX, /**< Apple OSX Driver */ DRIVER_OSX, /**< Apple OSX Driver */
DRIVER_WIN32, /**< Microsoft Windows Driver. Includes ASPI and DRIVER_WIN32, /**< Microsoft Windows Driver. Includes ASPI and
ioctl access. */ ioctl access. */
DRIVER_NETBSD, /**< NetBSD Driver. */
DRIVER_CDRDAO, /**< cdrdao format CD image. This is listed DRIVER_CDRDAO, /**< cdrdao format CD image. This is listed
before BIN/CUE, to make the code prefer cdrdao before BIN/CUE, to make the code prefer cdrdao
over BIN/CUE when both exist. */ over BIN/CUE when both exist. */
@@ -185,7 +185,7 @@ extern "C" {
#define CDIO_MIN_DRIVER DRIVER_AIX #define CDIO_MIN_DRIVER DRIVER_AIX
#define CDIO_MIN_DEVICE_DRIVER CDIO_MIN_DRIVER #define CDIO_MIN_DEVICE_DRIVER CDIO_MIN_DRIVER
#define CDIO_MAX_DRIVER DRIVER_NRG #define CDIO_MAX_DRIVER DRIVER_NRG
#define CDIO_MAX_DEVICE_DRIVER DRIVER_NETBSD #define CDIO_MAX_DEVICE_DRIVER DRIVER_WIN32
/** The following are status codes for completion of a given cdio /** The following are status codes for completion of a given cdio
operation. By design 0 is successful completion and -1 is error operation. By design 0 is successful completion and -1 is error

View File

@@ -109,7 +109,7 @@ CdIo_driver_t CdIo_all_drivers[CDIO_MAX_DRIVER+1] = {
NULL NULL
}, },
{DRIVER_BSDI, {DRIVER_AIX,
CDIO_SRC_IS_DEVICE_MASK|CDIO_SRC_IS_NATIVE_MASK|CDIO_SRC_IS_SCSI_MASK, CDIO_SRC_IS_DEVICE_MASK|CDIO_SRC_IS_NATIVE_MASK|CDIO_SRC_IS_SCSI_MASK,
"AIX", "AIX",
"AIX SCSI driver", "AIX SCSI driver",