ethoc: limit the number of buffers to 128
authorThomas Chou <thomas@wytron.com.tw>
Tue, 6 Oct 2009 03:25:25 +0000 (03:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 10:50:15 +0000 (03:50 -0700)
commita4d63a943735efa30270ce70716d43323fd40f02
treee5b65612eca59bc83ae31c02c4ddf09b0c7e6cc2
parent0baa080c75cea6357bfba9b93ba598d747457cbd
ethoc: limit the number of buffers to 128

Only 128 buffer descriptors are supported in the core. Limit the
number in case we have more memory.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethoc.c