aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip/media.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-06-13 15:03:47 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-17 21:30:49 -0700
commitc86a31f452f7dd132a1765d6d7160b0947f37b14 (patch)
treeb531650af625d24958bb59b511a1e4157525dc1e /drivers/net/tulip/media.c
parent7a6400cd3dbcfc3bbffcdb6dac4ffc957fb50e19 (diff)
downloadkernel_samsung_smdk4412-c86a31f452f7dd132a1765d6d7160b0947f37b14.zip
kernel_samsung_smdk4412-c86a31f452f7dd132a1765d6d7160b0947f37b14.tar.gz
kernel_samsung_smdk4412-c86a31f452f7dd132a1765d6d7160b0947f37b14.tar.bz2
[BNX2]: Use CPU native page size
Use CPU native page size to determine various ring sizes. This allows order-0 memory allocations on all systems. Added check to limit the page size to 16K since that's the maximum rx ring size that will be used. This will prevent using unnecessarily large page sizes on some architectures with large page sizes. [Suggested by David Miller] Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip/media.c')
0 files changed, 0 insertions, 0 deletions