diff options
author | 2005-12-13 21:09:54 -0800 | |
---|---|---|
committer | 2005-12-13 21:09:54 -0800 | |
commit | 16fe9d74f14ed74af778c5db7f9129e29916f4a7 (patch) | |
tree | 909a2b173d5140b22df9f35a252dc204dba56bdd /drivers/acpi/processor_perflib.c | |
parent | [TG3]: Fix suspend and resume (diff) | |
download | linux-dev-16fe9d74f14ed74af778c5db7f9129e29916f4a7.tar.xz linux-dev-16fe9d74f14ed74af778c5db7f9129e29916f4a7.zip |
[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>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
0 files changed, 0 insertions, 0 deletions