genpipe.c: restore eth_dev ioctl mode