]> git.baikalelectronics.ru Git - kernel.git/commit
ethoc: calculate number of buffers in ethoc_probe
authorJonas Bonn <jonas@southpole.se>
Fri, 11 Jun 2010 02:47:34 +0000 (02:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2010 20:28:34 +0000 (13:28 -0700)
commitce34bec07e59a60e7c66e8dc00618e062f67f8c3
treed71dcb9b809da2e8b3d24ab6e937c5d3e99fae9d
parentc9993663181b09ccacd868d53407ea776ebee17e
ethoc: calculate number of buffers in ethoc_probe

This moves the calculation of the number of transmission buffers to
ethoc_probe where it more logically fits with the rest of the memory
allocation code.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethoc.c