11da177e4SLinus Torvaldsmenu "Generic Driver Options" 21da177e4SLinus Torvalds 36a8d8abbSKay Sieversconfig UEVENT_HELPER_PATH 46a8d8abbSKay Sievers string "path to uevent helper" 56a8d8abbSKay Sievers depends on HOTPLUG 66a8d8abbSKay Sievers default "/sbin/hotplug" 76a8d8abbSKay Sievers help 86a8d8abbSKay Sievers Path to uevent helper program forked by the kernel for 96a8d8abbSKay Sievers every uevent. 106a8d8abbSKay Sievers 111da177e4SLinus Torvaldsconfig STANDALONE 121da177e4SLinus Torvalds bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL 131da177e4SLinus Torvalds default y 141da177e4SLinus Torvalds help 151da177e4SLinus Torvalds Select this option if you don't have magic firmware for drivers that 161da177e4SLinus Torvalds need it. 171da177e4SLinus Torvalds 181da177e4SLinus Torvalds If unsure, say Y. 191da177e4SLinus Torvalds 201da177e4SLinus Torvaldsconfig PREVENT_FIRMWARE_BUILD 211da177e4SLinus Torvalds bool "Prevent firmware from being built" 221da177e4SLinus Torvalds default y 231da177e4SLinus Torvalds help 241da177e4SLinus Torvalds Say yes to avoid building firmware. Firmware is usually shipped 251da177e4SLinus Torvalds with the driver, and only when updating the firmware a rebuild 261da177e4SLinus Torvalds should be made. 271da177e4SLinus Torvalds If unsure say Y here. 281da177e4SLinus Torvalds 291da177e4SLinus Torvaldsconfig FW_LOADER 30d9b19199SAdrian Bunk tristate "Userspace firmware loading support" if EMBEDDED 31135c294fSAndrew Morton depends on HOTPLUG 32d9b19199SAdrian Bunk default y 331da177e4SLinus Torvalds ---help--- 341da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree modules 35312c004dSKay Sievers require userspace firmware loading support, but a module built outside 361da177e4SLinus Torvalds the kernel tree does. 371da177e4SLinus Torvalds 38d172e7f5SDavid Woodhouseconfig FIRMWARE_IN_KERNEL 39d172e7f5SDavid Woodhouse bool "Include in-kernel firmware blobs in kernel binary" 40d172e7f5SDavid Woodhouse depends on FW_LOADER 41d172e7f5SDavid Woodhouse default y 42d172e7f5SDavid Woodhouse help 43d172e7f5SDavid Woodhouse The kernel source tree includes a number of firmware 'blobs' 44d172e7f5SDavid Woodhouse which are used by various drivers. The recommended way to 45d172e7f5SDavid Woodhouse use these is to run "make firmware_install" and to copy the 46d172e7f5SDavid Woodhouse resulting binary files created in usr/lib/firmware directory 47d172e7f5SDavid Woodhouse of the kernel tree to the /lib/firmware on your system so 48d172e7f5SDavid Woodhouse that they can be loaded by userspace helpers on request. 49d172e7f5SDavid Woodhouse 50d172e7f5SDavid Woodhouse Enabling this option will build each required firmware blob 51d172e7f5SDavid Woodhouse into the kernel directly, where request_firmware() will find 52d172e7f5SDavid Woodhouse them without having to call out to userspace. This may be 53d172e7f5SDavid Woodhouse useful if your root file system requires a device which uses 54d172e7f5SDavid Woodhouse such firmware, and do not wish to use an initrd. 55d172e7f5SDavid Woodhouse 56d172e7f5SDavid Woodhouse This single option controls the inclusion of firmware for 57d172e7f5SDavid Woodhouse every driver which usees request_firmare() and ships its 58d172e7f5SDavid Woodhouse firmware in the kernel source tree, to avoid a proliferation 59d172e7f5SDavid Woodhouse of 'Include firmware for xxx device' options. 60d172e7f5SDavid Woodhouse 61d172e7f5SDavid Woodhouse Say 'N' and let firmware be loaded from userspace. 62d172e7f5SDavid Woodhouse 634d2acfbfSDavid Woodhouseconfig EXTRA_FIRMWARE 644d2acfbfSDavid Woodhouse string "External firmware blobs to build into the kernel binary" 654d2acfbfSDavid Woodhouse depends on FW_LOADER 664d2acfbfSDavid Woodhouse help 674d2acfbfSDavid Woodhouse This option allows firmware to be built into the kernel, for the 684d2acfbfSDavid Woodhouse cases where the user either cannot or doesn't want to provide it from 694d2acfbfSDavid Woodhouse userspace at runtime (for example, when the firmware in question is 704d2acfbfSDavid Woodhouse required for accessing the boot device, and the user doesn't want to 714d2acfbfSDavid Woodhouse use an initrd). 724d2acfbfSDavid Woodhouse 734d2acfbfSDavid Woodhouse This option is a string, and takes the (space-separated) names of the 744d2acfbfSDavid Woodhouse firmware files -- the same names which appear in MODULE_FIRMWARE() 754d2acfbfSDavid Woodhouse and request_firmware() in the source. These files should exist under 764d2acfbfSDavid Woodhouse the directory specified by the EXTRA_FIRMWARE_DIR option, which is 774d2acfbfSDavid Woodhouse by default the firmware/ subdirectory of the kernel source tree. 784d2acfbfSDavid Woodhouse 794d2acfbfSDavid Woodhouse So, for example, you might set CONFIG_EXTRA_FIRMWARE="usb8388.bin", 804d2acfbfSDavid Woodhouse copy the usb8388.bin file into the firmware/ directory, and build the 814d2acfbfSDavid Woodhouse kernel. Then any request_firmware("usb8388.bin") will be 824d2acfbfSDavid Woodhouse satisfied internally without needing to call out to userspace. 834d2acfbfSDavid Woodhouse 844d2acfbfSDavid Woodhouse WARNING: If you include additional firmware files into your binary 854d2acfbfSDavid Woodhouse kernel image which are not available under the terms of the GPL, 864d2acfbfSDavid Woodhouse then it may be a violation of the GPL to distribute the resulting 874d2acfbfSDavid Woodhouse image -- since it combines both GPL and non-GPL work. You should 884d2acfbfSDavid Woodhouse consult a lawyer of your own before distributing such an image. 894d2acfbfSDavid Woodhouse 904d2acfbfSDavid Woodhouseconfig EXTRA_FIRMWARE_DIR 914d2acfbfSDavid Woodhouse string "Firmware blobs root directory" 924d2acfbfSDavid Woodhouse depends on EXTRA_FIRMWARE != "" 934d2acfbfSDavid Woodhouse default "firmware" 944d2acfbfSDavid Woodhouse help 954d2acfbfSDavid Woodhouse This option controls the directory in which the kernel build system 964d2acfbfSDavid Woodhouse looks for the firmware files listed in the EXTRA_FIRMWARE option. 974d2acfbfSDavid Woodhouse The default is the firmware/ directory in the kernel source tree, 984d2acfbfSDavid Woodhouse but by changing this option you can point it elsewhere, such as 994d2acfbfSDavid Woodhouse the /lib/firmware/ directory or another separate directory 1004d2acfbfSDavid Woodhouse containing firmware files. 1014d2acfbfSDavid Woodhouse 1021da177e4SLinus Torvaldsconfig DEBUG_DRIVER 1031da177e4SLinus Torvalds bool "Driver Core verbose debug messages" 1041da177e4SLinus Torvalds depends on DEBUG_KERNEL 1051da177e4SLinus Torvalds help 1061da177e4SLinus Torvalds Say Y here if you want the Driver core to produce a bunch of 1071da177e4SLinus Torvalds debug messages to the system log. Select this if you are having a 1081da177e4SLinus Torvalds problem with the driver core and want to see more of what is 1091da177e4SLinus Torvalds going on. 1101da177e4SLinus Torvalds 1111da177e4SLinus Torvalds If you are unsure about this, say N here. 1121da177e4SLinus Torvalds 1139ac7849eSTejun Heoconfig DEBUG_DEVRES 1149ac7849eSTejun Heo bool "Managed device resources verbose debug messages" 1159ac7849eSTejun Heo depends on DEBUG_KERNEL 1169ac7849eSTejun Heo help 1179ac7849eSTejun Heo This option enables kernel parameter devres.log. If set to 1189ac7849eSTejun Heo non-zero, devres debug messages are printed. Select this if 1199ac7849eSTejun Heo you are having a problem with devres or want to debug 1209ac7849eSTejun Heo resource management for a managed device. devres.log can be 1219ac7849eSTejun Heo switched on and off from sysfs node. 1229ac7849eSTejun Heo 1239ac7849eSTejun Heo If you are unsure about this, Say N here. 1249ac7849eSTejun Heo 1254039483fSMichael Holzheuconfig SYS_HYPERVISOR 1264039483fSMichael Holzheu bool 1274039483fSMichael Holzheu default n 128eba6cd67SRandy Dunlap 129eba6cd67SRandy Dunlapendmenu 130