]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 7 Oct 2011 06:27:16 +0000 (23:27 -0700)
commite032afc80ca16e6b62cfe5938977bf678eec0dd0
treefb8b57d2071e3dee76335ffb649049aed75f37b7
parent8542db05dbc99f603889c349e5cf8f3f81cddbf5
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.

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>
drivers/net/ethernet/intel/igb/e1000_82575.h
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c