VIRTUTECH CONFIDENTIAL    Previous - Up - Next
AM79C973
- Provided by
- 
AM79C973
- Class Hierarchy
- 
conf-object → log-object → AM79C973
- Interfaces Implemented
- 
log_object, io_memory, pci_device, ieee_802_3_mac, event_poster
- Description
- 
AM79C973 Ethernet 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
- Attribute List
- 
- bcr_led0
- Optional attribute; read/write access; type: Integer.
LED0 Status (Link Integrity) 
 - bcr_led1
- Optional attribute; read/write access; type: Integer.
LED1 Status (Default: RCV) 
 - bcr_led2
- Optional attribute; read/write access; type: Integer.
LED2 Status (Default: RCVPOL) 
 - bcr_led3
- Optional attribute; read/write access; type: Integer.
LED3 Status (Default: XMT) 
 - bcr_mc
- Optional attribute; read/write access; type: Integer.
Miscellaneous Configuration 
 - bcr_msrda
- Optional attribute; read/write access; type: Integer.
Master Mode Read Active 
 - bcr_mswra
- Optional attribute; read/write access; type: Integer.
Master Mode Write Active 
 - bcr_phy_addr
- Optional attribute; read/write access; type: Integer.
register bcr.phy_addr 
 - bcr_phy_data
- Optional attribute; read/write access; type: Integer.
register bcr.phy_data 
 - bcr_reserved
- Optional attribute; read/write access; type: Integer.
register bcr.reserved 
 - bcr_swstyle
- Optional attribute; read/write access; type: Integer.
register bcr.swstyle 
 - config_registers
- Pseudo attribute; read/write access; type: [i*].
The PCI configuration registers, each 32 bits in size. 
 - csr_csr0
- Optional attribute; read/write access; type: Integer.
Controller Status 
 - csr_csr1
- Optional attribute; read/write access; type: Integer.
Init Block Address [15:0] 
 - csr_csr112
- Optional attribute; read/write access; type: Integer.
Missed Frame Count 
 - csr_csr15
- Optional attribute; read/write access; type: Integer.
Mode 
 - csr_csr2
- Optional attribute; read/write access; type: Integer.
Init Block Address [23:16] 
 - csr_csr3
- Optional attribute; read/write access; type: Integer.
Interrupt Mask and Deferral Control 
 - csr_csr4
- Optional attribute; read/write access; type: Integer.
Misc 
 - csr_csr88
- Optional attribute; read/write access; type: Integer.
Chip ID lsw 
 - csr_csr89
- Optional attribute; read/write access; type: Integer.
Chip ID msw 
 - curr_rxd
- Optional attribute; read/write access; type: Integer.
Index of the current receive descriptor 
 - curr_txd
- Optional attribute; read/write access; type: Integer.
Index of the current transmit descriptor 
 - expansion_rom
- Optional attribute; read/write access; type: Object or Nil.
Undocumented 
 - ioreg_aprom
- Optional attribute; read/write access; type: [i{16}].
Address PROM (MAC address + checksum) 
 - ioreg_idp
- Optional attribute; read/write access; type: Integer.
Bus Configuration Register Data Port 
 - ioreg_rap
- Optional attribute; read/write access; type: Integer.
Address Port (shared between RDP, IDP) 
 - ioreg_rdp
- Optional attribute; read/write access; type: Integer.
Ethernet Controller Register Data Port 
 - ioreg_reset
- Optional attribute; read/write access; type: Integer.
Reset (read to trigger) 
 - irq_raised
- Optional attribute; read/write access; type: Integer.
Interrupt is currently raised by device 
 - logical_address_filter
- Optional attribute; read/write access; type: Integer.
The logical address filter 
 - mac_address
- Optional attribute; read/write access; type: Integer.
The MAC address 
 - pci_bus
- Required attribute; read/write access; type: Object.
The PCI bus this device is connected to, implementing the pci-bus interface. 
 - pci_config_base_address_0
- Optional attribute; read/write access; type: Integer.
register pci_config.base_address_0 
 - pci_config_base_address_1
- Optional attribute; read/write access; type: Integer.
register pci_config.base_address_1 
 - pci_config_base_address_2
- Optional attribute; read/write access; type: Integer.
register pci_config.base_address_2 
 - pci_config_base_address_3
- Optional attribute; read/write access; type: Integer.
register pci_config.base_address_3 
 - pci_config_base_address_4
- Optional attribute; read/write access; type: Integer.
register pci_config.base_address_4 
 - pci_config_base_address_5
- Optional attribute; read/write access; type: Integer.
register pci_config.base_address_5 
 - pci_config_bist
- Optional attribute; read/write access; type: Integer.
register pci_config.bist 
 - pci_config_bus_address
- Pseudo attribute; read/write access; type: Integer.
register pci_config.bus_address 
 - pci_config_cache_line_size
- Optional attribute; read/write access; type: Integer.
register pci_config.cache_line_size 
 - pci_config_capabilities_ptr
