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>
Showing
- drivers/net/atlx/Makefile 0 additions, 1 deletiondrivers/net/atlx/Makefile
- drivers/net/atlx/atl1.c 1254 additions, 290 deletionsdrivers/net/atlx/atl1.c
- drivers/net/atlx/atl1.h 558 additions, 45 deletionsdrivers/net/atlx/atl1.h
- drivers/net/atlx/atl1_ethtool.c 0 additions, 505 deletionsdrivers/net/atlx/atl1_ethtool.c
- drivers/net/atlx/atl1_hw.c 0 additions, 720 deletionsdrivers/net/atlx/atl1_hw.c
- drivers/net/atlx/atl1_hw.h 0 additions, 946 deletionsdrivers/net/atlx/atl1_hw.h
- drivers/net/atlx/atlx.c 433 additions, 0 deletionsdrivers/net/atlx/atlx.c
- drivers/net/atlx/atlx.h 506 additions, 0 deletionsdrivers/net/atlx/atlx.h
Loading
Please register or sign in to comment