Commit 91c45210 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

Revert "TEST ONLY: crash hal if illegal memory write happens"

This reverts commit 23c57912.
parent 00ad7eac
......@@ -297,11 +297,6 @@ int pcs_writel(struct hal_port_state *ps, uint16_t value, int reg)
strncpy(ifr.ifr_name, ps->name, sizeof(ifr.ifr_name));
if( reg == 0x13 && value == 0x4000 )
{
*(volatile int *)(0xdeadbeef) = 0;
}
rv = NIC_WRITE_PHY_CMD(reg, value);
ifr.ifr_data = (void *)&rv;
if (ioctl(halPorts.hal_port_fd, PRIV_IOCPHYREG, &ifr) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment