ethoc: write number of TX buffers in init_ring
authorJonas Bonn <jonas@southpole.se>
Fri, 11 Jun 2010 02:47:36 +0000 (02:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2010 20:28:35 +0000 (13:28 -0700)
commitee4f56b990391f0ea333121ebc0e9fba28619b52
treee087bf962608e04671d89fcda9933a70813aa629
parentf8555ad0cfb0ba6cbc8729f337341fb11c82db89
ethoc: write number of TX buffers in init_ring

This moves the write of the TX_BD_NUM to init_ring together with the
rest of the code setting up the transmission buffers.

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