diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-22 10:31:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-22 10:31:35 +0000 |
commit | f07a75db0d2df1bfc936629ff1925923be197b47 (patch) | |
tree | 8d39d73127974706bfdaa0b93159e919511bb868 /sys/arch/hp300/dev/itevar.h | |
parent | fec5e44a63f6a013e83b2fb42b6e1ea9269e2bcc (diff) |
from netbsd:
Prevent the ITE_ACTIVE bit from being cleared in iteoff() if the ITE_ISCONS
bit is set. Works around the fact that the last process to have the
console open exits, the bit is cleared, and "syncing disks...", etc. is
not seen if the system is rebooted with reboot(8). Fixes PR #1455.
Diffstat (limited to 'sys/arch/hp300/dev/itevar.h')
-rw-r--r-- | sys/arch/hp300/dev/itevar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/itevar.h b/sys/arch/hp300/dev/itevar.h index bdc21c308c7..97fbaffa2ed 100644 --- a/sys/arch/hp300/dev/itevar.h +++ b/sys/arch/hp300/dev/itevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: itevar.h,v 1.7 1995/03/28 18:16:12 jtc Exp $ */ +/* $NetBSD: itevar.h,v 1.7.2.1 1995/11/19 23:18:31 thorpej Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -42,7 +42,7 @@ * @(#)itevar.h 8.1 (Berkeley) 6/10/93 */ -#define UNIT(dev) minor(dev) +#define ITEUNIT(dev) minor(dev) struct itesw { int ite_hwid; /* Hardware id */ |