Set COM_HW_NO_TXPRELOAD. The IQ80321's UART doesn't lose without

this, but it works fine with it, and this serves to broaden the
testing field of the flag.
This commit is contained in:
thorpej 2002-04-12 19:35:17 +00:00
parent 4a0ee23b99
commit 09eacc7061
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: com_obio.c,v 1.1 2002/03/27 21:51:29 thorpej Exp $ */
/* $NetBSD: com_obio.c,v 1.2 2002/04/12 19:35:17 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -85,6 +85,7 @@ com_obio_attach(struct device *parent, struct device *self, void *aux)
sc->sc_iot = oba->oba_st;
sc->sc_iobase = oba->oba_addr;
sc->sc_frequency = COM_FREQ;
sc->sc_hwflags = COM_HW_NO_TXPRELOAD;
error = bus_space_map(sc->sc_iot, oba->oba_addr, 8, 0, &sc->sc_ioh);
if (error) {