[LinuxPPS] bug in kernel config
Rodolfo Giometti
giometti at enneenne.com
Wed Feb 7 15:12:53 CET 2007
On Wed, Feb 07, 2007 at 06:40:39AM -0600, Jon Schewe wrote:
> I've found when I do make menuconfig and add in PPS support I'm given
> the option of building PPS as a module. This doesn't work as no module
> appears to be created and I'm unable to sync anything as the 8250 serial
> support is not even an option at this point. If I change PPS to be
> built directly into the kernel, I'm then able to choose 8250 serial
> support and everything works just fine. Could this change be made for
> the next rev?
If you choose PPS as a module the file pps_core.ko will be created,
and in this case you cannot enable serial support until you select
serial core as a module too.
Here what you can find into drivers/pps/clients/Kconfig:
config PPS_CLIENT_UART
bool "UART serial support"
depends on PPS && SERIAL_CORE && \
! ( PPS = m && SERIAL_CORE = y ) && EXPERIMENTAL
This is necessary since is not possible to load a serial driver as a
module if pps_core is not already loaded into kernel, and someone may
needs serial support but not the PPS one.
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at gnudd.com
Embedded Systems giometti at linux.it
UNIX programming phone: +39 349 2432127
More information about the LinuxPPS
mailing list