Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic No need to override mem_ring value in ne2000_ipkd...
details: https://anonhg.NetBSD.org/src/rev/3ee9cc4b635c
branches: trunk
changeset: 753176:3ee9cc4b635c
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Mar 19 14:26:37 2010 +0000
description:
No need to override mem_ring value in ne2000_ipkdb_attach()
since a wrong calculation in dp8390_ipkdb_attach() was fixed.
diffstat:
sys/dev/ic/ne2000.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 3f2edfff2103 -r 3ee9cc4b635c sys/dev/ic/ne2000.c
--- a/sys/dev/ic/ne2000.c Fri Mar 19 14:20:56 2010 +0000
+++ b/sys/dev/ic/ne2000.c Fri Mar 19 14:26:37 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ne2000.c,v 1.70 2010/03/13 15:27:40 tsutsui Exp $ */
+/* $NetBSD: ne2000.c,v 1.71 2010/03/19 14:26:37 tsutsui Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ne2000.c,v 1.70 2010/03/13 15:27:40 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ne2000.c,v 1.71 2010/03/19 14:26:37 tsutsui Exp $");
#include "opt_ipkdb.h"
@@ -980,9 +980,6 @@
if (dp8390_ipkdb_attach(kip))
return -1;
- dp->mem_ring = dp->mem_start
- + ((dp->txb_cnt * ED_TXBUF_SIZE) << ED_PAGE_SHIFT);
-
if (!(kip->flags & IPKDB_MYHW)) {
char romdata[16];
Home |
Main Index |
Thread Index |
Old Index