]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ax88796: start_xmit fix using net_device_ops
authorMagnus Damm <damm@igel.co.jp>
Thu, 15 Jan 2009 05:05:55 +0000 (21:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2009 05:05:55 +0000 (21:05 -0800)
commitd57bc36e7aba9e3a00d154f5eff80ff596146fc4
tree1f3c86720e7d4665576d269d6354931da2182ead
parent937f1ba56b4be37d9e2ad77412f95048662058d2
ax88796: start_xmit fix using net_device_ops

This patch hooks up the start_xmit/tx_timeout/get_stats callbacks
in the ax88796 driver since they no longer are installed by the
lib8390 code. Without this patch the function dev_hard_start_xmit()
crashes due to a start_xmit callback with the value NULL.

While at it, update the ax88796 driver to make use of use of struct
net_device_ops.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ax88796.c