]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: Create separate functions for generating cmd_type and olinfo
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:44:48 +0000 (07:44 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 12:45:51 +0000 (20:45 +0800)
commit22e2048ea413c366a573f0412136007a6dba98bb
tree7da77120f52e0949a7e13291da65f6c1cf3faef8
parent79cf9eafca4eb1404a63d44e613131947e73a068
igb: Create separate functions for generating cmd_type and olinfo

This change is meant to improve the readability of the driver by separating
out the cmd_type configuration and the olinfo configuration into their own
functions.  By doing this it is much easier to determine which ingredients
go into setting up these to portions of the descriptor.

(cherry picked from commit e032afc80ca16e6b62cfe5938977bf678eec0dd0)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/e1000_82575.h
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c