Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Revert the part of revision 1.228 that made HW_NO...
details: https://anonhg.NetBSD.org/src/rev/326a32c91574
branches: trunk
changeset: 581983:326a32c91574
user: tls <tls%NetBSD.org@localhost>
date: Sun Jun 12 21:10:47 2005 +0000
description:
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.
diffstat:
sys/dev/ic/com.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 41ef07faf36b -r 326a32c91574 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c Sun Jun 12 20:25:26 2005 +0000
+++ b/sys/dev/ic/com.c Sun Jun 12 21:10:47 2005 +0000
@@ -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 @@
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 @@
sc->sc_tbc -= n;
sc->sc_tba += n;
}
-#endif
+
COM_UNLOCK(sc);
out:
splx(s);
Home |
Main Index |
Thread Index |
Old Index