2001-05-09 23:21:59 -04:00
|
|
|
$OpenBSD: patch-scsilib_libscg_scsi-bsd_c,v 1.2 2001/05/10 03:22:01 fgsch Exp $
|
|
|
|
--- scsilib/libscg/scsi-bsd.c.orig Sun Apr 29 05:44:46 2001
|
|
|
|
+++ scsilib/libscg/scsi-bsd.c Wed May 9 23:42:32 2001
|
|
|
|
@@ -76,6 +76,7 @@ struct scg_local {
|
2000-06-12 17:34:38 -04:00
|
|
|
#else
|
2001-05-09 23:21:59 -04:00
|
|
|
|
|
|
|
#if defined(__OpenBSD__) && defined(TYPE_ATAPI)
|
2000-06-12 17:34:38 -04:00
|
|
|
+#define MAYBE_ATAPI
|
2001-05-09 23:21:59 -04:00
|
|
|
#define SADDR_ISSCSI(a) ((a).type == TYPE_SCSI)
|
|
|
|
#else
|
2000-06-12 17:34:38 -04:00
|
|
|
#define SADDR_ISSCSI(a) (1)
|