diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-16 17:26:47 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-16 17:26:47 +0000 |
commit | 26475ea00d2ec7495d73a0f1e2ef3de6a5678ee0 (patch) | |
tree | e9978f2a296bf4bb526d7e284cf4a904c5133030 /sys | |
parent | 797d8aff57dba084da3d4cf6183c99d5cd80725a (diff) |
Compile in serial console settings support if any com(4) device is included
in the kernel, not only when com @ gsc is there.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa64/dev/pdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa64/dev/pdc.c b/sys/arch/hppa64/dev/pdc.c index e8608234ee0..2ae9f3e624d 100644 --- a/sys/arch/hppa64/dev/pdc.c +++ b/sys/arch/hppa64/dev/pdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pdc.c,v 1.10 2010/07/02 17:27:01 nicm Exp $ */ +/* $OpenBSD: pdc.c,v 1.11 2011/08/16 17:26:46 kettenis Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -67,7 +67,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, @@ -118,7 +118,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; |