diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-07-14 07:15:40 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-19 13:50:39 -0400 |
commit | b6e37e55c250f5233401b2566b1a4b512a98bc7b (patch) | |
tree | bf7f0e127619ac2b39fc76aee1fcb8157372b656 /drivers/net/Kconfig | |
parent | 5f5d83fdbfb50ffb6f5fbf5fd69bc791d9d5cd20 (diff) |
[PATCH] Cleanup SLHC configuration
Convert selection of serial line header compression to use CONFIG_SLHC
rather than makefile ifeq uglyness. This makes it easier to select
the SLHC module from other code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 39189903e355..7c826db84604 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -2509,6 +2509,7 @@ config PLIP | |||
2509 | 2509 | ||
2510 | config PPP | 2510 | config PPP |
2511 | tristate "PPP (point-to-point protocol) support" | 2511 | tristate "PPP (point-to-point protocol) support" |
2512 | select SLHC | ||
2512 | ---help--- | 2513 | ---help--- |
2513 | PPP (Point to Point Protocol) is a newer and better SLIP. It serves | 2514 | PPP (Point to Point Protocol) is a newer and better SLIP. It serves |
2514 | the same purpose: sending Internet traffic over telephone (and other | 2515 | the same purpose: sending Internet traffic over telephone (and other |
@@ -2689,6 +2690,7 @@ config SLIP | |||
2689 | config SLIP_COMPRESSED | 2690 | config SLIP_COMPRESSED |
2690 | bool "CSLIP compressed headers" | 2691 | bool "CSLIP compressed headers" |
2691 | depends on SLIP | 2692 | depends on SLIP |
2693 | select SLHC | ||
2692 | ---help--- | 2694 | ---help--- |
2693 | This protocol is faster than SLIP because it uses compression on the | 2695 | This protocol is faster than SLIP because it uses compression on the |
2694 | TCP/IP headers (not on the data itself), but it has to be supported | 2696 | TCP/IP headers (not on the data itself), but it has to be supported |
@@ -2701,6 +2703,12 @@ config SLIP_COMPRESSED | |||
2701 | <http://www.tldp.org/docs.html#howto>, explains how to configure | 2703 | <http://www.tldp.org/docs.html#howto>, explains how to configure |
2702 | CSLIP. This won't enlarge your kernel. | 2704 | CSLIP. This won't enlarge your kernel. |
2703 | 2705 | ||
2706 | config SLHC | ||
2707 | tristate | ||
2708 | help | ||
2709 | This option enables Van Jacobsen serial line header compression | ||
2710 | routines. | ||
2711 | |||
2704 | config SLIP_SMART | 2712 | config SLIP_SMART |
2705 | bool "Keepalive and linefill" | 2713 | bool "Keepalive and linefill" |
2706 | depends on SLIP | 2714 | depends on SLIP |