2 * drivers/serial/8250_hcdp.h
4 * Copyright (C) 2002 Hewlett-Packard Co.
5 * Khalid Aziz <khalid_aziz@hp.com>
7 * Definitions for HCDP defined serial ports (Serial console and debug
11 /* ACPI table signatures */
12 #define HCDP_SIG_LEN 4
13 #define HCDP_SIGNATURE "HCDP"
15 /* Space ID as defined in ACPI generic address structure */
16 #define ACPI_MEM_SPACE 0
17 #define ACPI_IO_SPACE 1
18 #define ACPI_PCICONF_SPACE 2
21 * Maximum number of HCDP devices we want to read in
23 #define MAX_HCDP_DEVICES 6
26 * Default UART clock rate if clock rate is 0 in HCDP table.
28 #define DEFAULT_UARTCLK 115200
31 * ACPI Generic Address Structure
42 /* HCDP Device descriptor entry types */
43 #define HCDP_DEV_CONSOLE 0
44 #define HCDP_DEV_DEBUG 1
46 /* HCDP Device descriptor type */
57 acpi_gen_addr base_addr
;
66 /* HCDP Table format */
78 hcdp_dev_t hcdp_dev
[MAX_HCDP_DEVICES
];