xref: /openbmc/linux/drivers/net/slip/Kconfig (revision 4f73bc4dd3e8563ef4109f293a092820dff66d92)
1b5451d78SJeff Kirsher#
2b5451d78SJeff Kirsher# SLIP network device configuration
3b5451d78SJeff Kirsher#
4b5451d78SJeff Kirsher
5b5451d78SJeff Kirsherconfig SLIP
6b5451d78SJeff Kirsher	tristate "SLIP (serial line) support"
7*4f73bc4dSJoe Millenbach	depends on TTY
8b5451d78SJeff Kirsher	---help---
9b5451d78SJeff Kirsher	  Say Y if you intend to use SLIP or CSLIP (compressed SLIP) to
10b5451d78SJeff Kirsher	  connect to your Internet service provider or to connect to some
11b5451d78SJeff Kirsher	  other local Unix box or if you want to configure your Linux box as a
12b5451d78SJeff Kirsher	  Slip/CSlip server for other people to dial in. SLIP (Serial Line
13b5451d78SJeff Kirsher	  Internet Protocol) is a protocol used to send Internet traffic over
14b5451d78SJeff Kirsher	  serial connections such as telephone lines or null modem cables;
15b5451d78SJeff Kirsher	  nowadays, the protocol PPP is more commonly used for this same
16b5451d78SJeff Kirsher	  purpose.
17b5451d78SJeff Kirsher
18b5451d78SJeff Kirsher	  Normally, your access provider has to support SLIP in order for you
19b5451d78SJeff Kirsher	  to be able to use it, but there is now a SLIP emulator called SLiRP
20b5451d78SJeff Kirsher	  around (available from
21b5451d78SJeff Kirsher	  <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
22b5451d78SJeff Kirsher	  allows you to use SLIP over a regular dial up shell connection. If
23b5451d78SJeff Kirsher	  you plan to use SLiRP, make sure to say Y to CSLIP, below. The
24b5451d78SJeff Kirsher	  NET-3-HOWTO, available from
25b5451d78SJeff Kirsher	  <http://www.tldp.org/docs.html#howto>, explains how to
26b5451d78SJeff Kirsher	  configure SLIP. Note that you don't need this option if you just
27b5451d78SJeff Kirsher	  want to run term (term is a program which gives you almost full
28b5451d78SJeff Kirsher	  Internet connectivity if you have a regular dial up shell account on
29b5451d78SJeff Kirsher	  some Internet connected Unix computer. Read
30b5451d78SJeff Kirsher	  <http://www.bart.nl/~patrickr/term-howto/Term-HOWTO.html>). SLIP
31b5451d78SJeff Kirsher	  support will enlarge your kernel by about 4 KB. If unsure, say N.
32b5451d78SJeff Kirsher
33b5451d78SJeff Kirsher	  To compile this driver as a module, choose M here. The module
34b5451d78SJeff Kirsher	  will be called slip.
35b5451d78SJeff Kirsher
36b5451d78SJeff Kirsherconfig SLHC
37b5451d78SJeff Kirsher	tristate
38b5451d78SJeff Kirsher	---help---
39b5451d78SJeff Kirsher	  This option enables Van Jacobsen serial line header compression
40b5451d78SJeff Kirsher	  routines.
41b5451d78SJeff Kirsher
42b5451d78SJeff Kirsherif SLIP
43b5451d78SJeff Kirsher
44b5451d78SJeff Kirsherconfig SLIP_COMPRESSED
45b5451d78SJeff Kirsher	bool "CSLIP compressed headers"
46b5451d78SJeff Kirsher	depends on SLIP
47b5451d78SJeff Kirsher	select SLHC
48b5451d78SJeff Kirsher	---help---
49b5451d78SJeff Kirsher	  This protocol is faster than SLIP because it uses compression on the
50b5451d78SJeff Kirsher	  TCP/IP headers (not on the data itself), but it has to be supported
51b5451d78SJeff Kirsher	  on both ends. Ask your access provider if you are not sure and
52b5451d78SJeff Kirsher	  answer Y, just in case. You will still be able to use plain SLIP. If
53b5451d78SJeff Kirsher	  you plan to use SLiRP, the SLIP emulator (available from
54b5451d78SJeff Kirsher	  <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
55b5451d78SJeff Kirsher	  allows you to use SLIP over a regular dial up shell connection, you
56b5451d78SJeff Kirsher	  definitely want to say Y here. The NET-3-HOWTO, available from
57b5451d78SJeff Kirsher	  <http://www.tldp.org/docs.html#howto>, explains how to configure
58b5451d78SJeff Kirsher	  CSLIP. This won't enlarge your kernel.
59b5451d78SJeff Kirsher
60b5451d78SJeff Kirsherconfig SLIP_SMART
61b5451d78SJeff Kirsher	bool "Keepalive and linefill"
62b5451d78SJeff Kirsher	depends on SLIP
63b5451d78SJeff Kirsher	---help---
64b5451d78SJeff Kirsher	  Adds additional capabilities to the SLIP driver to support the
65b5451d78SJeff Kirsher	  RELCOM line fill and keepalive monitoring. Ideal on poor quality
66b5451d78SJeff Kirsher	  analogue lines.
67b5451d78SJeff Kirsher
68b5451d78SJeff Kirsherconfig SLIP_MODE_SLIP6
69b5451d78SJeff Kirsher	bool "Six bit SLIP encapsulation"
70b5451d78SJeff Kirsher	depends on SLIP
71b5451d78SJeff Kirsher	---help---
72b5451d78SJeff Kirsher	  Just occasionally you may need to run IP over hostile serial
73b5451d78SJeff Kirsher	  networks that don't pass all control characters or are only seven
74b5451d78SJeff Kirsher	  bit. Saying Y here adds an extra mode you can use with SLIP:
75b5451d78SJeff Kirsher	  "slip6". In this mode, SLIP will only send normal ASCII symbols over
76b5451d78SJeff Kirsher	  the serial device. Naturally, this has to be supported at the other
77b5451d78SJeff Kirsher	  end of the link as well. It's good enough, for example, to run IP
78b5451d78SJeff Kirsher	  over the async ports of a Camtec JNT Pad. If unsure, say N.
79b5451d78SJeff Kirsher
80b5451d78SJeff Kirsherendif # SLIP
81