move the mii_ioctl to generic patches, fixes (#1802)