linux/drivers/scsi/bnx2i
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
..
57xx_iscsi_constants.h [SCSI] bnx2i: Update version and copyright year 2013 2013-08-23 13:04:29 -04:00
57xx_iscsi_hsi.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-09-05 14:54:29 -07:00
bnx2i_hwi.c cnic,bnx2i,bnx2fc: Fix inconsistent use of page size 2014-03-18 16:02:16 -04:00
bnx2i_init.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-09-05 14:54:29 -07:00
bnx2i_iscsi.c cnic,bnx2i,bnx2fc: Fix inconsistent use of page size 2014-03-18 16:02:16 -04:00
bnx2i_sysfs.c [SCSI] bnx2i: Update version and copyright year 2013 2013-08-23 13:04:29 -04:00
bnx2i.h bnx2x, cnic, bnx2i, bnx2fc: Fix bnx2i and bnx2fc regressions. 2013-09-18 12:24:32 -04:00
Kconfig cnic: Fix select dependencies in bnx2fc/bnx2i Kconfig. 2011-08-12 03:00:47 -07:00
Makefile