Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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 EXTRA_FIRMWARE
  32. string "External firmware blobs to build into the kernel binary"
  33. depends on FW_LOADER
  34. help
  35. This option allows firmware to be built into the kernel, for the
  36. cases where the user either cannot or doesn't want to provide it from
  37. userspace at runtime (for example, when the firmware in question is
  38. required for accessing the boot device, and the user doesn't want to
  39. use an initrd).
  40. This option is a string, and takes the (space-separated) names of the
  41. firmware files -- the same names which appear in MODULE_FIRMWARE()
  42. and request_firmware() in the source. These files should exist under
  43. the directory specified by the EXTRA_FIRMWARE_DIR option, which is
  44. by default the firmware/ subdirectory of the kernel source tree.
  45. So, for example, you might set CONFIG_EXTRA_FIRMWARE="usb8388.bin",
  46. copy the usb8388.bin file into the firmware/ directory, and build the
  47. kernel. Then any request_firmware("usb8388.bin") will be
  48. satisfied internally without needing to call out to userspace.
  49. WARNING: If you include additional firmware files into your binary
  50. kernel image which are not available under the terms of the GPL,
  51. then it may be a violation of the GPL to distribute the resulting
  52. image -- since it combines both GPL and non-GPL work. You should
  53. consult a lawyer of your own before distributing such an image.
  54. config EXTRA_FIRMWARE_DIR
  55. string "Firmware blobs root directory"
  56. depends on EXTRA_FIRMWARE != ""
  57. default "firmware"
  58. help
  59. This option controls the directory in which the kernel build system
  60. looks for the firmware files listed in the EXTRA_FIRMWARE option.
  61. The default is the firmware/ directory in the kernel source tree,
  62. but by changing this option you can point it elsewhere, such as
  63. the /lib/firmware/ directory or another separate directory
  64. containing firmware files.
  65. config DEBUG_DRIVER
  66. bool "Driver Core verbose debug messages"
  67. depends on DEBUG_KERNEL
  68. help
  69. Say Y here if you want the Driver core to produce a bunch of
  70. debug messages to the system log. Select this if you are having a
  71. problem with the driver core and want to see more of what is
  72. going on.
  73. If you are unsure about this, say N here.
  74. config DEBUG_DEVRES
  75. bool "Managed device resources verbose debug messages"
  76. depends on DEBUG_KERNEL
  77. help
  78. This option enables kernel parameter devres.log. If set to
  79. non-zero, devres debug messages are printed. Select this if
  80. you are having a problem with devres or want to debug
  81. resource management for a managed device. devres.log can be
  82. switched on and off from sysfs node.
  83. If you are unsure about this, Say N here.
  84. config SYS_HYPERVISOR
  85. bool
  86. default n
  87. endmenu