]> err.no Git - linux-2.6/commit
atl1: move common functions to atlx files
authorJay Cliburn <jacliburn@bellsouth.net>
Sun, 3 Feb 2008 01:50:04 +0000 (19:50 -0600)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 11:49:23 +0000 (07:49 -0400)
commit305282ba19f81e571bd6d2dcc10ebb02e59a06ef
tree836ea0e55d46d06e690b9b9cd67ce8a6feda9ce6
parent2e5071bce5ce4037ce852a916e8106811e68677b
atl1: move common functions to atlx files

The future atl2 driver and the existing atl1 driver can share certain
functions and definitions.  Move these shareable functions and definitions
out of atl1-specific files and into atlx.c and atlx.h.  Some transitory
hackery will be present until atl2 is merged.

Reduce the number of source files by moving ethtool, hw, and param
functions from separate files into atl1_main.c, then rename it to just
atl1.c.

Move all atl1-specific definitions from atl1_hw.h to atl1.h.

Finally, clean up to make checkpatch.pl happy.

Signed-off-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/atlx/Makefile
drivers/net/atlx/atl1.c [moved from drivers/net/atlx/atl1_main.c with 65% similarity]
drivers/net/atlx/atl1.h
drivers/net/atlx/atl1_ethtool.c [deleted file]
drivers/net/atlx/atl1_hw.c [deleted file]
drivers/net/atlx/atl1_hw.h [deleted file]
drivers/net/atlx/atl1_param.c [deleted file]
drivers/net/atlx/atlx.c [new file with mode: 0644]
drivers/net/atlx/atlx.h [new file with mode: 0644]