Date: Sun, 14 Jun 2009 06:36:50 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r194169 - projects/mips/sys/mips/octeon1/dev/rgmii Message-ID: <200906140636.n5E6aoQm038125@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sun Jun 14 06:36:50 2009 New Revision: 194169 URL: http://svn.freebsd.org/changeset/base/194169 Log: Hack for the 'battleship' boards that have 8 ports rather than 4. Modified: projects/mips/sys/mips/octeon1/dev/rgmii/octeon_rgmx.c Modified: projects/mips/sys/mips/octeon1/dev/rgmii/octeon_rgmx.c ============================================================================== --- projects/mips/sys/mips/octeon1/dev/rgmii/octeon_rgmx.c Sun Jun 14 06:35:21 2009 (r194168) +++ projects/mips/sys/mips/octeon1/dev/rgmii/octeon_rgmx.c Sun Jun 14 06:36:50 2009 (r194169) @@ -58,7 +58,8 @@ __FBSDID("$FreeBSD$"); #include "octeon_rgmx.h" -#define OCTEON_RGMX_NUM_PORTS_MAX 4 +/* The "battleship" boards have 8 ports */ +#define OCTEON_RGMX_NUM_PORTS_MAX 8 #define NUM_TX_PACKETS 80 #define NUM_RX_PACKETS 300 #define MAX_RX_BUFS (NUM_RX_PACKETS) * (OCTEON_RGMX_NUM_PORTS_MAX)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906140636.n5E6aoQm038125>