Updates to -current

Sean Bruno sean.bruno at dsl-only.net
Fri Jan 30 23:44:04 PST 2009


Here is an update to -current that I am working on.

This update fixes the following:

SBP was not properly detaching from CAM if a target is powered off or
disconnected from the firewire bus.  This would manifest itself by
causing things like "camcontrol rescan all" to hang indefinitely.

SBP would have panic'd in sbp_orb_pointer() if fw_asyreq() failed.

Add locking during BUS_RESET conditions to keep the bus_reset handler
from firing before the code was finished asserting the BUS_RESET
condition.

Remove FWOHCI_INTFILT as the bus reset handler really does WAY more than
it should.  

Rework the generation indicator/flag to more properly adhere to the
specifications.  In this context, the generation flag should be 0 or 1
to indicate that the CROM has changed.  It should not be incremented
indefinitely without bounds.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firewire.diff
Type: text/x-patch
Size: 9552 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-firewire/attachments/20090131/b562039e/firewire.bin


More information about the freebsd-firewire mailing list