diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-02 01:48:13 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-27 03:58:30 -0400 |
commit | ff5a3b509e4ec96a2a4c57052a2d96e855778a24 (patch) | |
tree | cf7b81e65c03ab1cbadd949742aed7146cb80dd0 | |
parent | 224cf5ad14c038b13c119dff29422f178a306f54 (diff) |
hippi: Move the HIPPI driver
Move the HIPPI driver into drivers/net/hippi/ and make the
necessary Kconfig and Makefile changes.
CC: Jes Sorensen <jes@wildopensource.com>
CC: Jes Sorensen <jes@trained-monkey.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | MAINTAINERS | 1 | ||||
-rw-r--r-- | drivers/net/Kconfig | 32 | ||||
-rw-r--r-- | drivers/net/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/hippi/Kconfig | 39 | ||||
-rw-r--r-- | drivers/net/hippi/Makefile | 5 | ||||
-rw-r--r-- | drivers/net/hippi/rrunner.c (renamed from drivers/net/rrunner.c) | 0 | ||||
-rw-r--r-- | drivers/net/hippi/rrunner.h (renamed from drivers/net/rrunner.h) | 0 |
7 files changed, 46 insertions, 33 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index c5ec925fc9c7..194095ac07ec 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -3049,6 +3049,7 @@ S: Maintained | |||
3049 | F: include/linux/hippidevice.h | 3049 | F: include/linux/hippidevice.h |
3050 | F: include/linux/if_hippi.h | 3050 | F: include/linux/if_hippi.h |
3051 | F: net/802/hippi.c | 3051 | F: net/802/hippi.c |
3052 | F: drivers/net/hippi/ | ||
3052 | 3053 | ||
3053 | HOST AP DRIVER | 3054 | HOST AP DRIVER |
3054 | M: Jouni Malinen <j@w1.fi> | 3055 | M: Jouni Malinen <j@w1.fi> |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index c5e2a3871dc5..1d8fa955d120 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -272,38 +272,6 @@ config RIONET_RX_SIZE | |||
272 | depends on RIONET | 272 | depends on RIONET |
273 | default "128" | 273 | default "128" |
274 | 274 | ||
275 | config HIPPI | ||
276 | bool "HIPPI driver support (EXPERIMENTAL)" | ||
277 | depends on EXPERIMENTAL && INET && PCI | ||
278 | help | ||
279 | HIgh Performance Parallel Interface (HIPPI) is a 800Mbit/sec and | ||
280 | 1600Mbit/sec dual-simplex switched or point-to-point network. HIPPI | ||
281 | can run over copper (25m) or fiber (300m on multi-mode or 10km on | ||
282 | single-mode). HIPPI networks are commonly used for clusters and to | ||
283 | connect to super computers. If you are connected to a HIPPI network | ||
284 | and have a HIPPI network card in your computer that you want to use | ||
285 | under Linux, say Y here (you must also remember to enable the driver | ||
286 | for your HIPPI card below). Most people will say N here. | ||
287 | |||
288 | config ROADRUNNER | ||
289 | tristate "Essential RoadRunner HIPPI PCI adapter support (EXPERIMENTAL)" | ||
290 | depends on HIPPI && PCI | ||
291 | help | ||
292 | Say Y here if this is your PCI HIPPI network card. | ||
293 | |||
294 | To compile this driver as a module, choose M here: the module | ||
295 | will be called rrunner. If unsure, say N. | ||
296 | |||
297 | config ROADRUNNER_LARGE_RINGS | ||
298 | bool "Use large TX/RX rings (EXPERIMENTAL)" | ||
299 | depends on ROADRUNNER | ||
300 | help | ||
301 | If you say Y here, the RoadRunner driver will preallocate up to 2 MB | ||
302 | of additional memory to allow for fastest operation, both for | ||
303 | transmitting and receiving. This memory cannot be used by any other | ||
304 | kernel code or by user space programs. Say Y here only if you have | ||
305 | the memory. | ||
306 | |||
307 | config PLIP | 275 | config PLIP |
308 | tristate "PLIP (parallel port) support" | 276 | tristate "PLIP (parallel port) support" |
309 | depends on PARPORT | 277 | depends on PARPORT |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index a397f1e43ef1..f64d02ce1ed9 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -13,7 +13,6 @@ obj-$(CONFIG_VMXNET3) += vmxnet3/ | |||
13 | # link order important here | 13 | # link order important here |
14 | # | 14 | # |
15 | obj-$(CONFIG_PLIP) += plip.o | 15 | obj-$(CONFIG_PLIP) += plip.o |
16 | obj-$(CONFIG_ROADRUNNER) += rrunner.o | ||
17 | obj-$(CONFIG_RIONET) += rionet.o | 16 | obj-$(CONFIG_RIONET) += rionet.o |
18 | 17 | ||
19 | # | 18 | # |
@@ -39,6 +38,7 @@ obj-$(CONFIG_VETH) += veth.o | |||
39 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ | 38 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ |
40 | obj-$(CONFIG_ETHERNET) += ethernet/ | 39 | obj-$(CONFIG_ETHERNET) += ethernet/ |
41 | obj-$(CONFIG_FDDI) += fddi/ | 40 | obj-$(CONFIG_FDDI) += fddi/ |
41 | obj-$(CONFIG_HIPPI) += hippi/ | ||
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/hippi/Kconfig b/drivers/net/hippi/Kconfig new file mode 100644 index 000000000000..7393eb732ee6 --- /dev/null +++ b/drivers/net/hippi/Kconfig | |||
@@ -0,0 +1,39 @@ | |||
1 | # | ||
2 | # HIPPI network device configuration | ||
3 | # | ||
4 | |||
5 | config HIPPI | ||
6 | bool "HIPPI driver support (EXPERIMENTAL)" | ||
7 | depends on EXPERIMENTAL && INET && PCI | ||
8 | ---help--- | ||
9 | HIgh Performance Parallel Interface (HIPPI) is a 800Mbit/sec and | ||
10 | 1600Mbit/sec dual-simplex switched or point-to-point network. HIPPI | ||
11 | can run over copper (25m) or fiber (300m on multi-mode or 10km on | ||
12 | single-mode). HIPPI networks are commonly used for clusters and to | ||
13 | connect to super computers. If you are connected to a HIPPI network | ||
14 | and have a HIPPI network card in your computer that you want to use | ||
15 | under Linux, say Y here (you must also remember to enable the driver | ||
16 | for your HIPPI card below). Most people will say N here. | ||
17 | |||
18 | if HIPPI | ||
19 | |||
20 | config ROADRUNNER | ||
21 | tristate "Essential RoadRunner HIPPI PCI adapter support (EXPERIMENTAL)" | ||
22 | depends on PCI | ||
23 | ---help--- | ||
24 | Say Y here if this is your PCI HIPPI network card. | ||
25 | |||
26 | To compile this driver as a module, choose M here: the module | ||
27 | will be called rrunner. If unsure, say N. | ||
28 | |||
29 | config ROADRUNNER_LARGE_RINGS | ||
30 | bool "Use large TX/RX rings (EXPERIMENTAL)" | ||
31 | depends on ROADRUNNER | ||
32 | ---help--- | ||
33 | If you say Y here, the RoadRunner driver will preallocate up to 2 MB | ||
34 | of additional memory to allow for fastest operation, both for | ||
35 | transmitting and receiving. This memory cannot be used by any other | ||
36 | kernel code or by user space programs. Say Y here only if you have | ||
37 | the memory. | ||
38 | |||
39 | endif /* HIPPI */ | ||
diff --git a/drivers/net/hippi/Makefile b/drivers/net/hippi/Makefile new file mode 100644 index 000000000000..b95d629baee5 --- /dev/null +++ b/drivers/net/hippi/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for the HIPPI network device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_ROADRUNNER) += rrunner.o | ||
diff --git a/drivers/net/rrunner.c b/drivers/net/hippi/rrunner.c index e68c941926f1..e68c941926f1 100644 --- a/drivers/net/rrunner.c +++ b/drivers/net/hippi/rrunner.c | |||
diff --git a/drivers/net/rrunner.h b/drivers/net/hippi/rrunner.h index 28169043ae49..28169043ae49 100644 --- a/drivers/net/rrunner.h +++ b/drivers/net/hippi/rrunner.h | |||