How to check I/O port specification?

How to check I/O port specification?