Revert the part of revision 1.228 that made HW_NO_TXPRELOAD the default:

it appears to break output on the Soekris net4501, which is a rather
popular platform.

This should fix PR kern/29612 -- if not, I will probably revert it again.
This commit is contained in:
tls 2005-06-12 21:10:47 +00:00
parent dba4661556
commit 4a43d21777
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: com.c,v 1.232 2005/02/27 00:27:01 perry Exp $ */
/* $NetBSD: com.c,v 1.233 2005/06/12 21:10:47 tls Exp $ */
/*-
* Copyright (c) 1998, 1999, 2004 The NetBSD Foundation, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.232 2005/02/27 00:27:01 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.233 2005/06/12 21:10:47 tls Exp $");
#include "opt_com.h"
#include "opt_ddb.h"
@ -1751,7 +1751,6 @@ comstart(struct tty *tp)
bus_space_write_1(iot, ioh, com_ier, sc->sc_ier);
}
#if 0
/* Output the first chunk of the contiguous buffer. */
if (!ISSET(sc->sc_hwflags, COM_HW_NO_TXPRELOAD)) {
u_int n;
@ -1763,7 +1762,7 @@ comstart(struct tty *tp)
sc->sc_tbc -= n;
sc->sc_tba += n;
}
#endif
COM_UNLOCK(sc);
out:
splx(s);