Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/pci Pull up revision 1.2 (requested by bouyer):



details:   https://anonhg.NetBSD.org/src/rev/7d3541516239
branches:  netbsd-1-5
changeset: 490942:7d3541516239
user:      he <he%NetBSD.org@localhost>
date:      Thu Mar 22 02:10:05 2001 +0000

description:
Pull up revision 1.2 (requested by bouyer):
  Allow attaching ``com'' devices at frequency other than the
  standard COM_FREQ.

diffstat:

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

diffs (18 lines):

diff -r 6c542d0a1517 -r 7d3541516239 sys/dev/pci/com_puc.c
--- a/sys/dev/pci/com_puc.c     Thu Mar 22 02:07:28 2001 +0000
+++ b/sys/dev/pci/com_puc.c     Thu Mar 22 02:10:05 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.1.24.1 2001/03/22 02:10:05 he 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