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 30312c004dSKay Sievers tristate "Userspace firmware loading support" 31135c294fSAndrew Morton depends on HOTPLUG 321da177e4SLinus Torvalds ---help--- 331da177e4SLinus Torvalds This option is provided for the case where no in-kernel-tree modules 34312c004dSKay Sievers require userspace firmware loading support, but a module built outside 351da177e4SLinus Torvalds the kernel tree does. 361da177e4SLinus Torvalds 37*d172e7f5SDavid Woodhouseconfig FIRMWARE_IN_KERNEL 38*d172e7f5SDavid Woodhouse bool "Include in-kernel firmware blobs in kernel binary" 39*d172e7f5SDavid Woodhouse depends on FW_LOADER 40*d172e7f5SDavid Woodhouse default y 41*d172e7f5SDavid Woodhouse help 42*d172e7f5SDavid Woodhouse The kernel source tree includes a number of firmware 'blobs' 43*d172e7f5SDavid Woodhouse which are used by various drivers. The recommended way to 44*d172e7f5SDavid Woodhouse use these is to run "make firmware_install" and to copy the 45*d172e7f5SDavid Woodhouse resulting binary files created in usr/lib/firmware directory 46*d172e7f5SDavid Woodhouse of the kernel tree to the /lib/firmware on your system so 47*d172e7f5SDavid Woodhouse that they can be loaded by userspace helpers on request. 48*d172e7f5SDavid Woodhouse 49*d172e7f5SDavid Woodhouse Enabling this option will build each required firmware blob 50*d172e7f5SDavid Woodhouse into the kernel directly, where request_firmware() will find 51*d172e7f5SDavid Woodhouse them without having to call out to userspace. This may be 52*d172e7f5SDavid Woodhouse useful if your root file system requires a device which uses 53*d172e7f5SDavid Woodhouse such firmware, and do not wish to use an initrd. 54*d172e7f5SDavid Woodhouse 55*d172e7f5SDavid Woodhouse This single option controls the inclusion of firmware for 56*d172e7f5SDavid Woodhouse every driver which usees request_firmare() and ships its 57*d172e7f5SDavid Woodhouse firmware in the kernel source tree, to avoid a proliferation 58*d172e7f5SDavid Woodhouse of 'Include firmware for xxx device' options. 59*d172e7f5SDavid Woodhouse 60*d172e7f5SDavid Woodhouse Say 'N' and let firmware be loaded from userspace. 61*d172e7f5SDavid Woodhouse 624d2acfbfSDavid Woodhouseconfig EXTRA_FIRMWARE 634d2acfbfSDavid Woodhouse string "External firmware blobs to build into the kernel binary" 644d2acfbfSDavid Woodhouse depends on FW_LOADER 654d2acfbfSDavid Woodhouse help 664d2acfbfSDavid Woodhouse This option allows firmware to be built into the kernel, for the 674d2acfbfSDavid Woodhouse cases where the user either cannot or doesn't want to provide it from 684d2acfbfSDavid Woodhouse userspace at runtime (for example, when the firmware in question is 694d2acfbfSDavid Woodhouse required for accessing the boot device, and the user doesn't want to 704d2acfbfSDavid Woodhouse use an initrd). 714d2acfbfSDavid Woodhouse 724d2acfbfSDavid Woodhouse This option is a string, and takes the (space-separated) names of the 734d2acfbfSDavid Woodhouse firmware files -- the same names which appear in MODULE_FIRMWARE() 744d2acfbfSDavid Woodhouse and request_firmware() in the source. These files should exist under 754d2acfbfSDavid Woodhouse the directory specified by the EXTRA_FIRMWARE_DIR option, which is 764d2acfbfSDavid Woodhouse by default the firmware/ subdirectory of the kernel source tree. 774d2acfbfSDavid Woodhouse 784d2acfbfSDavid Woodhouse So, for example, you might set CONFIG_EXTRA_FIRMWARE="usb8388.bin", 794d2acfbfSDavid Woodhouse copy the usb8388.bin file into the firmware/ directory, and build the 804d2acfbfSDavid Woodhouse kernel. Then any request_firmware("usb8388.bin") will be 814d2acfbfSDavid Woodhouse satisfied internally without needing to call out to userspace. 824d2acfbfSDavid Woodhouse 834d2acfbfSDavid Woodhouse WARNING: If you include additional firmware files into your binary 844d2acfbfSDavid Woodhouse kernel image which are not available under the terms of the GPL, 854d2acfbfSDavid Woodhouse then it may be a violation of the GPL to distribute the resulting 864d2acfbfSDavid Woodhouse image -- since it combines both GPL and non-GPL work. You should 874d2acfbfSDavid Woodhouse consult a lawyer of your own before distributing such an image. 884d2acfbfSDavid Woodhouse 894d2acfbfSDavid Woodhouseconfig EXTRA_FIRMWARE_DIR 904d2acfbfSDavid Woodhouse string "Firmware blobs root directory" 914d2acfbfSDavid Woodhouse depends on EXTRA_FIRMWARE != "" 924d2acfbfSDavid Woodhouse default "firmware" 934d2acfbfSDavid Woodhouse help 944d2acfbfSDavid Woodhouse This option controls the directory in which the kernel build system 954d2acfbfSDavid Woodhouse looks for the firmware files listed in the EXTRA_FIRMWARE option. 964d2acfbfSDavid Woodhouse The default is the firmware/ directory in the kernel source tree, 974d2acfbfSDavid Woodhouse but by changing this option you can point it elsewhere, such as 984d2acfbfSDavid Woodhouse the /lib/firmware/ directory or another separate directory 994d2acfbfSDavid Woodhouse containing firmware files. 1004d2acfbfSDavid Woodhouse 1011da177e4SLinus Torvaldsconfig DEBUG_DRIVER 1021da177e4SLinus Torvalds bool "Driver Core verbose debug messages" 1031da177e4SLinus Torvalds depends on DEBUG_KERNEL 1041da177e4SLinus Torvalds help 1051da177e4SLinus Torvalds Say Y here if you want the Driver core to produce a bunch of 1061da177e4SLinus Torvalds debug messages to the system log. Select this if you are having a 1071da177e4SLinus Torvalds problem with the driver core and want to see more of what is 1081da177e4SLinus Torvalds going on. 1091da177e4SLinus Torvalds 1101da177e4SLinus Torvalds If you are unsure about this, say N here. 1111da177e4SLinus Torvalds 1129ac7849eSTejun Heoconfig DEBUG_DEVRES 1139ac7849eSTejun Heo bool "Managed device resources verbose debug messages" 1149ac7849eSTejun Heo depends on DEBUG_KERNEL 1159ac7849eSTejun Heo help 1169ac7849eSTejun Heo This option enables kernel parameter devres.log. If set to 1179ac7849eSTejun Heo non-zero, devres debug messages are printed. Select this if 1189ac7849eSTejun Heo you are having a problem with devres or want to debug 1199ac7849eSTejun Heo resource management for a managed device. devres.log can be 1209ac7849eSTejun Heo switched on and off from sysfs node. 1219ac7849eSTejun Heo 1229ac7849eSTejun Heo If you are unsure about this, Say N here. 1239ac7849eSTejun Heo 1244039483fSMichael Holzheuconfig SYS_HYPERVISOR 1254039483fSMichael Holzheu bool 1264039483fSMichael Holzheu default n 127eba6cd67SRandy Dunlap 128eba6cd67SRandy Dunlapendmenu 129