8390: add common net_device ops
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 26 Nov 2008 02:12:49 +0000 (18:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 02:12:49 +0000 (18:12 -0800)
commit8884c092e5e4f9a1b6e44f2e02a3eb5481af87ab
tree3afd7d5b3453aa34ce1f6bb010c3e843ca337b90
parentb27aeadb5948d400df83db4d29590fb9862ba49d
8390: add common net_device ops

Fix the defactoring of ei_XXX functions in 8390 and 8390p.
Remove the tx_timeout hack since no driver including the 3c503
overrides tx_timeout at this time, looks like a legacy thing.

Also, since several drivers all have same hooks, provide common
netdev_ops.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/8390.c
drivers/net/8390.h
drivers/net/8390p.c
drivers/net/lib8390.c