misc: add HAS_IOPORT dependencies