serial: core: Fix iotype userspace breakage

commit 3ffb1a8193bea ("serial: core: Add big-endian iotype")
re-numbered userspace-dependent values; ioctl(TIOCSSERIAL) can
assign the port iotype (which is expected to match the selected
i/o accessors), so iotype values must not be changed.

Cc: Kevin Cernekee <>
Cc: <> # 3.19+
Signed-off-by: Peter Hurley <>
Reviewed-by: Kevin Cernekee <>
Signed-off-by: Greg Kroah-Hartman <>
1 file changed