VIRTUTECH CONFIDENTIAL Previous - Up - Next
BCM5704C
- Provided by
-
BCM5704C
- Class Hierarchy
-
conf-object → log-object → BCM5704C
- Interfaces Implemented
-
log_object, event_poster, ethernet_device, io_memory, pci_device
- Description
-
The BCM5704C class models the Broadcom BCM5704C triple-speed 10/100/1000Base-T Ethernet LAN 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
-
- add_crc_on_inject
- Optional attribute; read/write access; type: Integer.
Frames injected using the 'inject_packet' will get a correctly calculated CRC added at the end when this attribute is set to 1 (default). When set to 0, the user has to supply a CRC field with the injected frame. Note that you must always provide room for the CRC field, even when this attribute is set to 1.
- anar
- Optional attribute; read/write access; type: unknown type.
Internal Register
- aner
- Optional attribute; read/write access; type: unknown type.
Internal Register
- anlpar
- Optional attribute; read/write access; type: unknown type.
Internal Register
- arbiter_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- arbiter_trap_addr_h
- Optional attribute; read/write access; type: unknown type.
Internal register.
- arbiter_trap_addr_l
- Optional attribute; read/write access; type: unknown type.
Internal register.
- asf_control
- Optional attribute; read/write access; type: unknown type.
Internal register.
- bmcr
- Optional attribute; read/write access; type: unknown type.
Internal Register
- bmsr
- Optional attribute; read/write access; type: unknown type.
Internal Register
- buf_manager_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- 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.
- cs_conf
- Optional attribute; read/write access; type: unknown type.
Internal Register
- current_packet
- Pseudo attribute; read/write access; type: d|n.
(Obsolete - see the "last-frame" attribute instead). The packet that is currently about to be sent or received. The format is a raw Ethernet frame. This attribute is only valid in Ethernet_Transmit and Ethernet_Receive hap callbacks. It is possible to override the packet by assigning this attribute. The device will drop the current packet if the attribute is set to Nil, or with data of zero length.
- desc_high_mark
- Optional attribute; read/write access; type: unknown type.
Internal register.
- desc_low_mark
- Optional attribute; read/write access; type: unknown type.
Internal register.
- dma_completion_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- dma_desc_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- dma_desc_size
- Optional attribute; read/write access; type: unknown type.
Internal register.
- dma_low_mark
- Optional attribute; read/write access; type: unknown type.
Internal register.
- expansion_rom
- Optional attribute; read/write access; type: [oii].
ROM object, map size, and map function number for the Expansion ROM.
- firmware_loaded
- Pseudo attribute; read/write access; type: unknown type.
Set to 1 to fake the firmware load.
- general_mailbox
- Optional attribute; read/write access; type: unknown type.
List of 7 general mailbox registers
- gigabit_pcs_test
- Optional attribute; read/write access; type: unknown type.
Internal register.
- host_coalescing_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- host_config
- Optional attribute; read/write access; type: unknown type.
Internal register.
- inject_packet
- Pseudo attribute; write-only access; type: Data.
Attribute used to send a packet to the network device. Writing this attribute at any time injects a new packet into the device (without involving the network simulation). Injecting a packet copies the packet data, allowing the caller to reuse or dispose of the buffer used for creating the packet, after the attribute is written.
- interrupt_pin
- Optional attribute; read/write access; type: [iiii].
State of the interrupt pin.
- interrupt_state
- Optional attribute; read/write access; type: unknown type.
Internal interrupt state.
- irq_mailbox_0
- Optional attribute; read/write access; type: unknown type.
Internal register.
- irq_mailbox_1
- Optional attribute; read/write access; type: unknown type.
Internal register.
- irq_mailbox_2
- Optional attribute; read/write access; type: unknown type.
Internal register.
- irq_mailbox_3
- Optional attribute; read/write access; type: unknown type.
Internal register.
- is_mac1
- Required attribute; read/write access; type: Integer.
Set to 1 if the device is the MAC1 in a dual MAC device
- jumb_rx_replenish
- Optional attribute; read/write access; type: unknown type.
Internal register.
- jumb_rx_ring_flags
- Optional attribute; read/write access; type: unknown type.
Internal register.
- jumb_rx_ring_host_addr_h
- Optional attribute; read/write access; type: unknown type.
Internal register.
- jumb_rx_ring_host_addr_l
- Optional attribute; read/write access; type: unknown type.
Internal register.
- jumb_rx_ring_length
- Optional attribute; read/write access; type: unknown type.
Internal register.
- jumb_rx_ring_nic_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- last_frame
- Pseudo attribute; read/write access; type: d|n.
The frame that is currently about to be sent or received. The format is a raw Ethernet frame. This attribute is only valid in Ethernet_Transmit and Ethernet_Receive hap callbacks. It is possible to override the packet by assigning this attribute. The device will drop the current packet if the attribute is set to Nil, or with data of zero length.
- led_control
- Optional attribute; read/write access; type: unknown type.
Internal register.
- link
- Optional attribute; read/write access; type: Object or Nil.
The Ethernet link that the network device is connected to.
- local_control
- Optional attribute; read/write access; type: unknown type.
Internal register.
- low_water_max_receive
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mac0
- Optional attribute; read/write access; type: unknown type.
MAC 0 Address.
- mac1
- Optional attribute; read/write access; type: unknown type.
MAC 1 Address.
- mac10
- Optional attribute; read/write access; type: unknown type.
MAC 10 Address.
- mac11
- Optional attribute; read/write access; type: unknown type.
MAC 11 Address.
- mac12
- Optional attribute; read/write access; type: unknown type.
MAC 12 Address.
- mac13
- Optional attribute; read/write access; type: unknown type.
MAC 13 Address.
- mac14
- Optional attribute; read/write access; type: unknown type.
MAC 14 Address.
- mac15
- Optional attribute; read/write access; type: unknown type.
MAC 15 Address.
- mac2
- Optional attribute; read/write access; type: unknown type.
MAC 2 Address.
- mac3
- Optional attribute; read/write access; type: unknown type.
MAC 3 Address.
- mac4
- Optional attribute; read/write access; type: unknown type.
MAC 4 Address.
- mac5
- Optional attribute; read/write access; type: unknown type.
MAC 5 Address.
- mac6
- Optional attribute; read/write access; type: unknown type.
MAC 6 Address.
- mac7
- Optional attribute; read/write access; type: unknown type.
MAC 7 Address.
- mac8
- Optional attribute; read/write access; type: unknown type.
MAC 8 Address.
- mac9
- Optional attribute; read/write access; type: unknown type.
MAC 9 Address.
- mac_address
- Optional attribute; read/write access; type: s|[i{6}]|n.
Ethernet (MAC) address of the network interface.
- mac_event
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mac_hash_0
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mac_hash_1
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mac_hash_2
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mac_hash_3
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mac_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mac_status
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mappings
- Optional attribute; read/write access; type: [[i{5:8}]|[iiiiiiiio|nii]*].
List of all current PCI IO and memory mappings.
- mbuf_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mbuf_cluster_free_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mbuf_high_mark
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mbuf_size
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mdi_control
- Optional attribute; read/write access; type: unknown type.
Internal register.
- memory
- Optional attribute; read/write access; type: Data.
Onboard memory image.
- mi_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mi_status
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_1000_base_t_ctrl
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_aux_10base_t
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_aux_misc_ctrl
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_aux_misc_test1
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_aux_misc_test2
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_aux_normal
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_aux_power
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_crc_counter
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_dsp_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_dsp_data
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_ext_ctrl
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_false_carr_cnt
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_irq_mask
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_phy_test1
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_rec_err_cnt
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mii_unknown_16
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mini_rx_replenish
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mini_rx_ring_flags
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mini_rx_ring_host_addr_h
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mini_rx_ring_host_addr_l
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mini_rx_ring_length
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mini_rx_ring_nic_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mode
- Optional attribute; read/write access; type: unknown type.
Internal Register
- mode_control
- Optional attribute; read/write access; type: unknown type.
Internal register.
- model_crc
- Optional attribute; read/write access; type: Integer.
If set to 1, the device will calculate and include an Ethernet CRC on all transmitted frames, and check the CRC on received frames.
- msi_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- mtu_size
- Optional attribute; read/write access; type: unknown type.
Internal register.
- network
- Pseudo attribute; read/write access; type: Object or Nil.
Obsolete attribute. Use link instead.
- next_mii_val
- Optional attribute; read/write access; type: unknown type.
Internal register.
- next_page_transmit
- Optional attribute; read/write access; type: unknown type.
Internal register.
- nvram
- Optional attribute; read/write access; type: Data.
Onboard NVRAM image.
- nvram_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- nvram_command
- Optional attribute; read/write access; type: unknown type.
Internal register.
- nvram_config1
- Optional attribute; read/write access; type: unknown type.
Internal register.
- nvram_sw_arb
- Optional attribute; read/write access; type: unknown type.
Internal register.
- other_bcm
- Required attribute; read/write access; type: Object.
The other object forming a dual BCM device.
- pci_bus
- Optional attribute; read/write access; type: Object or Nil.
The PCI bus this device is connected to, implementing the pci-bus interface.
- poll_reg
- Optional attribute; read/write access; type: unknown type.
Internal Register
- random_backoff
- Optional attribute; read/write access; type: unknown type.
Internal register.
- read_dma_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- read_fifo_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- receive_rules_control
- Optional attribute; read/write access; type: unknown type.
List of 16 receive rules control registers
- receive_rules_value
- Optional attribute; read/write access; type: unknown type.
List of 16 receive rules value/mask registers
- recorder
- Required attribute; read/write access; type: Object.
Recorder object that allows recording and later playback of network traffic to the interface.
- reliability
- Optional attribute; read/write access; type: Integer.
This value determined how reliable an established connection is. If set to N it means that with a probability of 1 out of N a package will be lost (not sent to the receiver). The default value is 0 which means that no packages will be lost.
- reliability_seed
- Optional attribute; read/write access; type: Integer.
The seed value for the randomization of packet loss. See the reliability attribute
- reload_statistics
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rules_conf
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_bd_completion_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_bd_data_initiator_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_bd_initiator_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_coalesced_bd_count
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_coalesced_bd_count_irq
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_coalescing_tick
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_coalescing_tick_irq
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_data_completion_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_flow_threshold
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_jumbo_ring_consumer_idx
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_jumbo_ring_producer_idx
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_list_place
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_list_place_lock
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_list_place_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_list_place_stat_ctrl
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_list_place_stat_en
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_list_selector_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_low_mark
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_mac_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_mbuf_alloc_request
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_mini_ring_consumer_idx
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_mini_ring_producer_idx
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_return_ring_consumer_idx
- Optional attribute; read/write access; type: unknown type.
List of 16 return ring consumer index registers
- rx_return_ring_producer_idx
- Optional attribute; read/write access; type: unknown type.
List of 16 return ring producer index registers
- rx_risc_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_standard_ring_consumer_idx
- Optional attribute; read/write access; type: unknown type.
Internal register.
- rx_standard_ring_producer_idx
- Optional attribute; read/write access; type: unknown type.
Internal register.
- seeprom1
- Optional attribute; read/write access; type: Data.
Onboard SEEPROM device 1 image.
- seeprom_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- seeprom_control
- Optional attribute; read/write access; type: unknown type.
Internal register.
- seeprom_data
- Optional attribute; read/write access; type: unknown type.
Internal register.
- send_bd_completion_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- send_bd_initiator_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- send_bd_ring_selector_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- send_data_completion_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- send_data_initiator_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- send_data_stat_ctrl
- Optional attribute; read/write access; type: unknown type.
Internal register.
- send_data_stat_en
- Optional attribute; read/write access; type: unknown type.
Internal register.
- send_host_ring_producer_idx
- Optional attribute; read/write access; type: unknown type.
List of 16 send host ring producer index registers
- send_nic_ring_producer_idx
- Optional attribute; read/write access; type: unknown type.
List of 16 send NIC ring producer index registers
- send_ring_consumer_idx
- Optional attribute; read/write access; type: unknown type.
List of 16 send ring consumer index registers
- smbus_input
- Optional attribute; read/write access; type: unknown type.
Internal register.
- smbus_output
- Optional attribute; read/write access; type: unknown type.
Internal register.
- snd_coalesced_bd_count
- Optional attribute; read/write access; type: unknown type.
Internal register.
- snd_coalesced_bd_count_irq
- Optional attribute; read/write access; type: unknown type.
Internal register.
- snd_coalescing_tick
- Optional attribute; read/write access; type: unknown type.
Internal register.
- snd_coalescing_tick_irq
- Optional attribute; read/write access; type: unknown type.
Internal register.
- statistics_host_address_h
- Optional attribute; read/write access; type: unknown type.
Internal register.
- statistics_host_address_l
- Optional attribute; read/write access; type: unknown type.
Internal register.
- statistics_nic_address
- Optional attribute; read/write access; type: unknown type.
Internal register.
- statistics_tick
- Optional attribute; read/write access; type: unknown type.
Internal register.
- status_host_address_h
- Optional attribute; read/write access; type: unknown type.
Internal register.
- status_host_address_l
- Optional attribute; read/write access; type: unknown type.
Internal register.
- status_nic_address
- Optional attribute; read/write access; type: unknown type.
Internal register.
- stnd_rx_replenish
- Optional attribute; read/write access; type: unknown type.
Internal register.
- stnd_rx_ring_flags
- Optional attribute; read/write access; type: unknown type.
Internal register.
- stnd_rx_ring_host_addr_h
- Optional attribute; read/write access; type: unknown type.
Internal register.
- stnd_rx_ring_host_addr_l
- Optional attribute; read/write access; type: unknown type.
Internal register.
- stnd_rx_ring_length
- Optional attribute; read/write access; type: unknown type.
Internal register.
- stnd_rx_ring_nic_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- tp10_conf
- Optional attribute; read/write access; type: unknown type.
Internal Register
- tx_bandwidth
- Optional attribute; read/write access; type: Integer.
The transmit bandwidth of the network interface in bits per second. The network interface will limit the rate at which it sends packets to remain below this bandwidth. Set to 0 for unlimited bandwidth.
- tx_mac_lengths
- Optional attribute; read/write access; type: unknown type.
Internal register.
- tx_mac_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- tx_mbuf_alloc_request
- Optional attribute; read/write access; type: unknown type.
Internal register.
- tx_next_time
- Optional attribute; read/write access; type: Float.
The earliest time at which that the network interface may send another packet. Used for transmit bandwidth limitation.
- tx_pc
- Optional attribute; read/write access; type: unknown type.
Internal register.
- tx_risc_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- wol_pattern_pointer
- Optional attribute; read/write access; type: unknown type.
Internal register.
- write_dma_mode
- Optional attribute; read/write access; type: unknown type.
Internal register.
- write_fifo_addr
- Optional attribute; read/write access; type: unknown type.
Internal register.
- write_masks
- Optional attribute; read/write access; type: [[ii]*].
Write masks for all registered configuration registers. The format for each entry is (offset, mask).
- xmit_auto_negotiation
- Optional attribute; read/write access; type: unknown type.
Internal register.
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
-
<BCM5704C>.connect
- Synopsis
-
<BCM5704C>.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
-
<BCM5704C>.disconnect
-
<BCM5704C>.disconnect
- Synopsis
-
<BCM5704C>.disconnect
- Description
-
Disconnect the device from a simulated Ethernet link.
- See Also
-
<BCM5704C>.connect
-
<BCM5704C>.info
- Synopsis
-
<BCM5704C>.info
- Description
-
Print detailed information about the configuration of the device.
-
<BCM5704C>.pci-header
- Synopsis
-
<BCM5704C>.pci-header
- Description
-
Print the PCI header, i.e the configuration registers.
-
<BCM5704C>.status
- Synopsis
-
<BCM5704C>.status
- Description
-
Print detailed information about the current status of the device.
VIRTUTECH CONFIDENTIAL Previous - Up - Next