]> git.baikalelectronics.ru Git - kernel.git/commit
igb: make tx ring map and free functionality non-static
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 27 Oct 2009 15:54:43 +0000 (15:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 08:20:40 +0000 (01:20 -0700)
commit21f402d202df4fbc53d12a368ece9d5f35ac4c72
tree1ce6ae206757ad9e0bf30390bd7f4e8453b93d31
parentb50b26628c3a3dee7281ecab6a9fde6ad1725a83
igb: make tx ring map and free functionality non-static

This change makes a minor change to the xmit_frame_ring_adv funcition in that
it moves 2 checks from it into the xmit_frame_adv since the checks were not
ring specific.  In addition it exports the xmit_frame_ring_adv and the
unmap_and_free_tx_resource calls so that they can be used by other code such
as the ethtool loopback testing calls.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c