summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@maxwell.earthlink.net>2003-03-15 07:47:46 -0800
committerJames Simmons <jsimmons@maxwell.earthlink.net>2003-03-15 07:47:46 -0800
commit9509f9875d154fcf93b25ec487bc13ced8354fa0 (patch)
treee64a07e46789732e911200381cbe188a1d5c8041 /include
parentfba40107b968ffef3ac9091618a20f0fc0a59b8f (diff)
parentbda2dabecfce94ecbcf155e7a4563b1004933100 (diff)
Merge maxwell.earthlink.net:/usr/src/linus-2.5
into maxwell.earthlink.net:/usr/src/fbdev-2.5
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/compat.h16
-rw-r--r--include/asm-ppc64/fcntl.h13
-rw-r--r--include/asm-ppc64/pci-bridge.h3
-rw-r--r--include/asm-ppc64/topology.h1
-rw-r--r--include/linux/pci_ids.h1
-rw-r--r--include/linux/serial_core.h14
6 files changed, 28 insertions, 20 deletions
diff --git a/include/asm-ppc64/compat.h b/include/asm-ppc64/compat.h
index 4385fb4494c5..75cb531ca3e3 100644
--- a/include/asm-ppc64/compat.h
+++ b/include/asm-ppc64/compat.h
@@ -61,7 +61,18 @@ struct compat_flock {
compat_off_t l_start;
compat_off_t l_len;
compat_pid_t l_pid;
- short __unused;
+};
+
+#define F_GETLK64 12 /* using 'struct flock64' */
+#define F_SETLK64 13
+#define F_SETLKW64 14
+
+struct compat_flock64 {
+ short l_type;
+ short l_whence;
+ compat_loff_t l_start;
+ compat_loff_t l_len;
+ compat_pid_t l_pid;
};
struct compat_statfs {
@@ -84,4 +95,7 @@ typedef u32 compat_old_sigset_t;
typedef u32 compat_sigset_word;
+#define COMPAT_OFF_T_MAX 0x7fffffff
+#define COMPAT_LOFF_T_MAX 0x7fffffffffffffffL
+
#endif /* _ASM_PPC64_COMPAT_H */
diff --git a/include/asm-ppc64/fcntl.h b/include/asm-ppc64/fcntl.h
index 19ba4d6dc63c..1ef83570b4e4 100644
--- a/include/asm-ppc64/fcntl.h
+++ b/include/asm-ppc64/fcntl.h
@@ -42,10 +42,6 @@
#define F_SETSIG 10 /* for sockets. */
#define F_GETSIG 11 /* for sockets. */
-#define F_GETLK64 12 /* using 'struct flock64' */
-#define F_SETLK64 13
-#define F_SETLKW64 14
-
/* for F_[GET|SET]FL */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
@@ -87,13 +83,6 @@ struct flock {
pid_t l_pid;
};
-struct flock64 {
- short l_type;
- short l_whence;
- loff_t l_start;
- loff_t l_len;
- pid_t l_pid;
-};
-
#define F_LINUX_SPECIFIC_BASE 1024
+
#endif /* _PPC64_FCNTL_H */
diff --git a/include/asm-ppc64/pci-bridge.h b/include/asm-ppc64/pci-bridge.h
index c3bdfe012ee3..9061702b8c8e 100644
--- a/include/asm-ppc64/pci-bridge.h
+++ b/include/asm-ppc64/pci-bridge.h
@@ -20,7 +20,8 @@ enum phb_types {
phb_type_unknown = 0x0,
phb_type_hypervisor = 0x1,
phb_type_python = 0x10,
- phb_type_speedwagon = 0x11
+ phb_type_speedwagon = 0x11,
+ phb_type_winnipeg = 0x12
};
/*
diff --git a/include/asm-ppc64/topology.h b/include/asm-ppc64/topology.h
index ecc6cab2895e..0e3f3aece9eb 100644
--- a/include/asm-ppc64/topology.h
+++ b/include/asm-ppc64/topology.h
@@ -1,6 +1,7 @@
#ifndef _ASM_PPC64_TOPOLOGY_H
#define _ASM_PPC64_TOPOLOGY_H
+#include <linux/config.h>
#include <asm/mmzone.h>
#ifdef CONFIG_NUMA
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index e2e9b9f1c2c9..ba94052020f0 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1235,6 +1235,7 @@
#define PCI_VENDOR_ID_XIRCOM 0x115d
#define PCI_DEVICE_ID_XIRCOM_X3201_ETH 0x0003
+#define PCI_DEVICE_ID_XIRCOM_RBM56G 0x0101
#define PCI_DEVICE_ID_XIRCOM_X3201_MDM 0x0103
#define PCI_VENDOR_ID_RENDITION 0x1163
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 3412f8b7f2ce..80ba519dda77 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -208,12 +208,11 @@ struct uart_state {
#define USF_CLOSING_WAIT_NONE (65535)
int count;
+ int pm_state;
struct uart_info *info;
struct uart_port *port;
-#ifdef CONFIG_PM
- struct pm_dev *pm;
-#endif
+ struct semaphore sem;
};
#define UART_XMIT_SIZE 1024
@@ -224,8 +223,6 @@ struct uart_state {
* stuff here.
*/
struct uart_info {
- struct uart_port *port;
- struct uart_state *state;
struct tty_struct *tty;
struct circ_buf xmit;
unsigned int flags;
@@ -237,7 +234,6 @@ struct uart_info {
*/
#define UIF_CHECK_CD (1 << 25)
#define UIF_CTS_FLOW (1 << 26)
-#define UIF_CLOSING (1 << 27)
#define UIF_NORMAL_ACTIVE (1 << 29)
#define UIF_INITIALIZED (1 << 31)
@@ -307,6 +303,12 @@ int uart_register_port(struct uart_driver *reg, struct uart_port *port);
int uart_add_one_port(struct uart_driver *reg, struct uart_port *port);
int uart_remove_one_port(struct uart_driver *reg, struct uart_port *port);
+/*
+ * Power Management
+ */
+int uart_suspend_port(struct uart_driver *reg, struct uart_port *port, u32 level);
+int uart_resume_port(struct uart_driver *reg, struct uart_port *port, u32 level);
+
#define uart_circ_empty(circ) ((circ)->head == (circ)->tail)
#define uart_circ_clear(circ) ((circ)->head = (circ)->tail = 0)