Netgear GS108Tv3/GS110TPv3/GS110TPP switch support

Yes, probably. FWIW, this was part of the very first lua implementation, and defaulted to configuring the ports in the reverse order. See:

where we had

function setPortRelPrio(pCon, port, prio)
	local cmd = {0x1d, 0x00, port, prio}
	sendCommand(pCon, cmd)
end

and

	for i = 0, 7 do
		setPortRelPrio(pCon, i, 7-i)
	end

I might have accidentally have caused this to be dropped in later lua versions and therefore eventually in the c rewrite, since it seemed both unnecessary and wrong for the ZyXEL GS1900-10HP.

Adding it back to the current c implementation based on the existing per-port id and name attributes look like the right thing to do.

2 Likes