linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* HAVE_CONFIG
@ 2008-04-29  5:34 David H. Lynch Jr.
  2008-04-29  9:27 ` HAVE_CONFIG Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: David H. Lynch Jr. @ 2008-04-29  5:34 UTC (permalink / raw)
  To: linuxppc-embedded

    Why does CONFIG_PPC set CONFIG_HAVE_IDE ?
   

-- 
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii@dlasys.net 	  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HAVE_CONFIG
  2008-04-29  5:34 HAVE_CONFIG David H. Lynch Jr.
@ 2008-04-29  9:27 ` Arnd Bergmann
  2008-04-29  9:56   ` HAVE_CONFIG David H. Lynch Jr.
  0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2008-04-29  9:27 UTC (permalink / raw)
  To: linuxppc-embedded, dhlii

On Tuesday 29 April 2008, David H. Lynch Jr. wrote:
> =A0 =A0 Why does CONFIG_PPC set CONFIG_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 <><

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HAVE_CONFIG
  2008-04-29  9:27 ` HAVE_CONFIG Arnd Bergmann
@ 2008-04-29  9:56   ` David H. Lynch Jr.
  2008-04-29 10:03     ` HAVE_CONFIG Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: David H. Lynch Jr. @ 2008-04-29  9:56 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linuxppc-embedded

Arnd Bergmann wrote:
> On Tuesday 29 April 2008, David H. Lynch Jr. wrote:
>   
>>     Why does CONFIG_PPC set CONFIG_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 ?


-- 
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii@dlasys.net 	  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HAVE_CONFIG
  2008-04-29  9:56   ` HAVE_CONFIG David H. Lynch Jr.
@ 2008-04-29 10:03     ` Arnd Bergmann
  0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2008-04-29 10:03 UTC (permalink / raw)
  To: dhlii; +Cc: linuxppc-embedded

On Tuesday 29 April 2008, David H. Lynch Jr. wrote:
> Arnd Bergmann wrote:
> > On Tuesday 29 April 2008, David H. Lynch Jr. wrote:
> > =A0=20
> >> =A0 =A0 Why does CONFIG_PPC set CONFIG_HAVE_IDE ?
> >> =A0 =A0=20
> >
> > 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) driv=
ers.
> >
> > =A0=A0=A0=A0=A0=A0Arnd <><
> > =A0=20
> =A0 =A0 So CONFIG_HAVE_IDE means the architecture could have IDE rather t=
han
> it does have IDE ?

Right.

> =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 deselect HAVE_IDE in 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 <><

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-29 10:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-29  5:34 HAVE_CONFIG David H. Lynch Jr.
2008-04-29  9:27 ` HAVE_CONFIG Arnd Bergmann
2008-04-29  9:56   ` HAVE_CONFIG David H. Lynch Jr.
2008-04-29 10:03     ` HAVE_CONFIG Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).