/* * Simple synchronous serial port driver for ETRAX FS and Artpec-3. * * Copyright (c) 2005 Axis Communications AB * * Author: Mikael Starvik * */#include<linux/module.h>#include<linux/kernel.h>#include<linux/types.h>#include<linux/errno.h>#include<linux/major.h>#include<linux/sched.h>#include<linux/slab.h>#include<linux/interrupt.h>#include<linux/poll.h>#include<linux/init.h>#include<linux/timer.h>#include<linux/spinlock.h>#include<asm/io.h>#include<dma.h>#include<pinmux.h>#include<hwregs/reg_rdwr.h>#include<hwregs/sser_defs.h>#include<hwregs/dma_defs.h>#include<hwregs/dma.h>#include<hwregs/intr_vect_defs.h>#include<hwregs/intr_vect.h>#include<hwregs/reg_map.h>#include<asm/sync_serial.h>/* The receiver is a bit tricky beacuse of the continuous stream of data.*/