diff options
author | David Kilroy <kilroyd@googlemail.com> | 2009-02-04 18:05:57 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:44:35 -0500 |
commit | f90d8d4789eba79b0a715e41aba4c09403088847 (patch) | |
tree | d0eb145a76b1ed277825335577e6b4c54376372b /drivers/net/wireless/orinoco | |
parent | cb1576a829826d56fab59e22aa3af8c5a7db9936 (diff) |
orinoco: hermes_dld does not need to be a module
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco')
-rw-r--r-- | drivers/net/wireless/orinoco/Makefile | 4 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco/hermes_dld.c | 33 |
2 files changed, 4 insertions, 33 deletions
diff --git a/drivers/net/wireless/orinoco/Makefile b/drivers/net/wireless/orinoco/Makefile index 431ba399a9f2..2f3e0dd4aa31 100644 --- a/drivers/net/wireless/orinoco/Makefile +++ b/drivers/net/wireless/orinoco/Makefile | |||
@@ -1,9 +1,9 @@ | |||
1 | # | 1 | # |
2 | # Makefile for the orinoco wireless device drivers. | 2 | # Makefile for the orinoco wireless device drivers. |
3 | # | 3 | # |
4 | orinoco-objs := main.o fw.o hw.o mic.o scan.o wext.o | 4 | orinoco-objs := main.o fw.o hw.o mic.o scan.o wext.o hermes_dld.o |
5 | 5 | ||
6 | obj-$(CONFIG_HERMES) += orinoco.o hermes.o hermes_dld.o | 6 | obj-$(CONFIG_HERMES) += orinoco.o hermes.o |
7 | obj-$(CONFIG_PCMCIA_HERMES) += orinoco_cs.o | 7 | obj-$(CONFIG_PCMCIA_HERMES) += orinoco_cs.o |
8 | obj-$(CONFIG_APPLE_AIRPORT) += airport.o | 8 | obj-$(CONFIG_APPLE_AIRPORT) += airport.o |
9 | obj-$(CONFIG_PLX_HERMES) += orinoco_plx.o | 9 | obj-$(CONFIG_PLX_HERMES) += orinoco_plx.o |
diff --git a/drivers/net/wireless/orinoco/hermes_dld.c b/drivers/net/wireless/orinoco/hermes_dld.c index 45aed14bf110..5260ceb5cfec 100644 --- a/drivers/net/wireless/orinoco/hermes_dld.c +++ b/drivers/net/wireless/orinoco/hermes_dld.c | |||
@@ -1,13 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Hermes download helper driver. | 2 | * Hermes download helper. |
3 | * | 3 | * |
4 | * This could be entirely merged into hermes.c. | 4 | * This helper: |
5 | * | ||
6 | * I'm keeping it separate to minimise the amount of merging between | ||
7 | * kernel upgrades. It also means the memory overhead for drivers that | ||
8 | * don't need firmware download low. | ||
9 | * | ||
10 | * This driver: | ||
11 | * - is capable of writing to the volatile area of the hermes device | 5 | * - is capable of writing to the volatile area of the hermes device |
12 | * - is currently not capable of writing to non-volatile areas | 6 | * - is currently not capable of writing to non-volatile areas |
13 | * - provide helpers to identify and update plugin data | 7 | * - provide helpers to identify and update plugin data |
@@ -50,10 +44,6 @@ | |||
50 | #include "hermes.h" | 44 | #include "hermes.h" |
51 | #include "hermes_dld.h" | 45 | #include "hermes_dld.h" |
52 | 46 | ||
53 | MODULE_DESCRIPTION("Download helper for Lucent Hermes chipset"); | ||
54 | MODULE_AUTHOR("David Kilroy <kilroyd@gmail.com>"); | ||
55 | MODULE_LICENSE("Dual MPL/GPL"); | ||
56 | |||
57 | #define PFX "hermes_dld: " | 47 | #define PFX "hermes_dld: " |
58 | 48 | ||
59 | /* | 49 | /* |
@@ -347,7 +337,6 @@ int hermes_read_pda(hermes_t *hw, | |||
347 | 337 | ||
348 | return 0; | 338 | return 0; |
349 | } | 339 | } |
350 | EXPORT_SYMBOL(hermes_read_pda); | ||
351 | 340 | ||
352 | /* Parse PDA and write the records into the adapter | 341 | /* Parse PDA and write the records into the adapter |
353 | * | 342 | * |
@@ -376,7 +365,6 @@ int hermes_apply_pda(hermes_t *hw, | |||
376 | } | 365 | } |
377 | return 0; | 366 | return 0; |
378 | } | 367 | } |
379 | EXPORT_SYMBOL(hermes_apply_pda); | ||
380 | 368 | ||
381 | /* Identify the total number of bytes in all blocks | 369 | /* Identify the total number of bytes in all blocks |
382 | * including the header data. | 370 | * including the header data. |
@@ -398,7 +386,6 @@ hermes_blocks_length(const char *first_block) | |||
398 | 386 | ||
399 | return total_len; | 387 | return total_len; |
400 | } | 388 | } |
401 | EXPORT_SYMBOL(hermes_blocks_length); | ||
402 | 389 | ||
403 | /*** Hermes programming ***/ | 390 | /*** Hermes programming ***/ |
404 | 391 | ||
@@ -452,7 +439,6 @@ int hermesi_program_init(hermes_t *hw, u32 offset) | |||
452 | 439 | ||
453 | return err; | 440 | return err; |
454 | } | 441 | } |
455 | EXPORT_SYMBOL(hermesi_program_init); | ||
456 | 442 | ||
457 | /* Done programming data (Hermes I) | 443 | /* Done programming data (Hermes I) |
458 | * | 444 | * |
@@ -488,7 +474,6 @@ int hermesi_program_end(hermes_t *hw) | |||
488 | 474 | ||
489 | return rc ? rc : err; | 475 | return rc ? rc : err; |
490 | } | 476 | } |
491 | EXPORT_SYMBOL(hermesi_program_end); | ||
492 | 477 | ||
493 | /* Program the data blocks */ | 478 | /* Program the data blocks */ |
494 | int hermes_program(hermes_t *hw, const char *first_block, const char *end) | 479 | int hermes_program(hermes_t *hw, const char *first_block, const char *end) |
@@ -550,19 +535,6 @@ int hermes_program(hermes_t *hw, const char *first_block, const char *end) | |||
550 | } | 535 | } |
551 | return 0; | 536 | return 0; |
552 | } | 537 | } |
553 | EXPORT_SYMBOL(hermes_program); | ||
554 | |||
555 | static int __init init_hermes_dld(void) | ||
556 | { | ||
557 | return 0; | ||
558 | } | ||
559 | |||
560 | static void __exit exit_hermes_dld(void) | ||
561 | { | ||
562 | } | ||
563 | |||
564 | module_init(init_hermes_dld); | ||
565 | module_exit(exit_hermes_dld); | ||
566 | 538 | ||
567 | /*** Default plugging data for Hermes I ***/ | 539 | /*** Default plugging data for Hermes I ***/ |
568 | /* Values from wl_lkm_718/hcf/dhf.c */ | 540 | /* Values from wl_lkm_718/hcf/dhf.c */ |
@@ -727,4 +699,3 @@ int hermes_apply_pda_with_defaults(hermes_t *hw, | |||
727 | } | 699 | } |
728 | return 0; | 700 | return 0; |
729 | } | 701 | } |
730 | EXPORT_SYMBOL(hermes_apply_pda_with_defaults); | ||