1#
2# HIL device driver configuration
3#
4
5mainmenu_option next_comment
6comment 'HIL support'
7
8
9if [ "$CONFIG_INPUT" = "n" ]; then
10   comment 'Input support needed for HIL support'
11else
12   bool 'HIL core support' CONFIG_HIL
13
14   if [ "$CONFIG_HIL" != "n" ]; then
15    dep_tristate '  HIL Keyboard (basic) support' CONFIG_HIL_KBD_BASIC $CONFIG_INPUT_KEYBDEV
16
17    comment ' HIL driver core support'
18    tristate '  HP System Device Controller i8042 Support' CONFIG_HP_SDC
19    dep_tristate '  HP SDC Real Time Clock' CONFIG_HP_SDC_RTC $CONFIG_HP_SDC
20
21    dep_tristate '  HIL MLC Support' CONFIG_HIL_MLC $CONFIG_HP_SDC $CONFIG_INPUT_SERIO
22    if [ "$CONFIG_INPUT_SERIO" = "n"  ]; then
23      comment '  Serial IO support needed for HIL keyboard and mouse support'
24    else
25      # This is not accurate but for now it will save confusion.
26      define_tristate CONFIG_HP_SDC_MLC $CONFIG_HIL_MLC
27    fi
28    
29    comment ' HIL device driver'
30  
31    if [ "$CONFIG_HIL_MLC" != "n"  ]; then
32      if [ "$CONFIG_INPUT_KEYBDEV" = "n" ]; then
33        comment '  Keyboard input needed for HIL keyboard support'
34      else
35        dep_tristate '  HIL Keyboard (full) support' CONFIG_HIL_KBD $CONFIG_INPUT_KEYBDEV $CONFIG_HIL_MLC
36      fi
37
38      if [ "$CONFIG_INPUT_MOUSEDEV" = "n" ]; then
39        comment '  Mouse input support needed for HIL mouse/pointer support'
40      else
41        dep_tristate '  HIL Mouse & Pointer support' CONFIG_HIL_PTR $CONFIG_INPUT_MOUSEDEV $CONFIG_HIL_MLC
42      fi
43    fi
44
45   fi
46fi
47
48endmenu
49