fix a typo and add the prototype for I/O port detection.
3 files changed