- Optional attribute; read/write access; type: Integer.
register pci_config.capabilities_ptr 
 - pci_config_cardbus_cis_ptr
- Optional attribute; read/write access; type: Integer.
register pci_config.cardbus_cis_ptr 
 - pci_config_class_code
- Optional attribute; read/write access; type: Integer.
register pci_config.class_code 
 - pci_config_command
- Optional attribute; read/write access; type: Integer.
The PCI command register. 
 - pci_config_device_id
- Optional attribute; read/write access; type: Integer.
The Device ID of the PCI device 
 - pci_config_expansion_rom_base
- Pseudo attribute; read/write access; type: Integer.
Expansion ROM base address 
 - pci_config_header_type
- Optional attribute; read/write access; type: Integer.
register pci_config.header_type 
 - pci_config_interrupt_line
- Optional attribute; read/write access; type: Integer.
register pci_config.interrupt_line 
 - pci_config_interrupt_pin
- Optional attribute; read/write access; type: Integer.
register pci_config.interrupt_pin 
 - pci_config_interrupts
- Optional attribute; read/write access; type: Integer.
register pci_config.interrupts 
 - pci_config_latency_timer
- Optional attribute; read/write access; type: Integer.
register pci_config.latency_timer 
 - pci_config_max_lat
- Optional attribute; read/write access; type: Integer.
register pci_config.max_lat 
 - pci_config_min_gnt
- Optional attribute; read/write access; type: Integer.
register pci_config.min_gnt 
 - pci_config_pm_capabilities
- Optional attribute; read/write access; type: Integer.
PM Capabilities 
 - pci_config_pm_capability_id
- Optional attribute; read/write access; type: Integer.
Capability ID 
 - pci_config_pm_data
- Optional attribute; read/write access; type: Integer.
PM Data 
 - pci_config_pm_next_ptr_r
- Optional attribute; read/write access; type: Integer.
Next PTR 
 - pci_config_pm_sc_bridge
- Optional attribute; read/write access; type: Integer.
PM Bridge S/C 
 - pci_config_pm_status_control
- Optional attribute; read/write access; type: Integer.
PM Status/Control 
 - pci_config_reserved1
- Optional attribute; read/write access; type: Integer.
register pci_config.reserved1 
 - pci_config_reserved2
- Optional attribute; read/write access; type: Integer.
register pci_config.reserved2 
 - pci_config_revision_id
- Optional attribute; read/write access; type: Integer.
register pci_config.revision_id 
 - pci_config_status
- Optional attribute; read/write access; type: Integer.
register pci_config.status 
 - pci_config_subsystem_id
- Optional attribute; read/write access; type: Integer.
register pci_config.subsystem_id 
 - pci_config_subsystem_vendor_id
- Optional attribute; read/write access; type: Integer.
register pci_config.subsystem_vendor_id 
 - pci_config_vendor_id
- Optional attribute; read/write access; type: Integer.
The Vendor ID of the PCI device 
 - phy
- Optional attribute; read/write access; type: Object or Nil.
The PHY the device is connected to. 
 - poll_interval
- Optional attribute; read/write access; type: Float.
Interval between transmit descriptor polls 
 - rcv_descr_tbl_addr
- Optional attribute; read/write access; type: Integer.
The base address of the receive descriptor ring 
 - rcv_descr_tbl_length
- Optional attribute; read/write access; type: Integer.
The length of the receive descriptor ring 
 - xmt_descr_tbl_addr
- Optional attribute; read/write access; type: Integer.
The base address of the transmit descriptor ring 
 - xmt_descr_tbl_length
- Optional attribute; read/write access; type: Integer.
The length of the transmit descriptor ring 
 
Command List
- Commands defined by interface log_object
- 
log, log-group, log-level, log-size, log-type
- Commands
- 
| connect | connect to a simulated Ethernet link |  | disconnect | disconnect from simulated link |  | info | print information about the device |  | pci-header | print PCI device header |  | status | print status of the device |  
 
Command Descriptions
- 
<AM79C973>.connect
- Synopsis
- 
<AM79C973>.connect [-auto] (link|"link-name") 
- Description
- 
Connect the device to a simulated Ethernet link.
                The flag '-auto' is deprecated and shouldn't be used.
- See Also
- 
<AM79C973>.disconnect
- 
<AM79C973>.disconnect
- Synopsis
- 
<AM79C973>.disconnect
- Description
- 
Disconnect the device from a simulated Ethernet link.
- See Also
- 
<AM79C973>.connect
- 
<AM79C973>.info
- Synopsis
- 
<AM79C973>.info
- Description
- 
Print detailed information about the configuration of the device.
- 
<AM79C973>.pci-header
- Synopsis
- 
<AM79C973>.pci-header
- Description
- 
Print the PCI header, i.e the configuration registers.
- 
<AM79C973>.status
- Synopsis
- 
<AM79C973>.status
- Description
- 
Print detailed information about the current status of the device.
VIRTUTECH CONFIDENTIAL    Previous - Up - Next