Trace formatting – Compex Systems Advanced SerialRAID Adapters SA33-3285-02 User Manual

Page 276

Advertising
background image

Interface between the SSA Adapter Device Driver and Head Device Driver

To communicate with the SSA adapter device driver, the SSA head device driver:

1. Uses the fp_open kernel service to open the required instance of the SSA adapter

device driver.

2. Calls the fp_ioctl kernel service to issue the SSA_GET_ENTRY_POINT operation

to the opened adapter.

3. Calls the function SSA_Ipn_Directive whose address was returned by the ioctl

operation. These calls to SSA_Ipn_Directive are used for all communication with
the SSA device.

4. Uses the fp_close kernel service to close the adapter.

Note: When fp_close is called, SSA_Ipn_Directive cannot be called.

Trace Formatting

The SSA adapter device driver and the SSA disk device driver can both make entries in
the kernel trace buffer. The hook ID for the SSA adapter device driver is 45A. The hook
ID for the SSA disk device driver is 45B. For information on how to use the kernel trace
feature, refer to the trace command for the kernel debug program. With the PCI SSA
Multi-Initiator/RAID EL Adapter, the Micro Channel SSA Multi-Initiator/RAID EL Adapter,
or the Advanced SerialRAID Adapter, the Target-Mode SSA device driver can make
entries in the kernel trace buffer; its hook ID is 3B4.

256

User’s Guide and Maintenance Information

Advertising