Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/tc Thinko.
details: https://anonhg.NetBSD.org/src/rev/f748f8f6901a
branches: trunk
changeset: 500716:f748f8f6901a
user: ad <ad%NetBSD.org@localhost>
date: Sun Dec 17 14:46:43 2000 +0000
description:
Thinko.
diffstat:
sys/dev/tc/stic.c | 6 +++---
sys/dev/tc/sticvar.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r af0c1ffdb665 -r f748f8f6901a sys/dev/tc/stic.c
--- a/sys/dev/tc/stic.c Sun Dec 17 14:28:45 2000 +0000
+++ b/sys/dev/tc/stic.c Sun Dec 17 14:46:43 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stic.c,v 1.4 2000/12/17 13:52:04 ad Exp $ */
+/* $NetBSD: stic.c,v 1.5 2000/12/17 14:46:43 ad Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -590,10 +590,10 @@
offset -= sizeof(sxm.sxm_stic);
if (offset < sizeof(sxm.sxm_poll)) {
- pa = STIC_KSEG_TO_PHYS(si->si_slotkva);
+ pa = STIC_KSEG_TO_PHYS(si->si_poll);
return (machine_btop(pa + pffset));
}
- offset -= sizeof(sxm.sxm_slotkva);
+ offset -= sizeof(sxm.sxm_poll);
if (offset < si->si_buf_size) {
pa = STIC_KSEG_TO_PHYS(si->si_buf_phys);
diff -r af0c1ffdb665 -r f748f8f6901a sys/dev/tc/sticvar.h
--- a/sys/dev/tc/sticvar.h Sun Dec 17 14:28:45 2000 +0000
+++ b/sys/dev/tc/sticvar.h Sun Dec 17 14:46:43 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sticvar.h,v 1.4 2000/12/17 13:52:04 ad Exp $ */
+/* $NetBSD: sticvar.h,v 1.5 2000/12/17 14:46:44 ad Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -147,7 +147,7 @@
struct stic_xmap {
u_int32_t sxm_stic[PAGE_SIZE];
u_int32_t sxm_poll[0x0c0000 / sizeof(u_int32_t)];
- u_int32_t sxm_buf[128 * 1024 / sizeof(u_int32_t)];
+ u_int32_t sxm_buf[256 * 1024 / sizeof(u_int32_t)];
};
#endif /* !_TC_STICVAR_H_ */
Home |
Main Index |
Thread Index |
Old Index