[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building kernel with RS485



I have a problem to enable RS485 in the kernel config (linux 2.2.14)


I have done the following:

edited  the file $AXIS_KERNEL_DIR/.config


      CONFIG_ETRAX_SERIAL_PORT3=y
      CONFIG_ETRAX_RS485=y
      CONFIG_ETRAX_RS485_ON_PA=y
      CONFIG_ETRAX_RS485_ON_PA_BIT=3
      CONFIG_ETRAX_RS485_DISABLE_RECEIVER=y

in the directory $AXIS_TO_DIR
     make kernel

this give a lot of errors when compiling serial.c

example : serial.c:1201 structure has no member named rs485
or        TIOCSERSETRS485 undeclared

is it the good way to enable RS485 in the kernel ??

thank you,


Didier CHAMBRELAN
ACTEMIUM Le Havre
Parc d'activité Rue CARDAN
B.P. 117
76330 NOTRE-DAME-DE-GRAVENCHON - FRANCE

dchambrelan@xxxxxxx.com
Tel :  (33) 02 32 84 10 10
Fax:  (33) 02 32 84 10 00