On Tuesday 29 April 2008, David H. Lynch Jr. wrote: > 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 ?
Right. > 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 ? 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 <>< _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded