K 10 svn:author V 6 sbruno K 8 svn:date V 27 2009-09-30T02:50:09.981549Z K 7 svn:log V 1486 Radical reworking of guts inside of sbp_targ. A lot of stuff going on here. sbp_targ.c -- add two new fwbind functions for the mandatory busy_timeout and reset_start CSRs(SBP-2) implement handler funcitons to handle these fwbinds -- extend the morb4 struct to be aligned with spec(SBP-2) -- define the unrestricted page table format per spec (SBP-2) -- define the agent state struct to better provide status to initiators -- enhance and implement locking and remove GIANT -- reach down into the fwohci stack and initiate a bus reset (ibr) whenever we enable/disable the lun -- align ourselves with CAM a bit better and assign status when needed -- handle transactions that require multiple CTIOs via sbp_targ_xfer_pt() and sbp_targ_fetch_pt() -- handle exclusive login capability from initiator and do the right thing. -- add sbp_targ_send_agent_state(), it doesn't do anything though. fwohci_pci.c -- remove meaningless #if 1 firewire.c -- implement config_intrhook() to allow CAM and others to initialize us more gracefully (thanks scottl, gibbs and others) -- manage node detection in an equally effective and simpler looping structure. fwohci.c -- move the bus_reset and SID interrupt handlers out of taskqueues and handle them immediately sbp.c -- implement a wrapper around xpt_done() to assist in debugging sbp hangs at boot. TBD add to debug level. fwcsr.c/h -- introduce common functions to handle CSR registration and deletion. END