Using the PortFunction in Install

Has anyone used the Port1FunctionNumber in their INF? Can this be used to
add different registry settings to each port (using INF) ? Is there any
other way to differentiate between two ports upon install so the INF can be
used to add different registry settings to each port?
Thanks in advance.
G.R.