]> git.baikalelectronics.ru Git - kernel.git/commit
netxen: fix physical port mapping
authorDhananjay Phadke <dhananjay@netxen.com>
Tue, 24 Feb 2009 11:42:59 +0000 (03:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Feb 2009 11:42:59 +0000 (03:42 -0800)
commita57dfed1c0bc979325af4f8b269a6ecba4f3c3c9
treea4ec3925747382755740df54e34a036a2fd9abb8
parentcf495cdc75ebe156872efde62a7dbca0eb405fcc
netxen: fix physical port mapping

The PCI function to physical port mapping is valid only for
old firmware. New firmware (4.0.0+) abstracts this.
So driver should never try to access phy using invalid
mapping. The behavior is unpredictable when PCI functions
4-7 are enabled on the same NIC.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c