]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r294235:
authorian <ian@FreeBSD.org>
Sat, 23 Jan 2016 19:13:48 +0000 (19:13 +0000)
committerian <ian@FreeBSD.org>
Sat, 23 Jan 2016 19:13:48 +0000 (19:13 +0000)
commit49868192d4f0bdcbea10825f9e529c99c278bd58
tree01c546356b9079ab81ab79f8c408f16d1ab420bf
parent3c1c5bc607d7a7263fa2e06f9b2ee08cbb2100d6
MFC r294235:

  Make PPS ASSERT/CLEAR events match the RS-232 signal levels as per RFC 2783.
  Previously the polarity was for TTL levels, which are the reverse of RS-232.

  Also add handling of the UART_PPS_INVERT_PULSE option bit in the sysctl
  value, the same as was recently added to uart(4), so that people using TTL
  level connections can request a logical inverting of the signal.

  Use the named constants from the new dev/uart/uart_ppstypes.h for the pps
  capture modes and option bits.
sys/dev/usb/serial/usb_serial.c