Linux driver for ITE887X serial and parport:
Test in Mandrake 9.0 ,and update kernel to 2.4.20

Warning:
  This driver only for Linux kernel 2.4.19 or 2.4.20.
If your kernel is older, please update to 2.4.20 .

"/usr/src/linux" is the default kernel path.
If you use redhat , the path is "/usr/src/linux-2.4".
  If you do not know how to compile kernel, please 
read kernel-howto document for reference.

Conver the two files "serial.c" and "parport_pc.c":
( Note: please backup the two files first! )

In kernel 2.4.19:
 #cp  serial_19.c  /usr/src/linux/drivers/char/serial.c
 #cp  parport_pc_19.c  /usr/src/linux/drivers/parport/parport_pc.c

In kernel 2.4.20:
 #cp  serial_20.c  /usr/src/linux/drivers/char/serial.c
 #cp  parport_pc_20.c  /usr/src/linux/drivers/parport/parport_pc.c

Compile kernel:
 #cd /usr/src/linux
 #make menuconfig
select the options:
Warning: "Parallel port support" must be "M", because 
         the 887X serial must be load befor parport.

-------In Parallel: ---------------
Parallel port support
<M>Parallel port support
<M>  PC-style hardware
< >    Multi-IO cards
[*]    Use FIFO/DMA if available
[*]    SuperIO chipset support
[*]  Support foreign hardware
[*]  IEEE 1284 tranfor mode

--------In Character: -------------
Character devices
<*>Standard/generic (8250/16550 and compatibale UARTs)serial support
[*]Extended dumb serial driver options
[*]  Support more than 4 serial ports
[ ]  Support for sharing serial interrupts
[ ]  Autodetect IRQ on standard ports (unsafe)

------------------------------------
Read kernel-howto for Other select.

After compile kernel and reboot, you can check 887x by "dmesg" command.
"dmesg" will show you which ttyS set by 887x.

