VIRTUTECH CONFIDENTIAL Previous - Up - Next
cassini_sub
- Provided by
-
cassini
- Class Hierarchy
-
conf-object → log-object → cassini_sub
- Interfaces Implemented
-
log_object, io_memory, pci_device
- Description
-
The cassini_sub class implements the PCI functions 1, 2 and 3 of a Cassini GBit Ethernet device. Three objects of this class is required for each cassini object to form a complete device.
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
-
- 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.
- expansion_rom
- Optional attribute; read/write access; type: [oii].
ROM object, map size, and map function number for the Expansion ROM.
- interrupt_pin
- Optional attribute; read/write access; type: [iiii].
State of the interrupt pin.
- main_object
- Required attribute; read/write access; type: Object.
The main device object.
- 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.
- pci_function
- Required attribute; read/write access; type: Integer.
PCI function number.
- 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
VIRTUTECH CONFIDENTIAL Previous - Up - Next