From: Peter P Waskiewicz Jr Date: Fri, 6 Feb 2009 07:53:59 +0000 (-0800) Subject: ixgbe: Refactor set_num_queues() and cache_ring_register() X-Git-Tag: v2.6.30-rc1~662^2~815 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc97114d3f998a040876695a9b2b5be0b1a5320b;p=pandora-kernel.git ixgbe: Refactor set_num_queues() and cache_ring_register() The current code to determine the number of queues the device will want on driver initialization is ugly and difficult to maintain. It also doesn't allow for easy expansion for future features or future hardware. This patch refactors these routines, and make them easier to deal with. Signed-off-by: Peter P Waskiewicz Jr Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed