net/qede/base: use available macro
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:51:23 +0000 (18:51 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commit6844eac8a0d80efe966d909a71ea0d0a549ee676
tree80fcd4cea9e0f492213db707d4e83d5ad48fe97c
parent32e15079faa79cc3e1b24133d0a996b796f694c1
net/qede/base: use available macro

- Use OSAL_PAGE_SIZE instead of assuming it to be 4096.
 - While at it make sure the minimum number of doorbells that can be issued
   is 4.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore.h
drivers/net/qede/base/ecore_dev.c