Skip to content

Commit

Permalink
atl1: move common functions to atlx files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jay Cliburn authored and Jeff Garzik committed Mar 17, 2008
1 parent 2e5071b commit 305282b
Show file tree
Hide file tree
Showing 9 changed files with 2,751 additions and 2,710 deletions.
1 change: 0 additions & 1 deletion drivers/net/atlx/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
obj-$(CONFIG_ATL1) += atl1.o
atl1-y += atl1_main.o atl1_hw.o atl1_ethtool.o atl1_param.o
Loading

0 comments on commit 305282b

Please sign in to comment.