diff options
author | 2011-08-16 17:26:04 +0000 | |
---|---|---|
committer | 2011-08-16 17:26:04 +0000 | |
commit | 79bee3f9d53846a11da573700e7e5509dd39b1ad (patch) | |
tree | 525ea4f4857d9e97aca434e1c2ef0b16287786b6 | |
parent | Sync documentation with code on the matter of max state limit behavior. (diff) | |
download | wireguard-openbsd-79bee3f9d53846a11da573700e7e5509dd39b1ad.tar.xz wireguard-openbsd-79bee3f9d53846a11da573700e7e5509dd39b1ad.zip |
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@
-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; |