diff --git a/sys/arch/sun3/dev/zs.c b/sys/arch/sun3/dev/zs.c index e70f967a50bb..4bdf8820395e 100644 --- a/sys/arch/sun3/dev/zs.c +++ b/sys/arch/sun3/dev/zs.c @@ -1,4 +1,4 @@ -/* $NetBSD: zs.c,v 1.36 1996/04/04 06:26:15 cgd Exp $ */ +/* $NetBSD: zs.c,v 1.37 1996/05/17 19:35:14 gwr Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -273,7 +273,7 @@ zsc_attach(parent, self, aux) cs->cs_ops = &zsops_null; /* Define BAUD rate clock for the MI code. */ - cs->cs_pclk_div16 = PCLK / 16; + cs->cs_brg_clk = PCLK / 16; /* XXX: get defspeed from EEPROM instead? */ cs->cs_defspeed = zs_defspeed[zsc_unit][channel]; diff --git a/sys/arch/sun3/dev/zs_kgdb.c b/sys/arch/sun3/dev/zs_kgdb.c index 3ba576927cfc..0fe2f8d44d99 100644 --- a/sys/arch/sun3/dev/zs_kgdb.c +++ b/sys/arch/sun3/dev/zs_kgdb.c @@ -118,7 +118,7 @@ zs_setparam(cs, iena, rate) } /* Initialize the speed, etc. */ - tconst = BPS_TO_TCONST(cs->cs_pclk_div16, rate); + tconst = BPS_TO_TCONST(cs->cs_brg_clk, rate); cs->cs_preg[5] |= ZSWR5_DTR | ZSWR5_RTS; cs->cs_preg[12] = tconst; cs->cs_preg[13] = tconst >> 8; @@ -153,7 +153,7 @@ zs_kgdb_init() cs.cs_reg_csr = &zc->zc_csr; cs.cs_reg_data = &zc->zc_data; cs.cs_channel = channel; - cs.cs_pclk_div16 = PCLK / 16; + cs.cs_brg_clk = PCLK / 16; /* Now set parameters. (interrupts disabled) */ zs_setparam(&cs, 0, kgdb_rate); diff --git a/sys/dev/sun/kbd.c b/sys/dev/sun/kbd.c index 4e12d3e590cb..4f076a8cf14c 100644 --- a/sys/dev/sun/kbd.c +++ b/sys/dev/sun/kbd.c @@ -1,4 +1,4 @@ -/* $NetBSD: kbd.c,v 1.7 1996/04/10 21:44:58 gwr Exp $ */ +/* $NetBSD: kbd.c,v 1.8 1996/05/17 19:32:06 gwr Exp $ */ /* * Copyright (c) 1992, 1993 @@ -246,7 +246,7 @@ kbd_attach(parent, self, aux) printf("\n"); /* Initialize the speed, etc. */ - tconst = BPS_TO_TCONST(cs->cs_pclk_div16, KBD_BPS); + tconst = BPS_TO_TCONST(cs->cs_brg_clk, KBD_BPS); s = splzs(); if (k->k_isconsole == 0) { /* Not the console; may need reset. */ diff --git a/sys/dev/sun/ms.c b/sys/dev/sun/ms.c index a37665b3f298..f99fcf7144f0 100644 --- a/sys/dev/sun/ms.c +++ b/sys/dev/sun/ms.c @@ -1,4 +1,4 @@ -/* $NetBSD: ms.c,v 1.5 1996/04/10 21:45:01 gwr Exp $ */ +/* $NetBSD: ms.c,v 1.6 1996/05/17 19:32:09 gwr Exp $ */ /* * Copyright (c) 1992, 1993 @@ -194,7 +194,7 @@ ms_attach(parent, self, aux) printf("\n"); /* Initialize the speed, etc. */ - tconst = BPS_TO_TCONST(cs->cs_pclk_div16, MS_BPS); + tconst = BPS_TO_TCONST(cs->cs_brg_clk, MS_BPS); s = splzs(); /* May need reset... */ reset = (channel == 0) ?