• Jay Cliburn's avatar
    atl1: move common functions to atlx files · 305282ba
    Jay Cliburn authored
    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: default avatarChris Snook <csnook@redhat.com>
    Signed-off-by: default avatarJay Cliburn <jacliburn@bellsouth.net>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    305282ba
atlx.c 11.5 KB