Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Ops, forgot to commit this file along with the "...



details:   https://anonhg.NetBSD.org/src/rev/a44381cbd4a8
branches:  trunk
changeset: 507199:a44381cbd4a8
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Fri Mar 16 16:43:54 2001 +0000

description:
Ops, forgot to commit this file along with the "variable com freq" support.
Thanks to Bill Sommerfeld for pointing this out.

diffstat:

 sys/dev/pci/com_puc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5f083ca04bf3 -r a44381cbd4a8 sys/dev/pci/com_puc.c
--- a/sys/dev/pci/com_puc.c     Fri Mar 16 15:06:24 2001 +0000
+++ b/sys/dev/pci/com_puc.c     Fri Mar 16 16:43:54 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: com_puc.c,v 1.1 1998/06/26 18:52:41 cgd Exp $  */
+/*     $NetBSD: com_puc.c,v 1.2 2001/03/16 16:43:54 bouyer Exp $       */
 
 /*
  * Copyright (c) 1998 Christopher G. Demetriou.  All rights reserved.
@@ -108,7 +108,7 @@
        sc->sc_iobase = aa->a;
        sc->sc_iot = aa->t;
        sc->sc_ioh = aa->h;
-       sc->sc_frequency = COM_FREQ;
+       sc->sc_frequency = aa->flags & PUC_COM_CLOCKMASK;
 
        intrstr = pci_intr_string(aa->pc, aa->intrhandle);
        psc->sc_ih = pci_intr_establish(aa->pc, aa->intrhandle, IPL_SERIAL,



Home | Main Index | Thread Index | Old Index