netxen: fix thermal check and shutdown
commite4135c2da11c337e3759f98727c4819ba2a849fa
authorDhananjay Phadke <dhananjay@netxen.com>
Fri, 17 Jul 2009 15:27:08 +0000 (17 15:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2009 15:23:33 +0000 (20 08:23 -0700)
tree1b90f6fc2bbd0d21309b3ce526bd97adc65a1af4
parentb2af9cb06d4de1b507ec0fd779ec2ecedee1480a
netxen: fix thermal check and shutdown

Check temperature for all PCI functions, that can allow
graceful shutdown of all interfaces on the overheated card.

Old code was only monitoring temperature for function 0 only.

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