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:
@@ -154,12 +154,12 @@ extern "C" {
|
||||
DRIVER_AIX, /**< AIX driver */
|
||||
DRIVER_BSDI, /**< BSDI driver */
|
||||
DRIVER_FREEBSD, /**< FreeBSD driver - includes CAM and ioctl access */
|
||||
DRIVER_NETBSD, /**< NetBSD Driver. */
|
||||
DRIVER_LINUX, /**< GNU/Linux Driver */
|
||||
DRIVER_SOLARIS, /**< Sun Solaris Driver */
|
||||
DRIVER_OSX, /**< Apple OSX Driver */
|
||||
DRIVER_WIN32, /**< Microsoft Windows Driver. Includes ASPI and
|
||||
ioctl access. */
|
||||
DRIVER_NETBSD, /**< NetBSD Driver. */
|
||||
DRIVER_CDRDAO, /**< cdrdao format CD image. This is listed
|
||||
before BIN/CUE, to make the code prefer cdrdao
|
||||
over BIN/CUE when both exist. */
|
||||
@@ -185,7 +185,7 @@ extern "C" {
|
||||
#define CDIO_MIN_DRIVER DRIVER_AIX
|
||||
#define CDIO_MIN_DEVICE_DRIVER CDIO_MIN_DRIVER
|
||||
#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
|
||||
operation. By design 0 is successful completion and -1 is error
|
||||
|
||||
@@ -109,7 +109,7 @@ CdIo_driver_t CdIo_all_drivers[CDIO_MAX_DRIVER+1] = {
|
||||
NULL
|
||||
},
|
||||
|
||||
{DRIVER_BSDI,
|
||||
{DRIVER_AIX,
|
||||
CDIO_SRC_IS_DEVICE_MASK|CDIO_SRC_IS_NATIVE_MASK|CDIO_SRC_IS_SCSI_MASK,
|
||||
"AIX",
|
||||
"AIX SCSI driver",
|
||||
|
||||
Reference in New Issue
Block a user