HAVE_CONFIG
Why does CONFIG_PPC set CONFIG_HAVE_IDE ?
Signature · 8 lines
Dave Lynch DLA Systems Software Development: Embedded Linux 717.627.3770 [email protected] http://www.dlasys.net fax: 1.253.369.9244 Cell: 1.717.587.7774 Over 25 years' experience in platforms, languages, and technologies too numerous to list. "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein
Quoted 1 line · David H. Lynch Jr.
=A0 =A0 Why does
CONFIG_PPCsetCONFIG_HAVE_IDE?
Because it's possible to build ide drivers on the powerpc architecture. It means you get the option to enable to disable the old ATA (IDE) drivers.
Arnd <><
Quoted 10 lines · Arnd Bergmann
Quoted 2 lines · David H. Lynch Jr.
Why does
CONFIG_PPCsetCONFIG_HAVE_IDE?Because it's possible to build ide drivers on the powerpc architecture. It means you get the option to enable to disable the old ATA (IDE) drivers.
Arnd <><
So CONFIG_HAVE_IDE means the architecture could have IDE rather than
it does have IDE ?
My BSP can't have IDE, does that mean I should add
default n if MYBSP
? or somehow deselect HAVE_IDE in the config option for my BSP ?
Signature · 8 lines
Dave Lynch DLA Systems Software Development: Embedded Linux 717.627.3770 [email protected] http://www.dlasys.net fax: 1.253.369.9244 Cell: 1.717.587.7774 Over 25 years' experience in platforms, languages, and technologies too numerous to list. "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein
Quoted 8 lines · David H. Lynch Jr.
Quoted 7 lines · Arnd Bergmann
On Tuesday 29 April 2008, David H. Lynch Jr. wrote:
=A0=20Quoted 2 lines
=A0 =A0 Why does
CONFIG_PPCsetCONFIG_HAVE_IDE?
=A0 =A0=20Because it's possible to build ide drivers on the powerpc architecture. It means you get the option to enable to disable the old ATA (IDE) driv=
ers.
Quoted 4 lines
Quoted 3 lines
=A0=A0=A0=A0=A0=A0Arnd <><
=A0=20=A0 =A0 So
CONFIG_HAVE_IDEmeans the architecture could have IDE rather t=
han
Quoted 1 line
it does have IDE ?
Right.
Quoted 5 lines
=A0 =A0 My BSP can't have IDE, does that mean I should add =A0 =A0
=A0 =A0 default n if MYBSP
=20
=A0 =A0 ? or somehow deselectHAVE_IDEin the config option for my BSP ?
No.
You can always build multiplatform kernels, and your BSP Kconfig should do nothing to forbid this. The only time where you don't want to set HAVE_IDE is when it is impossible to build the IDE drivers. However, if your code does not allow building support for IDE into the kernel, you should fix your code rather than disable the Kconfig.
Arnd <><