summaryrefslogtreecommitdiff
path: root/drivers/firewire/fw-card.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-05-30 19:06:35 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-05-31 21:40:14 +0200
commit2aef469a35a273609beaa7094d5a07c1f6d75285 (patch)
tree3aad939f26bee97a7998b67a634478d081192cee /drivers/firewire/fw-card.c
parentb32744751e751e0abb184cf3b7359c9387a4bdf8 (diff)
downloadlinux-rt-2aef469a35a273609beaa7094d5a07c1f6d75285.tar.gz
firewire: Implement suspend/resume PCI driver hooks.
It's a low-impact design, that just makes suspend/resume look like a bus reset to the upper level drivers, but it should be sufficient. Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-card.c')
-rw-r--r--drivers/firewire/fw-card.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c
index 636151a64add..9eb1edacd825 100644
--- a/drivers/firewire/fw-card.c
+++ b/drivers/firewire/fw-card.c
@@ -407,11 +407,6 @@ fw_card_add(struct fw_card *card,
card->link_speed = link_speed;
card->guid = guid;
- /* Activate link_on bit and contender bit in our self ID packets.*/
- if (card->driver->update_phy_reg(card, 4, 0,
- PHY_LINK_ACTIVE | PHY_CONTENDER) < 0)
- return -EIO;
-
/*
* The subsystem grabs a reference when the card is added and
* drops it when the driver calls fw_core_remove_card.