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