VIRTUTECH CONFIDENTIAL    Previous - Up - Next

ISP1040

Provided by
ISP1040
Class Hierarchy
conf-objectlog-objectconf-objectlog-objectISP1040
Interfaces Implemented
log_object, io_memory, pci_device, event_poster
Description
The ISP1040 SCSI Controller.

Attributes

Attributes inherited from class conf-object
attributes, classname, component, iface, name, object_id, queue
Attributes inherited from class log-object
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
Attributes inherited from class conf-object
attributes, classname, component, iface, name, object_id, queue
Attributes inherited from class log-object
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
Attribute List
config_register_info
Pseudo attribute; read-only access; type: [[isii]*].

Register info for all registered configuration registers. The format for each entry is (offset, name, size, write-mask).

config_registers
Optional attribute; read/write access; type: [i{64}]; integer indexed; indexed type: Integer.

The 64 PCI configuration registers, each 32 bits in size.

control_status
Optional attribute; read/write access; type: unknown type.

The 'Control Status' register

dma_cmd_conf
Optional attribute; read/write access; type: unknown type.

DMA Command Configuration Register

dma_dat_conf
Optional attribute; read/write access; type: unknown type.

DMA Data Configuration Register

expansion_rom
Optional attribute; read/write access; type: [oii].

ROM object, map size, and map function number for the Expansion ROM.

fw_loaded
Optional attribute; read/write access; type: unknown type.

Set to 1 if a firmware has been downloaded to the controller.

fw_state
Optional attribute; read/write access; type: unknown type.

Current state of the firmware

host_control
Optional attribute; read/write access; type: unknown type.

The 'Host Control' register

interrupt_pin
Optional attribute; read/write access; type: [iiii].

State of the interrupt pin.

io_req_bios
Optional attribute; read/write access; type: unknown type.

Set if last io request was done using the Execute-IOCB mailbox command.

io_reqs
Optional attribute; read/write access; type: unknown type.

Obsolete - used for checkpoint compatibility.

io_requests
Optional attribute; read/write access; type: unknown type.

List of io-requests that are handled by the controller and waiting to be sent back to the host as completed.

irq_control
Optional attribute; read/write access; type: unknown type.

The 'Interrupt Control' register

irq_requested
Optional attribute; read/write access; type: unknown type.

Set when controller has a requested interrupt out-standing

irq_status
Optional attribute; read/write access; type: unknown type.

The 'Interrupt Status' register

last_bios_address
Optional attribute; read/write access; type: unknown type.

Last accessed bios address

mailbox_in
Optional attribute; read/write access; type: unknown type.

List of input mailboxes

mailbox_out
Optional attribute; read/write access; type: unknown type.

List of output mailboxes

mappings
Optional attribute; read/write access; type: [[i{5:8}]|[iiiiiiiio|nii]*].

List of all current PCI IO and memory mappings.

negotiate
Optional attribute; read/write access; type: unknown type.

Set if controller should do negotiation of wide/async settings with the target.

next_io_request
Optional attribute; read/write access; type: Integer.

Index of the next free I/O request.

nvram
Optional attribute; read/write access; type: unknown type.

NVRAM data

nvram_info
Optional attribute; read/write access; type: unknown type.

State machine info for nvram control

pci_bus
Optional attribute; read/write access; type: Object or Nil.

The PCI bus this device is connected to, implementing the pci-bus interface.

ram
Optional attribute; read/write access; type: unknown type.

Contents of the RAM that holds downloaded firmware for the controller.

req_queue_addr
Optional attribute; read/write access; type: unknown type.

Address to start of request queue

req_queue_len
Optional attribute; read/write access; type: unknown type.

Length of request queue

res_queue_addr
Optional attribute; read/write access; type: unknown type.

Address to start of response queue

res_queue_len
Optional attribute; read/write access; type: unknown type.

Length of response queue

scsi_bus
Required attribute; read/write access; type: unknown type.

The name of the SCSI bus that the device is connected to. This object must implement the 'scsi-bus' interface.

scsi_id
Required attribute; read/write access; type: unknown type.

The (target) id on the scsi bus for the controller itself.

scsi_msg_buf
Optional attribute; read/write access; type: unknown type.

The SCSI message buffer.

scsi_msg_len
Optional attribute; read/write access; type: unknown type.

Length of the current SCSI message.

scsi_msg_pos
Optional attribute; read/write access; type: unknown type.

Position in the SCSI message buffer.

semaphore
Optional attribute; read/write access; type: unknown type.

The 'Semaphore' register

target_id
Optional attribute; read/write access; type: unknown type.

The scsi id for the currently selected target.

target_lun
Optional attribute; read/write access; type: unknown type.

The active lun for the currently selected target.

targets
Optional attribute; read/write access; type: unknown type.

Per target information.

write_masks
Optional attribute; read/write access; type: [[ii]*].

Write masks for all registered configuration registers. The format for each entry is (offset, mask).

Command List

Commands defined by interface log_object
log, log-group, log-level, log-size, log-type
Commands
infoprint information about the device
pci-headerprint PCI device header
statusprint status of the device

Command Descriptions

<ISP1040>.info
Synopsis
<ISP1040>.info
Description
Print detailed information about the configuration of the device.
<ISP1040>.pci-header
Synopsis
<ISP1040>.pci-header
Description
Print the PCI header, i.e the configuration registers.
<ISP1040>.status
Synopsis
<ISP1040>.status
Description
Print detailed information about the current status of the device.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next