VIRTUTECH CONFIDENTIAL    Previous - Up - Next

sbbc-pci

Provided by
sbbc-pci
Class Hierarchy
conf-objectlog-objectsbbc-pci
Interfaces Implemented
log_object, io_memory, pci_device
Description
The sbbc-pci models the sbbc pci device found in Serengeti servers. It is used for communication between the OS/OBP and the Service Processor. The sbbc-pci handles interrupts, and read/writes to the IOSRAM memory.

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
Attribute List
access_ignore
Session attribute; read/write access; type: unknown type; integer indexed; indexed type: unknown type.

Access info ignore strings.

access_info
Session attribute; read/write access; type: unknown type.

Access info debugging enable/disable.

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.

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

EPLD Interrupt Register

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

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

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

PCI interrupt enable register.

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

State of the interrupt pin.

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

PCI interrupt status register.

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

Interrupt generation register 0

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

Interrupt generation register 1

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

List of all current PCI IO and memory mappings.

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

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

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

Console implementing the _serengeti_console interface.

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
access-ignoreadd string to ignore for access info
access-infotoggle debug output for IOSRAM accesses
infoprint information about the device
pci-headerprint PCI device header
statusprint status of the device

Command Descriptions

<sbbc-pci>.access-ignore
Synopsis
<sbbc-pci>.access-ignore ["ignore-str"]
Description
Adds a string to the list of strings that will be ignored when access-info debugging is enabled. Adding a string a second time will remove it from the list.
<sbbc-pci>.access-info
Synopsis
<sbbc-pci>.access-info
Description
When access info debugging is enabled, the sbbc-pci device will print where the IOSRAM is accessed.
<sbbc-pci>.info
Synopsis
<sbbc-pci>.info
Description
Print detailed information about the configuration of the device.
<sbbc-pci>.pci-header
Synopsis
<sbbc-pci>.pci-header
Description
Print the PCI header, i.e the configuration registers.
<sbbc-pci>.status
Synopsis
<sbbc-pci>.status
Description
Print detailed information about the current status of the device.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next