]> git.baikalelectronics.ru Git - kernel.git/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)
commit739d9d1784fd14c4364ca927c1e4ac7effd8d6ab
tree836ea0e55d46d06e690b9b9cd67ce8a6feda9ce6
parente97feabfd34ea8c0e70a7fa3405e721e07432b9f
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 [new file with mode: 0644]
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_main.c [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]