PCI Configuration Space

r.x.di = addr;

int86(PCI_INT, &r, &r);

/* PCI_INT

0x1A */

return (r.x.cx & 0xFF);

}

Normally, the constants in this routine (the values assigned to ah, al, and the opcode for the int86 call) are assigned in the header file for the C code. Their values are inserted as comments to enable the reader to resolve the actual val- ues that are used. The device ID, devid, is known to the driver and is used with another PCI O/S call to find the base addresses needed for this call.

//±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±

//PciRdWord() ± PCI read config word

//Parameters:

//

devid

WORD

pci device

number

//

addr

WORD

address to

read

//

 

 

 

 

//Return val:

// WORDvalue read

//±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± WORD PciRdWord(WORD devid, WORD addr)

{

union REGS r;

r.h.ah = PCI_FUNCTION_ID; r.h.al = READ_CONFIG_WORD; r.x.bx = devid;

r.x.di = addr; int86(PCI_INT, &r, &r); return(r.x.cx);

}

This code passes an address >10 if the driver regards the host registers as memory locations (ThunderLAN's first base address register is hardwired as a memory base register), or >14 if the driver treated the host registers as an I/O block (ThunderLAN's second base register is hardwired as an I/O base register). For the I/O port, the following C instruction could be used to put a val- ue into the DIO_ADR host register:

outpw(base_addr+OFF_DIO_ADDR,value);

OFF_DIO_ADDR is a constant for the header file. A memory transfer instruc- tion is used if memory space is used instead of I/O space.

2-8

Page 31
Image 31
Texas Instruments TNETE110A, TNETE211, TNETE100A manual Pciint

TNETE110A, TNETE211, TNETE100A specifications

Texas Instruments has been a leader in developing innovative semiconductor solutions, and their Ethernet PHY (Physical Layer Transceiver) family, specifically the TNETE100A, TNETE211, and TNETE110A, exemplifies this commitment to excellence. These devices are designed to address the needs of a variety of applications, ranging from industrial automation to consumer electronics.

The TNETE100A is a highly versatile Ethernet PHY capable of supporting 10/100 Mbps Ethernet connectivity. One of its main features is the low power consumption, which makes it an ideal choice for battery-operated devices. It incorporates advanced power management technologies, ensuring that the device operates efficiently while maintaining high performance. The TNETE100A also supports Auto-Negotiation, allowing for seamless communication between devices at different speeds, thereby enhancing flexibility in network configurations.

Moving to the TNETE211, this device supports 10/100/1000 Mbps Ethernet, making it suitable for high-speed networking applications. This PHY integrates features such as Energy Efficient Ethernet (EEE), which reduces power consumption during low-traffic periods, aligning with the contemporary demand for energy efficiency in networking equipment. The TNETE211 is engineered with robust EMI (Electromagnetic Interference) performance and provides multiple interface options, making it a versatile choice for embedded systems and networking applications.

The TNETE110A stands out in the lineup as a sophisticated device that supports both Fast Ethernet and Gigabit Ethernet. This PHY utilizes advanced signal processing techniques to ensure superior link robustness and performance in noisy environments. Its features include an integrated transformer driver, which simplifies PCB design and allows for compact device layouts. Additionally, the TNETE110A is designed to be fully compliant with Ethernet standards, ensuring reliable interoperability with other network components.

All three PHYs leverage Texas Instruments' expertise in integrated circuit design, resulting in low jitter and high signal integrity, essential for modern communication standards. They are optimized for a wide range of temperatures, making them suitable for harsh industrial applications. With built-in diagnostic capabilities, these devices also enable efficient fault detection and troubleshooting in network infrastructures.

In summary, the Texas Instruments TNETE100A, TNETE211, and TNETE110A are exemplary Ethernet PHY devices, each tailored to meet specific networking needs while adhering to stringent efficiency and performance criteria. Their advanced features, technologies, and reliability make them pivotal components in today's fast-paced digital landscape.