diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-03-15 17:52:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-03-15 17:52:21 +0000 |
commit | 4391c970ad9c9be165eeeaffd800233e9ecaed35 (patch) | |
tree | aa9c5f244f5b3fd9e6ea4eb71d9d104765897f32 /sys/dev/puc | |
parent | 2801c508532c77a03e474ee2f6e3e4d2f93a49a3 (diff) |
support puc devices with higher speeds (not tested yet)
Diffstat (limited to 'sys/dev/puc')
-rw-r--r-- | sys/dev/puc/com_puc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/puc/com_puc.c b/sys/dev/puc/com_puc.c index 8e935c81c3d..f6b157d1063 100644 --- a/sys/dev/puc/com_puc.c +++ b/sys/dev/puc/com_puc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_puc.c,v 1.1 1999/10/26 13:08:44 downsj Exp $ */ +/* $OpenBSD: com_puc.c,v 1.2 2001/03/15 17:52:20 deraadt Exp $ */ /* * Copyright (c) 1997 - 1999, Jason Downs. All rights reserved. @@ -124,6 +124,9 @@ com_puc_attach(parent, self, aux) sc->sc_iot = pa->t; sc->sc_ioh = pa->h; sc->sc_iobase = pa->a; + sc->sc_frequency = COM_FREQ; + if (pa->flags) + sc->sc_frequency = pa->flags & PUC_COM_CLOCKMASK; com_puc_attach2(sc); } |