Skip to content

Commit

Permalink
Staging: octeon-ethernet: Convert to use net_device_ops.
Browse files Browse the repository at this point in the history
Convert the driver to use net_device_ops as it is now mandatory.

Also compensate for the removal of struct sk_buff's dst field.

The changes are mostly mechanical, the content of ethernet-common.c
was moved to ethernet.c and ethernet-common.{c,h} are removed.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
David Daney authored and Ralf Baechle committed Jun 24, 2009
1 parent 773cb77 commit f696a10
Show file tree
Hide file tree
Showing 10 changed files with 390 additions and 396 deletions.
1 change: 0 additions & 1 deletion drivers/staging/octeon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
obj-${CONFIG_OCTEON_ETHERNET} := octeon-ethernet.o

octeon-ethernet-objs := ethernet.o
octeon-ethernet-objs += ethernet-common.o
octeon-ethernet-objs += ethernet-mdio.o
octeon-ethernet-objs += ethernet-mem.o
octeon-ethernet-objs += ethernet-proc.o
Expand Down
328 changes: 0 additions & 328 deletions drivers/staging/octeon/ethernet-common.c

This file was deleted.

29 changes: 0 additions & 29 deletions drivers/staging/octeon/ethernet-common.h

This file was deleted.

Loading

0 comments on commit f696a10

Please sign in to comment.