tulip_reset()

Updated: April 19, 2023

Synopsis:

void tulip_reset(paddr_t phys, 
                 int mem_mapped);

Description:

Ensure that a Tulip Ethernet chip (Digital 21x4x) at the given physical address (either I/O or memory-mapped as specified by mem_mapped) is disabled. Some ROM monitors leave the Ethernet receiver enabled after downloading the OS image. This causes memory to be corrupted after the system starts and before QNX Neutrino's Ethernet driver is run, due to the reception of broadcast packets. This function makes sure that no further packets are received by the chip until the QNX Neutrino driver starts up and properly initializes it.