x86: add PAGE_KERNEL_EXEC_NOCACHE
[wrt350n-kernel.git] / arch / ppc / boot / include / serial.h
blobd710eabb42562ebd9b6460c473adba45dbbb48f7
1 /*
2 * A really private header file for the (dumb) serial driver in arch/ppc/boot
4 * Shamelessly taken from include/linux/serialP.h:
6 * Copyright (C) 1997 by Theodore Ts'o.
8 * Redistribution of this file is permitted under the terms of the GNU
9 * Public License (GPL)
12 #ifndef _PPC_BOOT_SERIALP_H
13 #define _PPC_BOOT_SERIALP_H
16 * This is our internal structure for each serial port's state.
18 * Many fields are paralleled by the structure used by the serial_struct
19 * structure.
21 * Given that this is how SERIAL_PORT_DFNS are done, and that we need
22 * to use a few of their fields, we need to have our own copy of it.
24 struct serial_state {
25 int magic;
26 int baud_base;
27 unsigned long port;
28 int irq;
29 int flags;
30 int hub6;
31 int type;
32 int line;
33 int revision; /* Chip revision (950) */
34 int xmit_fifo_size;
35 int custom_divisor;
36 int count;
37 u8 *iomem_base;
38 u16 iomem_reg_shift;
39 unsigned short close_delay;
40 unsigned short closing_wait; /* time to wait before closing */
41 unsigned long icount;
42 int io_type;
43 void *info;
44 void *dev;
46 #endif /* _PPC_BOOT_SERIAL_H */