Michael Chan
be1fefc214
cnic,bnx2i,bnx2fc: Fix inconsistent use of page size
...
The bnx2/bnx2x rings are made up of linked pages. However there is an
upper limit on the page size as some the page size settings are 16-bit
in the hardware/firmware interface. In the current code, some parts
use BNX2_PAGE_SIZE which has a 16K upper limit and some parts use
PAGE_SIZE. On archs with >= 64K PAGE_SIZE, it generates some compile
warnings. Define a new CNIC_PAGE_SZIE which has an upper limit of
16K and use it consistently in all relevant parts.
Signed-off-by: Michael Chan <mchan@broadcom.com >
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-03-18 16:02:16 -04:00
..
2014-02-09 19:06:14 -08:00
2014-01-26 22:40:43 -08:00
2013-10-18 00:03:28 -04:00
2013-12-09 20:38:59 -05:00
2014-01-16 11:53:26 -08:00
2014-02-06 19:46:54 -08:00
2014-01-16 11:53:26 -08:00
2014-01-25 11:17:34 -08:00
2013-11-11 14:02:08 -05:00
2014-01-06 17:37:45 -05:00
2014-03-17 17:19:45 -04:00
2014-03-18 16:02:16 -04:00
2014-03-10 15:56:59 -04:00
2014-03-05 20:40:25 -05:00
2014-01-16 11:53:26 -08:00
2014-02-25 18:35:13 -05:00
2014-01-16 11:53:26 -08:00
2013-12-31 16:48:31 -05:00
2014-01-16 16:22:53 -08:00
2014-02-17 00:19:24 -05:00
2014-01-16 11:53:26 -08:00
2014-03-03 15:48:11 -05:00
2014-01-17 18:54:13 -08:00
2014-03-13 15:46:20 -04:00
2014-01-16 11:53:26 -08:00
2013-09-27 17:38:32 -04:00
2014-01-16 11:53:26 -08:00
2014-03-06 16:26:41 -05:00
2014-01-16 11:53:26 -08:00
2014-02-17 00:36:34 -05:00
2014-02-18 18:09:02 -05:00
2014-03-13 13:35:40 -04:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2013-10-21 17:21:02 -04:00
2014-01-25 11:17:34 -08:00
2014-02-09 19:11:07 -08:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2013-11-14 07:55:21 +09:00
2013-12-06 12:37:55 -05:00
2013-12-31 16:48:32 -05:00
2014-01-16 11:53:26 -08:00
2014-03-03 15:38:12 -05:00
2014-01-16 16:22:54 -08:00
2014-03-12 00:11:43 -04:00
2014-01-17 18:13:58 -08:00
2014-01-16 11:53:26 -08:00
2014-02-26 15:22:02 -05:00
2014-01-16 11:53:26 -08:00
2013-12-09 18:09:28 -05:00
2014-01-16 11:53:26 -08:00
2014-03-11 16:14:31 -04:00
2014-01-16 11:53:26 -08:00
2014-01-14 17:11:26 -08:00
2014-03-17 22:17:32 -04:00
2014-02-17 00:36:34 -05:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2014-01-15 15:21:08 -08:00
2014-02-13 18:07:40 -05:00
2013-12-06 12:37:55 -05:00
2013-11-21 17:17:48 +00:00
2014-01-16 11:53:26 -08:00
2014-02-04 20:19:51 -08:00
2013-10-21 17:21:01 -04:00
2013-10-21 17:21:01 -04:00
2013-11-07 02:14:32 -05:00
2014-01-16 11:53:26 -08:00
2014-02-17 00:36:34 -05:00
2013-12-06 12:37:55 -05:00
2014-01-16 11:53:26 -08:00