diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-08-08 15:08:25 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-08-08 15:08:25 +0000 |
commit | 5bbee26be8b08ad1a8786d9c99554508672374d4 (patch) | |
tree | a2845e688f9f284e00b28bbc7e02069685331d1a /sys/dev/ic/com.c | |
parent | 54da12209ae64087149dd80374bebc7d2f9a9dfe (diff) |
revert function accidentally committed
Diffstat (limited to 'sys/dev/ic/com.c')
-rw-r--r-- | sys/dev/ic/com.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index 8d4ba06e42c..237a65fb7dc 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com.c,v 1.48 1999/08/08 01:34:14 niklas Exp $ */ +/* $OpenBSD: com.c,v 1.49 1999/08/08 15:08:24 niklas Exp $ */ /* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */ /*- @@ -674,23 +674,6 @@ com_activate(self, act) return (rv); } -#if defined(DDB) || defined(KGDB) -void -com_enable_debugport(sc) - struct com_softc *sc; -{ - int s; - - /* Turn on line break interrupt, set carrier. */ - s = splhigh(); - sc->sc_ier = IER_ERXRDY; - bus_space_write_1(sc->sc_iot, sc->sc_ioh, com_ier, sc->sc_ier); - SET(sc->sc_mcr, MCR_DTR | MCR_RTS); - bus_space_write_1(sc->sc_iot, sc->sc_ioh, com_mcr, sc->sc_mcr); - splx(s); -} -#endif - int comopen(dev, flag, mode, p) dev_t dev; |