Deleted Added
full compact
DriverManual.txt (226436) DriverManual.txt (227458)
1/* $FreeBSD: head/sys/dev/isp/DriverManual.txt 226436 2011-10-16 14:30:28Z eadler $ */
1/* $FreeBSD: head/sys/dev/isp/DriverManual.txt 227458 2011-11-11 22:27:09Z eadler $ */
2
3 Driver Theory of Operation Manual
4
51. Introduction
6
7This is a short text document that will describe the background, goals
8for, and current theory of operation for the joint Fibre Channel/SCSI
9HBA driver for QLogic hardware.

--- 312 unchanged lines hidden (view full) ---

322this HBA with this platform's SCSI subsystem. Examining either the
323OpenBSD or the NetBSD isp_pci.c or isp_sbus.c files may assist the reader
324here in clarifying some of this.
325
3265.4 Initiator Mode Command Code Flow
327
328A succesful execution of isp_init will lead to the driver 'registering'
329itself with this platform's SCSI subsystem. One assumed action for this
2
3 Driver Theory of Operation Manual
4
51. Introduction
6
7This is a short text document that will describe the background, goals
8for, and current theory of operation for the joint Fibre Channel/SCSI
9HBA driver for QLogic hardware.

--- 312 unchanged lines hidden (view full) ---

322this HBA with this platform's SCSI subsystem. Examining either the
323OpenBSD or the NetBSD isp_pci.c or isp_sbus.c files may assist the reader
324here in clarifying some of this.
325
3265.4 Initiator Mode Command Code Flow
327
328A succesful execution of isp_init will lead to the driver 'registering'
329itself with this platform's SCSI subsystem. One assumed action for this
330is the registry of a function the SCSI subsystem for this platform
330is the registry of a function that the SCSI subsystem for this platform
331will call when it has a SCSI command to run.
332
333The platform specific module function that receives this will do whatever
334it needs to to prepare this command for execution in the core module. This
335sounds vague, but it's also very flexible. In principle, this could be
336a complete marshalling/demarshalling of this platform's SCSI command
337structure (should it be impossible to represent in an XS_T). In addition,
338this function can also block commands from running (if, e.g., Fibre

--- 296 unchanged lines hidden ---
331will call when it has a SCSI command to run.
332
333The platform specific module function that receives this will do whatever
334it needs to to prepare this command for execution in the core module. This
335sounds vague, but it's also very flexible. In principle, this could be
336a complete marshalling/demarshalling of this platform's SCSI command
337structure (should it be impossible to represent in an XS_T). In addition,
338this function can also block commands from running (if, e.g., Fibre

--- 296 unchanged lines hidden ---