diff options
-rw-r--r-- | drivers/misc/Kconfig | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 2687ecf3e9e6..c290990d73ed 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -503,9 +503,10 @@ config PANEL | |||
503 | compiled as a module, or linked into the kernel and started at boot. | 503 | compiled as a module, or linked into the kernel and started at boot. |
504 | If you don't understand what all this is about, say N. | 504 | If you don't understand what all this is about, say N. |
505 | 505 | ||
506 | if PANEL | ||
507 | |||
506 | config PANEL_PARPORT | 508 | config PANEL_PARPORT |
507 | int "Default parallel port number (0=LPT1)" | 509 | int "Default parallel port number (0=LPT1)" |
508 | depends on PANEL | ||
509 | range 0 255 | 510 | range 0 255 |
510 | default "0" | 511 | default "0" |
511 | ---help--- | 512 | ---help--- |
@@ -517,7 +518,6 @@ config PANEL_PARPORT | |||
517 | 518 | ||
518 | config PANEL_PROFILE | 519 | config PANEL_PROFILE |
519 | int "Default panel profile (0-5, 0=custom)" | 520 | int "Default panel profile (0-5, 0=custom)" |
520 | depends on PANEL | ||
521 | range 0 5 | 521 | range 0 5 |
522 | default "5" | 522 | default "5" |
523 | ---help--- | 523 | ---help--- |
@@ -538,7 +538,7 @@ config PANEL_PROFILE | |||
538 | for experts. | 538 | for experts. |
539 | 539 | ||
540 | config PANEL_KEYPAD | 540 | config PANEL_KEYPAD |
541 | depends on PANEL && PANEL_PROFILE="0" | 541 | depends on PANEL_PROFILE="0" |
542 | int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)" | 542 | int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)" |
543 | range 0 3 | 543 | range 0 3 |
544 | default 0 | 544 | default 0 |
@@ -555,7 +555,7 @@ config PANEL_KEYPAD | |||
555 | supports simultaneous keys pressed when the keypad supports them. | 555 | supports simultaneous keys pressed when the keypad supports them. |
556 | 556 | ||
557 | config PANEL_LCD | 557 | config PANEL_LCD |
558 | depends on PANEL && PANEL_PROFILE="0" | 558 | depends on PANEL_PROFILE="0" |
559 | int "LCD type (0=none, 1=custom, 2=old //, 3=ks0074, 4=hantronix, 5=Nexcom)" | 559 | int "LCD type (0=none, 1=custom, 2=old //, 3=ks0074, 4=hantronix, 5=Nexcom)" |
560 | range 0 5 | 560 | range 0 5 |
561 | default 0 | 561 | default 0 |
@@ -578,7 +578,7 @@ config PANEL_LCD | |||
578 | that those values changed from the 2.4 driver for better consistency. | 578 | that those values changed from the 2.4 driver for better consistency. |
579 | 579 | ||
580 | config PANEL_LCD_HEIGHT | 580 | config PANEL_LCD_HEIGHT |
581 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" | 581 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" |
582 | int "Number of lines on the LCD (1-2)" | 582 | int "Number of lines on the LCD (1-2)" |
583 | range 1 2 | 583 | range 1 2 |
584 | default 2 | 584 | default 2 |
@@ -587,7 +587,7 @@ config PANEL_LCD_HEIGHT | |||
587 | It can either be 1 or 2. | 587 | It can either be 1 or 2. |
588 | 588 | ||
589 | config PANEL_LCD_WIDTH | 589 | config PANEL_LCD_WIDTH |
590 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" | 590 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" |
591 | int "Number of characters per line on the LCD (1-40)" | 591 | int "Number of characters per line on the LCD (1-40)" |
592 | range 1 40 | 592 | range 1 40 |
593 | default 40 | 593 | default 40 |
@@ -596,7 +596,7 @@ config PANEL_LCD_WIDTH | |||
596 | Common values are 16,20,24,40. | 596 | Common values are 16,20,24,40. |
597 | 597 | ||
598 | config PANEL_LCD_BWIDTH | 598 | config PANEL_LCD_BWIDTH |
599 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" | 599 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" |
600 | int "Internal LCD line width (1-40, 40 by default)" | 600 | int "Internal LCD line width (1-40, 40 by default)" |
601 | range 1 40 | 601 | range 1 40 |
602 | default 40 | 602 | default 40 |
@@ -612,7 +612,7 @@ config PANEL_LCD_BWIDTH | |||
612 | If you don't know, put '40' here. | 612 | If you don't know, put '40' here. |
613 | 613 | ||
614 | config PANEL_LCD_HWIDTH | 614 | config PANEL_LCD_HWIDTH |
615 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" | 615 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" |
616 | int "Hardware LCD line width (1-64, 64 by default)" | 616 | int "Hardware LCD line width (1-64, 64 by default)" |
617 | range 1 64 | 617 | range 1 64 |
618 | default 64 | 618 | default 64 |
@@ -626,7 +626,7 @@ config PANEL_LCD_HWIDTH | |||
626 | 64 here for a 2x40. | 626 | 64 here for a 2x40. |
627 | 627 | ||
628 | config PANEL_LCD_CHARSET | 628 | config PANEL_LCD_CHARSET |
629 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" | 629 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" |
630 | int "LCD character set (0=normal, 1=KS0074)" | 630 | int "LCD character set (0=normal, 1=KS0074)" |
631 | range 0 1 | 631 | range 0 1 |
632 | default 0 | 632 | default 0 |
@@ -642,7 +642,7 @@ config PANEL_LCD_CHARSET | |||
642 | If you don't know, use the normal one (0). | 642 | If you don't know, use the normal one (0). |
643 | 643 | ||
644 | config PANEL_LCD_PROTO | 644 | config PANEL_LCD_PROTO |
645 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" | 645 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" |
646 | int "LCD communication mode (0=parallel 8 bits, 1=serial)" | 646 | int "LCD communication mode (0=parallel 8 bits, 1=serial)" |
647 | range 0 1 | 647 | range 0 1 |
648 | default 0 | 648 | default 0 |
@@ -655,7 +655,7 @@ config PANEL_LCD_PROTO | |||
655 | parallel LCD, and 1 for a serial LCD. | 655 | parallel LCD, and 1 for a serial LCD. |
656 | 656 | ||
657 | config PANEL_LCD_PIN_E | 657 | config PANEL_LCD_PIN_E |
658 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" | 658 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" |
659 | int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) " | 659 | int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) " |
660 | range -17 17 | 660 | range -17 17 |
661 | default 14 | 661 | default 14 |
@@ -670,7 +670,7 @@ config PANEL_LCD_PIN_E | |||
670 | Default for the 'E' pin in custom profile is '14' (AUTOFEED). | 670 | Default for the 'E' pin in custom profile is '14' (AUTOFEED). |
671 | 671 | ||
672 | config PANEL_LCD_PIN_RS | 672 | config PANEL_LCD_PIN_RS |
673 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" | 673 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" |
674 | int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) " | 674 | int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) " |
675 | range -17 17 | 675 | range -17 17 |
676 | default 17 | 676 | default 17 |
@@ -685,7 +685,7 @@ config PANEL_LCD_PIN_RS | |||
685 | Default for the 'RS' pin in custom profile is '17' (SELECT IN). | 685 | Default for the 'RS' pin in custom profile is '17' (SELECT IN). |
686 | 686 | ||
687 | config PANEL_LCD_PIN_RW | 687 | config PANEL_LCD_PIN_RW |
688 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" | 688 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO="0" |
689 | int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) " | 689 | int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) " |
690 | range -17 17 | 690 | range -17 17 |
691 | default 16 | 691 | default 16 |
@@ -700,7 +700,7 @@ config PANEL_LCD_PIN_RW | |||
700 | Default for the 'RW' pin in custom profile is '16' (INIT). | 700 | Default for the 'RW' pin in custom profile is '16' (INIT). |
701 | 701 | ||
702 | config PANEL_LCD_PIN_SCL | 702 | config PANEL_LCD_PIN_SCL |
703 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0" | 703 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0" |
704 | int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) " | 704 | int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) " |
705 | range -17 17 | 705 | range -17 17 |
706 | default 1 | 706 | default 1 |
@@ -715,7 +715,7 @@ config PANEL_LCD_PIN_SCL | |||
715 | Default for the 'SCL' pin in custom profile is '1' (STROBE). | 715 | Default for the 'SCL' pin in custom profile is '1' (STROBE). |
716 | 716 | ||
717 | config PANEL_LCD_PIN_SDA | 717 | config PANEL_LCD_PIN_SDA |
718 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0" | 718 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" && PANEL_LCD_PROTO!="0" |
719 | int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) " | 719 | int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) " |
720 | range -17 17 | 720 | range -17 17 |
721 | default 2 | 721 | default 2 |
@@ -730,7 +730,7 @@ config PANEL_LCD_PIN_SDA | |||
730 | Default for the 'SDA' pin in custom profile is '2' (D0). | 730 | Default for the 'SDA' pin in custom profile is '2' (D0). |
731 | 731 | ||
732 | config PANEL_LCD_PIN_BL | 732 | config PANEL_LCD_PIN_BL |
733 | depends on PANEL && PANEL_PROFILE="0" && PANEL_LCD="1" | 733 | depends on PANEL_PROFILE="0" && PANEL_LCD="1" |
734 | int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) " | 734 | int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) " |
735 | range -17 17 | 735 | range -17 17 |
736 | default 0 | 736 | default 0 |
@@ -745,7 +745,6 @@ config PANEL_LCD_PIN_BL | |||
745 | Default for the 'BL' pin in custom profile is '0' (uncontrolled). | 745 | Default for the 'BL' pin in custom profile is '0' (uncontrolled). |
746 | 746 | ||
747 | config PANEL_CHANGE_MESSAGE | 747 | config PANEL_CHANGE_MESSAGE |
748 | depends on PANEL | ||
749 | bool "Change LCD initialization message ?" | 748 | bool "Change LCD initialization message ?" |
750 | default "n" | 749 | default "n" |
751 | ---help--- | 750 | ---help--- |
@@ -758,7 +757,7 @@ config PANEL_CHANGE_MESSAGE | |||
758 | say 'N' and keep the default message with the version. | 757 | say 'N' and keep the default message with the version. |
759 | 758 | ||
760 | config PANEL_BOOT_MESSAGE | 759 | config PANEL_BOOT_MESSAGE |
761 | depends on PANEL && PANEL_CHANGE_MESSAGE="y" | 760 | depends on PANEL_CHANGE_MESSAGE="y" |
762 | string "New initialization message" | 761 | string "New initialization message" |
763 | default "" | 762 | default "" |
764 | ---help--- | 763 | ---help--- |
@@ -770,6 +769,8 @@ config PANEL_BOOT_MESSAGE | |||
770 | An empty message will only clear the display at driver init time. Any other | 769 | An empty message will only clear the display at driver init time. Any other |
771 | printf()-formatted message is valid with newline and escape codes. | 770 | printf()-formatted message is valid with newline and escape codes. |
772 | 771 | ||
772 | endif # PANEL | ||
773 | |||
773 | source "drivers/misc/c2port/Kconfig" | 774 | source "drivers/misc/c2port/Kconfig" |
774 | source "drivers/misc/eeprom/Kconfig" | 775 | source "drivers/misc/eeprom/Kconfig" |
775 | source "drivers/misc/cb710/Kconfig" | 776 | source "drivers/misc/cb710/Kconfig" |