From 26475ea00d2ec7495d73a0f1e2ef3de6a5678ee0 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 16 Aug 2011 17:26:47 +0000 Subject: Compile in serial console settings support if any com(4) device is included in the kernel, not only when com @ gsc is there. --- sys/arch/hppa64/dev/pdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/hppa64') 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; -- cgit v1.2.3