Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Fix a couple of name-space changes that fell thr...



details:   https://anonhg.NetBSD.org/src/rev/ac37e2f9825a
branches:  trunk
changeset: 759478:ac37e2f9825a
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Dec 11 14:19:29 2010 +0000

description:
Fix a couple of name-space changes that fell through the cracks.

Hello, martin!

diffstat:

 sys/dev/pci/if_bnx.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 80cb484c51d4 -r ac37e2f9825a sys/dev/pci/if_bnx.c
--- a/sys/dev/pci/if_bnx.c      Sat Dec 11 12:14:06 2010 +0000
+++ b/sys/dev/pci/if_bnx.c      Sat Dec 11 14:19:29 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bnx.c,v 1.37 2010/12/09 23:14:06 jym Exp $  */
+/*     $NetBSD: if_bnx.c,v 1.38 2010/12/11 14:19:29 pgoyette Exp $     */
 /*     $OpenBSD: if_bnx.c,v 1.85 2009/11/09 14:32:41 dlg Exp $ */
 
 /*-
@@ -35,7 +35,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/sys/dev/bce/if_bce.c,v 1.3 2006/04/13 14:12:26 ru Exp $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.37 2010/12/09 23:14:06 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.38 2010/12/11 14:19:29 pgoyette Exp $");
 
 /*
  * The following controllers are supported by this driver:
@@ -3105,12 +3105,12 @@
                vcid_addr = GET_CID_ADDR(96);
                while (vcid_addr) {
 
-                       vcid_addr -= PHY_CTX_SIZE;
+                       vcid_addr -= PHY_BNX_CTX_SIZE;
 
                        REG_WR(sc, BNX_CTX_VIRT_ADDR, 0);
                        REG_WR(sc, BNX_CTX_PAGE_TBL, vcid_addr);
 
-                       for(offset = 0; offset < PHY_CTX_SIZE; offset += 4) {
+                       for(offset = 0; offset < PHY_BNX_CTX_SIZE; offset += 4) {
                                CTX_WR(sc, 0x00, offset, 0);
                        }
 
@@ -3411,7 +3411,7 @@
 
        REG_WR(sc, BNX_MQ_CONFIG, val);
 
-       val = 0x10000 + (MAX_CID_CNT * MB_KERNEL_CTX_SIZE);
+       val = 0x10000 + (MAX_CID_CNT * MB_KERNEL_BNX_CTX_SIZE);
        REG_WR(sc, BNX_MQ_KNL_BYP_WIND_START, val);
        REG_WR(sc, BNX_MQ_KNL_WIND_END, val);
 



Home | Main Index | Thread Index | Old Index