Module Name: src
Committed By: tsutsui
Date: Fri Mar 19 14:26:37 UTC 2010
Modified Files:
src/sys/dev/ic: ne2000.c
Log Message:
No need to override mem_ring value in ne2000_ipkdb_attach()
since a wrong calculation in dp8390_ipkdb_attach() was fixed.
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/ic/ne2000.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/ne2000.c
diff -u src/sys/dev/ic/ne2000.c:1.70 src/sys/dev/ic/ne2000.c:1.71
--- src/sys/dev/ic/ne2000.c:1.70 Sat Mar 13 15:27:40 2010
+++ src/sys/dev/ic/ne2000.c Fri Mar 19 14:26:37 2010
@@ -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];