Michael Chan 16fe9d74f1 [TG3]: Fix 5704 single-port mode
If the dual-port 5704 is configured as a single-port device with
only one PCI function, it would trigger a BUG() condition in
tg3_find_5704_peer(). This fixes the problem by returning its
own pdev if the peer cannot be found.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-12-13 21:09:54 -08:00
..
2005-12-01 02:10:11 -05:00
2005-11-10 11:25:02 +11:00
2005-09-21 22:34:08 -04:00
2005-09-06 22:47:00 -04:00
2005-11-30 22:35:39 +01:00
2005-10-31 13:37:12 +11:00
2005-11-05 21:00:03 -05:00
2005-09-27 15:24:13 -07:00
2005-09-07 17:17:33 -07:00
2005-11-11 05:47:04 -05:00
2005-10-28 16:07:30 -04:00
2005-11-11 08:32:47 -05:00
2005-10-28 08:16:51 -07:00
2005-09-14 08:37:31 -04:00
2005-10-31 13:37:12 +11:00
2005-11-08 09:40:47 -08:00
2005-09-14 08:46:21 -04:00
2005-10-28 08:16:51 -07:00
2005-10-28 08:16:51 -07:00
2005-11-07 21:50:00 -05:00
2005-11-08 09:40:26 -08:00
2005-09-14 09:18:21 -04:00
2005-11-05 14:40:27 -05:00
2005-11-11 08:31:35 -05:00
2005-12-13 11:35:22 -05:00
2005-11-18 13:10:30 -05:00
2005-09-06 22:47:00 -04:00
2005-10-28 08:16:51 -07:00
2005-10-28 08:16:51 -07:00
2005-12-13 21:09:54 -08:00
2005-10-28 16:07:30 -04:00