diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-04-17 15:44:57 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-05-07 19:17:39 -0400 |
commit | 2b78a963c800252a0016785813cc5140c006145c (patch) | |
tree | d343095ca5eeff68ec69824ca87ccee2634a94ca /drivers/video/Kconfig | |
parent | 2fed547c0298e1465d62b34a75a7b76353fee7d3 (diff) |
viafb: make procfs entries optional
viafb: make procfs entries optional
This patch adds a config option to enable procfs entries for direct
hardware access. This was the old behaviour but the option defaults
to no as this is really ugly and should not be needed if the driver
works correct (and if it doesn't, it needs to be fixed).
That stuff is really something that should
- not be needed at all (the driver should be capable of doing it)
- not be there (debugfs would be better for such things)
So add this option just for backwards compatiblity.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r-- | drivers/video/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 22c1662de964..fd55c279915c 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -1522,6 +1522,20 @@ config FB_VIA | |||
1522 | To compile this driver as a module, choose M here: the | 1522 | To compile this driver as a module, choose M here: the |
1523 | module will be called viafb. | 1523 | module will be called viafb. |
1524 | 1524 | ||
1525 | if FB_VIA | ||
1526 | |||
1527 | config FB_VIA_DIRECT_PROCFS | ||
1528 | bool "direct hardware access via procfs (DEPRECATED)(DANGEROUS)" | ||
1529 | depends on FB_VIA | ||
1530 | default n | ||
1531 | help | ||
1532 | Allow direct hardware access to some output registers via procfs. | ||
1533 | This is dangerous but may provide the only chance to get the | ||
1534 | correct output device configuration. | ||
1535 | Its use is strongly discouraged. | ||
1536 | |||
1537 | endif | ||
1538 | |||
1525 | config FB_NEOMAGIC | 1539 | config FB_NEOMAGIC |
1526 | tristate "NeoMagic display support" | 1540 | tristate "NeoMagic display support" |
1527 | depends on FB && PCI | 1541 | depends on FB && PCI |