Kconfig 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. menu "Generic Driver Options"
  2. config UEVENT_HELPER_PATH
  3. string "path to uevent helper"
  4. depends on HOTPLUG
  5. default "/sbin/hotplug"
  6. help
  7. Path to uevent helper program forked by the kernel for
  8. every uevent.
  9. config STANDALONE
  10. bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL
  11. default y
  12. help
  13. Select this option if you don't have magic firmware for drivers that
  14. need it.
  15. If unsure, say Y.
  16. config PREVENT_FIRMWARE_BUILD
  17. bool "Prevent firmware from being built"
  18. default y
  19. help
  20. Say yes to avoid building firmware. Firmware is usually shipped
  21. with the driver, and only when updating the firmware a rebuild
  22. should be made.
  23. If unsure say Y here.
  24. config FW_LOADER
  25. tristate "Userspace firmware loading support"
  26. depends on HOTPLUG
  27. ---help---
  28. This option is provided for the case where no in-kernel-tree modules
  29. require userspace firmware loading support, but a module built outside
  30. the kernel tree does.
  31. config FIRMWARE_IN_KERNEL
  32. bool "Include in-kernel firmware blobs in kernel binary"
  33. depends on FW_LOADER
  34. default y
  35. help
  36. The kernel source tree includes a number of firmware 'blobs'
  37. which are used by various drivers. The recommended way to
  38. use these is to run "make firmware_install" and to copy the
  39. resulting binary files created in usr/lib/firmware directory
  40. of the kernel tree to the /lib/firmware on your system so
  41. that they can be loaded by userspace helpers on request.
  42. Enabling this option will build each required firmware blob
  43. into the kernel directly, where request_firmware() will find
  44. them without having to call out to userspace. This may be
  45. useful if your root file system requires a device which uses
  46. such firmware, and do not wish to use an initrd.
  47. This single option controls the inclusion of firmware for
  48. every driver which usees request_firmare() and ships its
  49. firmware in the kernel source tree, to avoid a proliferation
  50. of 'Include firmware for xxx device' options.
  51. Say 'N' and let firmware be loaded from userspace.
  52. config EXTRA_FIRMWARE
  53. string "External firmware blobs to build into the kernel binary"
  54. depends on FW_LOADER
  55. help
  56. This option allows firmware to be built into the kernel, for the
  57. cases where the user either cannot or doesn't want to provide it from
  58. userspace at runtime (for example, when the firmware in question is
  59. required for accessing the boot device, and the user doesn't want to
  60. use an initrd).
  61. This option is a string, and takes the (space-separated) names of the
  62. firmware files -- the same names which appear in MODULE_FIRMWARE()
  63. and request_firmware() in the source. These files should exist under
  64. the directory specified by the EXTRA_FIRMWARE_DIR option, which is
  65. by default the firmware/ subdirectory of the kernel source tree.
  66. So, for example, you might set CONFIG_EXTRA_FIRMWARE="usb8388.bin",
  67. copy the usb8388.bin file into the firmware/ directory, and build the
  68. kernel. Then any request_firmware("usb8388.bin") will be
  69. satisfied internally without needing to call out to userspace.
  70. WARNING: If you include additional firmware files into your binary
  71. kernel image which are not available under the terms of the GPL,
  72. then it may be a violation of the GPL to distribute the resulting
  73. image -- since it combines both GPL and non-GPL work. You should
  74. consult a lawyer of your own before distributing such an image.
  75. config EXTRA_FIRMWARE_DIR
  76. string "Firmware blobs root directory"
  77. depends on EXTRA_FIRMWARE != ""
  78. default "firmware"
  79. help
  80. This option controls the directory in which the kernel build system
  81. looks for the firmware files listed in the EXTRA_FIRMWARE option.
  82. The default is the firmware/ directory in the kernel source tree,
  83. but by changing this option you can point it elsewhere, such as
  84. the /lib/firmware/ directory or another separate directory
  85. containing firmware files.
  86. config DEBUG_DRIVER
  87. bool "Driver Core verbose debug messages"
  88. depends on DEBUG_KERNEL
  89. help
  90. Say Y here if you want the Driver core to produce a bunch of
  91. debug messages to the system log. Select this if you are having a
  92. problem with the driver core and want to see more of what is
  93. going on.
  94. If you are unsure about this, say N here.
  95. config DEBUG_DEVRES
  96. bool "Managed device resources verbose debug messages"
  97. depends on DEBUG_KERNEL
  98. help
  99. This option enables kernel parameter devres.log. If set to
  100. non-zero, devres debug messages are printed. Select this if
  101. you are having a problem with devres or want to debug
  102. resource management for a managed device. devres.log can be
  103. switched on and off from sysfs node.
  104. If you are unsure about this, Say N here.
  105. config SYS_HYPERVISOR
  106. bool
  107. default n
  108. endmenu