Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi Fix, but disable the commented SUN compatibil...



details:   https://anonhg.NetBSD.org/src/rev/e62b9173876a
branches:  trunk
changeset: 448874:e62b9173876a
user:      kardel <kardel%NetBSD.org@localhost>
date:      Tue Feb 12 13:49:13 2019 +0000

description:
Fix, but disable the commented SUN compatibility in st.c to write
 final file marks by opening and immediately closing the device
 in O_WRONLY mode. That code has not been working since around 1998.
 It can now be enabled with options ST_SUNCOMPAT.

diffstat:

 sys/dev/scsipi/files.scsipi |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0b437a909fa2 -r e62b9173876a sys/dev/scsipi/files.scsipi
--- a/sys/dev/scsipi/files.scsipi       Tue Feb 12 13:43:40 2019 +0000
+++ b/sys/dev/scsipi/files.scsipi       Tue Feb 12 13:49:13 2019 +0000
@@ -1,11 +1,12 @@
-#      $NetBSD: files.scsipi,v 1.41 2005/12/11 12:23:50 christos Exp $
+#      $NetBSD: files.scsipi,v 1.42 2019/02/12 13:49:13 kardel Exp $
 #
 # Config file and device description for machine-independent SCSI code.
 # Included by ports that need it.  Ports that use it must provide
 # their own "major" declarations for the appropriate devices.
 
 defflag        opt_scsi.h              SCSIVERBOSE ST_ENABLE_EARLYWARN
-                               SES_ENABLE_PASSTHROUGH SCSI_OLD_NOINQUIRY
+                               ST_SUNCOMPAT SES_ENABLE_PASSTHROUGH
+                               SCSI_OLD_NOINQUIRY
 defparam opt_scsi.h            ST_MOUNT_DELAY SDRETRIES SD_IO_TIMEOUT
 
 defflag        opt_scsipi_debug.h      SCSIPI_DEBUG



Home | Main Index | Thread Index | Old Index