summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/stallion.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/stallion.c')
-rw-r--r--sys/i386/isa/stallion.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/i386/isa/stallion.c b/sys/i386/isa/stallion.c
index e6697a1..cb55866 100644
--- a/sys/i386/isa/stallion.c
+++ b/sys/i386/isa/stallion.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: stallion.c,v 1.23 1998/10/22 05:58:40 bde Exp $
+ * $Id: stallion.c,v 1.24 1999/01/12 00:36:36 eivind Exp $
*/
/*****************************************************************************/
@@ -119,7 +119,7 @@ static unsigned int stl_irqshared = 0;
#define STL_MEMDEV 0x07000000
-#define STL_DEFSPEED 9600
+#define STL_DEFSPEED TTYDEF_SPEED
#define STL_DEFCFLAG (CS8 | CREAD | HUPCL)
/*
@@ -825,7 +825,8 @@ stlopen_restart:
goto stlopen_restart;
}
}
- if ((tp->t_state & TS_XCLUDE) && (p->p_ucred->cr_uid != 0)) {
+ if ((tp->t_state & TS_XCLUDE) &&
+ suser(p->p_ucred, &p->p_acflag)) {
error = EBUSY;
goto stlopen_end;
}
OpenPOWER on IntegriCloud