diff options
-rw-r--r-- | sys-utils/ldattach.8 | 5 | ||||
-rw-r--r-- | sys-utils/ldattach.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-utils/ldattach.8 b/sys-utils/ldattach.8 index 4ee62293d..7afe51dde 100644 --- a/sys-utils/ldattach.8 +++ b/sys-utils/ldattach.8 @@ -35,7 +35,7 @@ With no arguments, .B ldattach prints usage information. .SH LINE DISCIPLINES -As of kernel release 2.6.21, the following line disciplines are supported: +Depending on the kernel release, the following line disciplines are supported: .TP .BR TTY ( 0 ) The default line discipline, @@ -80,6 +80,9 @@ Bluetooth HCI UART driver. .TP .BR GIGASET_M101 ( 16 ) Driver for Siemens Gigaset M101 serial DECT adapter. +.TP +.BR PPS ( 18 ) +Driver for serial line Pulse Per Second (PPS) source. .SH OPTIONS .TP \fB-d\fP | \fB--debug\fP diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c index 801dd1cb9..19f70fe62 100644 --- a/sys-utils/ldattach.c +++ b/sys-utils/ldattach.c @@ -34,6 +34,10 @@ # define N_GIGASET_M101 16 #endif +#ifndef N_PPS +# define N_PPS 18 +#endif + #ifndef ARRAY_SIZE # define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) #endif @@ -65,7 +69,8 @@ ld_table[] = { { "HCI", N_HCI }, { "GIGASET_M101", N_GIGASET_M101 }, { "GIGASET", N_GIGASET_M101 }, - { "M101", N_GIGASET_M101 } + { "M101", N_GIGASET_M101 }, + { "PPS", N_PPS }, }; /* look up line discipline code */ |