diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-03 06:01:58 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-27 03:58:33 -0400 |
commit | 18e635f4b3e1e1b43cb239321f6120918ba38d46 (patch) | |
tree | 5955bae430b853445e32a5d932c2710a82ea7a02 /drivers/net | |
parent | ff5a3b509e4ec96a2a4c57052a2d96e855778a24 (diff) |
plip: Move the PLIP driver
Move the Parallel Line Internet Protocol (PLIP) driver into
drivers/net/plip/ and make the necessary Kconfig and Makefile changes.
CC: Niibe Yutaka <gniibe@mri.co.jp>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/Kconfig | 37 | ||||
-rw-r--r-- | drivers/net/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/plip/Kconfig | 38 | ||||
-rw-r--r-- | drivers/net/plip/Makefile | 5 | ||||
-rw-r--r-- | drivers/net/plip/plip.c (renamed from drivers/net/plip.c) | 0 |
5 files changed, 46 insertions, 36 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 1d8fa955d120..3f72686e1804 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -197,6 +197,8 @@ source "drivers/net/ethernet/Kconfig" | |||
197 | 197 | ||
198 | source "drivers/net/fddi/Kconfig" | 198 | source "drivers/net/fddi/Kconfig" |
199 | 199 | ||
200 | source "drivers/net/plip/Kconfig" | ||
201 | |||
200 | source "drivers/net/tokenring/Kconfig" | 202 | source "drivers/net/tokenring/Kconfig" |
201 | 203 | ||
202 | source "drivers/net/wireless/Kconfig" | 204 | source "drivers/net/wireless/Kconfig" |
@@ -272,41 +274,6 @@ config RIONET_RX_SIZE | |||
272 | depends on RIONET | 274 | depends on RIONET |
273 | default "128" | 275 | default "128" |
274 | 276 | ||
275 | config PLIP | ||
276 | tristate "PLIP (parallel port) support" | ||
277 | depends on PARPORT | ||
278 | ---help--- | ||
279 | PLIP (Parallel Line Internet Protocol) is used to create a | ||
280 | reasonably fast mini network consisting of two (or, rarely, more) | ||
281 | local machines. A PLIP link from a Linux box is a popular means to | ||
282 | install a Linux distribution on a machine which doesn't have a | ||
283 | CD-ROM drive (a minimal system has to be transferred with floppies | ||
284 | first). The kernels on both machines need to have this PLIP option | ||
285 | enabled for this to work. | ||
286 | |||
287 | The PLIP driver has two modes, mode 0 and mode 1. The parallel | ||
288 | ports (the connectors at the computers with 25 holes) are connected | ||
289 | with "null printer" or "Turbo Laplink" cables which can transmit 4 | ||
290 | bits at a time (mode 0) or with special PLIP cables, to be used on | ||
291 | bidirectional parallel ports only, which can transmit 8 bits at a | ||
292 | time (mode 1); you can find the wiring of these cables in | ||
293 | <file:Documentation/networking/PLIP.txt>. The cables can be up to | ||
294 | 15m long. Mode 0 works also if one of the machines runs DOS/Windows | ||
295 | and has some PLIP software installed, e.g. the Crynwr PLIP packet | ||
296 | driver (<http://oak.oakland.edu/simtel.net/msdos/pktdrvr-pre.html>) | ||
297 | and winsock or NCSA's telnet. | ||
298 | |||
299 | If you want to use PLIP, say Y and read the PLIP mini-HOWTO as well | ||
300 | as the NET-3-HOWTO, both available from | ||
301 | <http://www.tldp.org/docs.html#howto>. Note that the PLIP | ||
302 | protocol has been changed and this PLIP driver won't work together | ||
303 | with the PLIP support in Linux versions 1.0.x. This option enlarges | ||
304 | your kernel by about 8 KB. | ||
305 | |||
306 | To compile this driver as a module, choose M here. The module | ||
307 | will be called plip. If unsure, say Y or M, in case you buy | ||
308 | a laptop later. | ||
309 | |||
310 | config SLIP | 277 | config SLIP |
311 | tristate "SLIP (serial line) support" | 278 | tristate "SLIP (serial line) support" |
312 | ---help--- | 279 | ---help--- |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index f64d02ce1ed9..52dae95d4ea6 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -12,7 +12,6 @@ obj-$(CONFIG_VMXNET3) += vmxnet3/ | |||
12 | # | 12 | # |
13 | # link order important here | 13 | # link order important here |
14 | # | 14 | # |
15 | obj-$(CONFIG_PLIP) += plip.o | ||
16 | obj-$(CONFIG_RIONET) += rionet.o | 15 | obj-$(CONFIG_RIONET) += rionet.o |
17 | 16 | ||
18 | # | 17 | # |
@@ -39,6 +38,7 @@ obj-$(CONFIG_DEV_APPLETALK) += appletalk/ | |||
39 | obj-$(CONFIG_ETHERNET) += ethernet/ | 38 | obj-$(CONFIG_ETHERNET) += ethernet/ |
40 | obj-$(CONFIG_FDDI) += fddi/ | 39 | obj-$(CONFIG_FDDI) += fddi/ |
41 | obj-$(CONFIG_HIPPI) += hippi/ | 40 | obj-$(CONFIG_HIPPI) += hippi/ |
41 | obj-$(CONFIG_PLIP) += plip/ | ||
42 | onj-$(CONFIG_PPP) += ppp/ | 42 | onj-$(CONFIG_PPP) += ppp/ |
43 | obj-$(CONFIG_PPP_ASYNC) += ppp/ | 43 | obj-$(CONFIG_PPP_ASYNC) += ppp/ |
44 | obj-$(CONFIG_PPP_BSDCOMP) += ppp/ | 44 | obj-$(CONFIG_PPP_BSDCOMP) += ppp/ |
diff --git a/drivers/net/plip/Kconfig b/drivers/net/plip/Kconfig new file mode 100644 index 000000000000..80c4a3373e51 --- /dev/null +++ b/drivers/net/plip/Kconfig | |||
@@ -0,0 +1,38 @@ | |||
1 | # | ||
2 | # Parallel Line Internet Protocol (PLIP) network device configuration | ||
3 | # | ||
4 | |||
5 | config PLIP | ||
6 | tristate "PLIP (parallel port) support" | ||
7 | depends on PARPORT | ||
8 | ---help--- | ||
9 | PLIP (Parallel Line Internet Protocol) is used to create a | ||
10 | reasonably fast mini network consisting of two (or, rarely, more) | ||
11 | local machines. A PLIP link from a Linux box is a popular means to | ||
12 | install a Linux distribution on a machine which doesn't have a | ||
13 | CD-ROM drive (a minimal system has to be transferred with floppies | ||
14 | first). The kernels on both machines need to have this PLIP option | ||
15 | enabled for this to work. | ||
16 | |||
17 | The PLIP driver has two modes, mode 0 and mode 1. The parallel | ||
18 | ports (the connectors at the computers with 25 holes) are connected | ||
19 | with "null printer" or "Turbo Laplink" cables which can transmit 4 | ||
20 | bits at a time (mode 0) or with special PLIP cables, to be used on | ||
21 | bidirectional parallel ports only, which can transmit 8 bits at a | ||
22 | time (mode 1); you can find the wiring of these cables in | ||
23 | <file:Documentation/networking/PLIP.txt>. The cables can be up to | ||
24 | 15m long. Mode 0 works also if one of the machines runs DOS/Windows | ||
25 | and has some PLIP software installed, e.g. the Crynwr PLIP packet | ||
26 | driver (<http://oak.oakland.edu/simtel.net/msdos/pktdrvr-pre.html>) | ||
27 | and winsock or NCSA's telnet. | ||
28 | |||
29 | If you want to use PLIP, say Y and read the PLIP mini-HOWTO as well | ||
30 | as the NET-3-HOWTO, both available from | ||
31 | <http://www.tldp.org/docs.html#howto>. Note that the PLIP | ||
32 | protocol has been changed and this PLIP driver won't work together | ||
33 | with the PLIP support in Linux versions 1.0.x. This option enlarges | ||
34 | your kernel by about 8 KB. | ||
35 | |||
36 | To compile this driver as a module, choose M here. The module | ||
37 | will be called plip. If unsure, say Y or M, in case you buy | ||
38 | a laptop later. | ||
diff --git a/drivers/net/plip/Makefile b/drivers/net/plip/Makefile new file mode 100644 index 000000000000..ed958796dc64 --- /dev/null +++ b/drivers/net/plip/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for the PLIP network device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_PLIP) += plip.o | ||
diff --git a/drivers/net/plip.c b/drivers/net/plip/plip.c index a9e9ca8a86ed..a9e9ca8a86ed 100644 --- a/drivers/net/plip.c +++ b/drivers/net/plip/plip.c | |||