bnx2x: Memory allocation
authorEilon Greenstein <eilong@broadcom.com>
Wed, 13 Aug 2008 22:51:07 +0000 (15:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Aug 2008 23:02:34 +0000 (16:02 -0700)
Memory allocation
- The CQE ring was allocated to the max size even for a chip that does
  not support it. Fixed to allocate according to the chip type to save
  memory
- The rx_page_ring was not freed on driver unload

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found