]> git.baikalelectronics.ru Git - kernel.git/commit
igb: add support for x2 link width configurations
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 31 Mar 2009 20:38:00 +0000 (20:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2009 07:59:06 +0000 (00:59 -0700)
commite431d70375c993f1a9fc9d7911b55e09daabfccc
tree7d0b1568bc779c832cde38dbdd2bab9c4addf703
parentd1ba1ab08f2ea19f5f22eb7e3679f7872d77bba1
igb: add support for x2 link width configurations

When device is on PCIe link trained as x2 the driver is currently reporting
link width as "unknown".  The original patch provided by Myron adds the x2
link support and my changes are cosmetic to clean up the readability of the
conditional operators.

Based on work by: Myron Stowe <myron.stowe@hp.com>
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_main.c