diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2013-01-11 09:45:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-11 19:52:26 -0500 |
commit | 00494be4546432a11d62ebfeca363256ff9822b5 (patch) | |
tree | 9987ed4472f806cf125ba960429120f5f02a9ef1 /Documentation/networking/cs89x0.txt | |
parent | 18aafc622abf492809723d9c5a3c5dcea287169e (diff) |
networking/cs89x0.txt: delete stale information about hand patching
Output of a git grep happened to make me look into this file, and
I found instructions about how to hand patch (without using patch)
the driver into the kernel tree.
Since the driver has been a part of the mainline kernel for years,
we can dump this whole section. Fortunately it doesn't even cause
a renumbering of the sections to do so.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/cs89x0.txt')
-rw-r--r-- | Documentation/networking/cs89x0.txt | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/Documentation/networking/cs89x0.txt b/Documentation/networking/cs89x0.txt index c725d33b316f..0e190180eec8 100644 --- a/Documentation/networking/cs89x0.txt +++ b/Documentation/networking/cs89x0.txt | |||
@@ -36,7 +36,6 @@ TABLE OF CONTENTS | |||
36 | 4.1 Compiling the Driver as a Loadable Module | 36 | 4.1 Compiling the Driver as a Loadable Module |
37 | 4.2 Compiling the driver to support memory mode | 37 | 4.2 Compiling the driver to support memory mode |
38 | 4.3 Compiling the driver to support Rx DMA | 38 | 4.3 Compiling the driver to support Rx DMA |
39 | 4.4 Compiling the Driver into the Kernel | ||
40 | 39 | ||
41 | 5.0 TESTING AND TROUBLESHOOTING | 40 | 5.0 TESTING AND TROUBLESHOOTING |
42 | 5.1 Known Defects and Limitations | 41 | 5.1 Known Defects and Limitations |
@@ -364,84 +363,6 @@ The compile-time optionality for DMA was removed in the 2.3 kernel | |||
364 | series. DMA support is now unconditionally part of the driver. It is | 363 | series. DMA support is now unconditionally part of the driver. It is |
365 | enabled by the 'use_dma=1' module option. | 364 | enabled by the 'use_dma=1' module option. |
366 | 365 | ||
367 | 4.4 COMPILING THE DRIVER INTO THE KERNEL | ||
368 | |||
369 | If your Linux distribution already has support for the cs89x0 driver | ||
370 | then simply copy the source file to the /usr/src/linux/drivers/net | ||
371 | directory to replace the original ones and run the make utility to | ||
372 | rebuild the kernel. See Step 3 for rebuilding the kernel. | ||
373 | |||
374 | If your Linux does not include the cs89x0 driver, you need to edit three | ||
375 | configuration files, copy the source file to the /usr/src/linux/drivers/net | ||
376 | directory, and then run the make utility to rebuild the kernel. | ||
377 | |||
378 | 1. Edit the following configuration files by adding the statements as | ||
379 | indicated. (When possible, try to locate the added text to the section of the | ||
380 | file containing similar statements). | ||
381 | |||
382 | |||
383 | a.) In /usr/src/linux/drivers/net/Config.in, add: | ||
384 | |||
385 | tristate 'CS89x0 support' CONFIG_CS89x0 | ||
386 | |||
387 | Example: | ||
388 | |||
389 | if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then | ||
390 | tristate 'ICL EtherTeam 16i/32 support' CONFIG_ETH16I | ||
391 | fi | ||
392 | |||
393 | tristate 'CS89x0 support' CONFIG_CS89x0 | ||
394 | |||
395 | tristate 'NE2000/NE1000 support' CONFIG_NE2000 | ||
396 | if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then | ||
397 | tristate 'NI5210 support' CONFIG_NI52 | ||
398 | |||
399 | |||
400 | b.) In /usr/src/linux/drivers/net/Makefile, add the following lines: | ||
401 | |||
402 | ifeq ($(CONFIG_CS89x0),y) | ||
403 | L_OBJS += cs89x0.o | ||
404 | else | ||
405 | ifeq ($(CONFIG_CS89x0),m) | ||
406 | M_OBJS += cs89x0.o | ||
407 | endif | ||
408 | endif | ||
409 | |||
410 | |||
411 | c.) In /linux/drivers/net/Space.c file, add the line: | ||
412 | |||
413 | extern int cs89x0_probe(struct device *dev); | ||
414 | |||
415 | |||
416 | Example: | ||
417 | |||
418 | extern int ultra_probe(struct device *dev); | ||
419 | extern int wd_probe(struct device *dev); | ||
420 | extern int el2_probe(struct device *dev); | ||
421 | |||
422 | extern int cs89x0_probe(struct device *dev); | ||
423 | |||
424 | extern int ne_probe(struct device *dev); | ||
425 | extern int hp_probe(struct device *dev); | ||
426 | extern int hp_plus_probe(struct device *dev); | ||
427 | |||
428 | |||
429 | Also add: | ||
430 | |||
431 | #ifdef CONFIG_CS89x0 | ||
432 | { cs89x0_probe,0 }, | ||
433 | #endif | ||
434 | |||
435 | |||
436 | 2.) Copy the driver source files (cs89x0.c and cs89x0.h) | ||
437 | into the /usr/src/linux/drivers/net directory. | ||
438 | |||
439 | |||
440 | 3.) Go to /usr/src/linux directory and run 'make config' followed by 'make' | ||
441 | (or make bzImage) to rebuild the kernel. | ||
442 | |||
443 | 4.) Use the DOS 'setup' utility to disable plug and play on the NIC. | ||
444 | |||
445 | 366 | ||
446 | 5.0 TESTING AND TROUBLESHOOTING | 367 | 5.0 TESTING AND TROUBLESHOOTING |
447 | =============================================================================== | 368 | =============================================================================== |