diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-10-31 18:31:42 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-10-31 18:31:42 +0000 |
commit | be04e57b426cb3008dc80177a7e96d83dc304b18 (patch) | |
tree | e9214ae2216d98615c8d6b9717c97d2cf7a2c655 /sys/arch | |
parent | a42dc61e8b61f371c85cdfc251fb6ead0e11e65e (diff) |
pdc_speeds is only needed for NCOM_GSC>0; from hellmuth.michaelis@t-online.de
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/dev/pdc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/pdc.c b/sys/arch/hppa/dev/pdc.c index 4181c5b8e89..cd33fa609b2 100644 --- a/sys/arch/hppa/dev/pdc.c +++ b/sys/arch/hppa/dev/pdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pdc.c,v 1.26 2003/10/03 16:44:49 miod Exp $ */ +/* $OpenBSD: pdc.c,v 1.27 2003/10/31 18:31:41 mickey Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -30,6 +30,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "com.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> @@ -75,6 +77,7 @@ void pdctimeout(void *v); int pdcparam(struct tty *tp, struct termios *); int pdccnlookc(dev_t dev, int *cp); +#if NCOM_GSC > 0 /* serial console speed table */ static int pdc_speeds[] = { B50, @@ -94,6 +97,7 @@ static int pdc_speeds[] = { B115200, B230400, }; +#endif void pdc_init() @@ -124,7 +128,6 @@ pdc_init() cn_tab = &constab[0]; /* setup the console */ -#include "com.h" #if NCOM_GSC > 0 if (PAGE0->mem_cons.pz_class == PCL_DUPLEX) { struct pz_device *pzd = &PAGE0->mem_cons; |