2020-02-16 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up the device access mode in the SAS USI switcher
	driver.
This commit is contained in:
Fred Gleason 2020-02-16 14:24:45 -05:00
parent 26ec6cd9f6
commit 8b90256b28
2 changed files with 5 additions and 2 deletions

View File

@ -19601,3 +19601,6 @@
2020-02-16 Fred Gleason <fredg@paravelsystems.com> 2020-02-16 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the SAS 64000gpi switcher * Cleaned up the device access mode in the SAS 64000gpi switcher
driver. driver.
2020-02-16 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the SAS USI switcher
driver.

View File

@ -2,7 +2,7 @@
// //
// A Rivendell switcher driver for the SAS USI Protocol // A Rivendell switcher driver for the SAS USI Protocol
// //
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@ -88,7 +88,7 @@ SasUsi::SasUsi(RDMatrix *matrix,QObject *parent)
sas_device->setSpeed(tty->baudRate()); sas_device->setSpeed(tty->baudRate());
sas_device->setWordLength(tty->dataBits()); sas_device->setWordLength(tty->dataBits());
sas_device->setParity(tty->parity()); sas_device->setParity(tty->parity());
sas_device->open(QIODevice::Unbuffered|QIODevice::ReadWrite); sas_device->open(QIODevice::Unbuffered|QIODevice::WriteOnly);
} }
delete tty; delete tty;