diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-16 17:26:05 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-16 17:26:05 +0000 |
commit | 797d8aff57dba084da3d4cf6183c99d5cd80725a (patch) | |
tree | 207859fba37af6ed9b51df906f18c9c9e8374e54 /sys/arch | |
parent | 8e74f8d1d826836631edbb626bb63e11afe6ef6d (diff) |
Compile in serial console settings support if any com(4) device is included
in the kernel, not only when com @ gsc is there.
ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/dev/pdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/pdc.c b/sys/arch/hppa/dev/pdc.c index a2db4651c87..4ec046c820f 100644 --- a/sys/arch/hppa/dev/pdc.c +++ b/sys/arch/hppa/dev/pdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pdc.c,v 1.38 2010/07/02 17:27:01 nicm Exp $ */ +/* $OpenBSD: pdc.c,v 1.39 2011/08/16 17:26:04 kettenis Exp $ */ /* * Copyright (c) 1998-2003 Michael Shalayeff @@ -76,7 +76,7 @@ void pdctimeout(void *v); int pdcparam(struct tty *tp, struct termios *); int pdccnlookc(dev_t dev, int *cp); -#if NCOM_GSC > 0 +#if NCOM > 0 /* serial console speed table */ static int pdc_speeds[] = { B50, @@ -127,7 +127,7 @@ pdc_init() cn_tab = &pdccons; /* Figure out console settings. */ -#if NCOM_GSC > 0 +#if NCOM > 0 if (PAGE0->mem_cons.pz_class == PCL_DUPLEX) { struct pz_device *pzd = &PAGE0->mem_cons; extern int comdefaultrate; |