Cleanup DRM menu and give it a submenu
PATCH 1/1 Cleanup DRM menu and give it a submenu
Hi Marcelo,
I've been getting complaints about the menu structure from the linux kernel config subsystem for a _long time_. Now let's clean up the DRM menu and give it a submenu. We are getting close that the menu will look more cleaner :)
More cleanups for different menu's are following.
Please apply for 2.4.22-pre10. Thank you :)
ciao, Marc
drivers/char/Config.in +1 -12
@@ -317,18 +317,7 @@ if [ "$CONFIG_AGP" != "n" ]; then fi fi -bool 'Direct Rendering Manager (XFree86 DRI support)' CONFIG_DRM -if [ "$CONFIG_DRM" = "y" ]; then - bool ' Build drivers for old (XFree 4.0) DRM' CONFIG_DRM_OLD - if [ "$CONFIG_DRM_OLD" = "y" ]; then - comment 'DRM 4.0 drivers' - source drivers/char/drm-4.0/Config.in - else - comment 'DRM 4.1 drivers' - define_bool CONFIG_DRM_NEW y - source drivers/char/drm/Config.in - fi -fi +source drivers/char/DRM-Config.in if [ "$CONFIG_HOTPLUG" = "y" -a "$CONFIG_PCMCIA" != "n" ]; then source drivers/char/pcmcia/Config.in
drivers/char/DRM-Config.in +16 -0
@@ -0,0 +1,16 @@ +mainmenu_option next_comment +comment 'Direct Rendering Manager (XFree86 DRI support)' +bool 'Direct Rendering Manager (XFree86 DRI support)' CONFIG_DRM +if [ "$CONFIG_DRM" = "y" ]; then + bool ' Build drivers for old (XFree 4.0) DRM' CONFIG_DRM_OLD + if [ "$CONFIG_DRM_OLD" = "y" ]; then + comment 'DRM 4.0 drivers' + source drivers/char/drm-4.0/Config.in + else + comment 'DRM 4.1 drivers' + define_bool CONFIG_DRM_NEW y + source drivers/char/drm/Config.in + fi +fi +endmenu +
Quoted 6 lines · Marc-Christian Petersen
Hi Marcelo,
I've been getting complaints about the menu structure from the linux kernel config subsystem for a
_longtime_. Now let's clean up the DRM menu and give it a submenu. We are getting close that the menu will look more cleaner :)
Quoted 6 lines
More cleanups for different menu's are following.
Please apply for 2.4.22-pre10. Thank you :)
ciao, Marc
Is this really worth doing ? `make menuconfig' seems to hide the
options nicely until you turn drm on, and more importantly the 2.4 kernel modules aren't exactly useful with X-4.3 so they're becoming increasingly redundant.
Ken
On Saturday 02 August 2003 23:46, Ken Moffat wrote:
Hi Ken,
Quoted 4 lines
Is this really worth doing ? `make menuconfig' seems to hide the
options nicely until you turn drm on, and more importantly the 2.4 kernel modules aren't exactly useful with X-4.3 so they're becoming increasingly redundant.
I think it is usefull. The more stuff you've enabled in your config, the more it becomes unreadable/confusing/complex etc.
And DRM merge for full X4.3 DRI usage is pending for 2.4.23-pre1. It'y in my draftbox and waiting for 2.4.22 final :)
ciao, Marc
Quoted 11 lines · Marc-Christian Petersen
On Saturday 02 August 2003 23:46, Ken Moffat wrote:
Hi Ken,
Quoted 4 lines
Is this really worth doing ? `make menuconfig' seems to hide the
options nicely until you turn drm on, and more importantly the 2.4 kernel modules aren't exactly useful with X-4.3 so they're becoming increasingly redundant.I think it is usefull. The more stuff you've enabled in your config, the more it becomes unreadable/confusing/complex etc.
Ok, I guess I'm used to the complexity.
Quoted 6 lines
And DRM merge for full X4.3 DRI usage is pending for 2.4.23-pre1. It'y in my draftbox and waiting for 2.4.22 final :)
ciao, Marc
Now that _is_ good news.
Ken