firewire: support S100B...S400B and link slower than PHY
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 10 Jun 2007 19:31:36 +0000 (21:31 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 9 Jul 2007 22:07:43 +0000 (00:07 +0200)
commitf1397490017e337446c6a8b0562b584679a604a6
tree073c65b0fe78e02b529285ec1bffe5a5c7612e69
parent24d40125f1f59a6de9d9e6e046676bd60532596c
firewire: support S100B...S400B and link slower than PHY

Use a speed probe to determine the speed over 1394b buses and of nodes
which report a link speed less than their PHY speed.

Log the effective maximum speed of newly created nodes in dmesg.

Also, read the config ROM (except bus info block) at the maximum speed
rather than S100.  This isn't a real optimization though because we
still only use quadlet read requests for the entire ROM.

The patch also adds support for S1600 and S3200, although such hardware
does not exist yet.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
drivers/firewire/fw-cdev.c
drivers/firewire/fw-device.c
drivers/firewire/fw-device.h
drivers/firewire/fw-sbp2.c
drivers/firewire/fw-topology.h