Enhance speed detection

Sean Bruno sean.bruno at dsl-only.net
Mon Feb 16 15:57:29 PST 2009


Synopsis:
If speed of link between two devices is slower than the reported max
speed of both endpoints, the current driver will fail and be unable to
negotiate.

Summary:
Test negotiated speed by reading the CSRROM into a dummy variable.
If that read fails, decrement our speed and retry.  If all else fails,
go to lowest speed possible.

Report speed to the user.
Add display of the Bus Info Block when debug.firewire_debug > 1
Support the Bus Info Block(1394a-2000) method of speed detection.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: firewire.c.diff
Type: text/x-patch
Size: 3285 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-firewire/attachments/20090216/bf764841/firewire.c.bin


More information about the freebsd-firewire mailing list