Commit 680b47b9 authored by Andy Grover's avatar Andy Grover

Merge groveronline.com:/root/bk/linux-2.5

into groveronline.com:/root/bk/linux-acpi
parents 6f82ddaf 42382f86
VERSION = 2 VERSION = 2
PATCHLEVEL = 5 PATCHLEVEL = 5
SUBLEVEL = 65 SUBLEVEL = 66
EXTRAVERSION = EXTRAVERSION =
# *DOCUMENTATION* # *DOCUMENTATION*
......
...@@ -12,7 +12,7 @@ static char rcsid[] = ...@@ -12,7 +12,7 @@ static char rcsid[] =
* *
* Initially written by Randolph Bentson <bentson@grieg.seaslug.org>. * Initially written by Randolph Bentson <bentson@grieg.seaslug.org>.
* Modified and maintained by Marcio Saito <marcio@cyclades.com>. * Modified and maintained by Marcio Saito <marcio@cyclades.com>.
* Currently maintained by Ivan Passos <ivan@cyclades.com>. * Currently maintained by Henrique Gobbi <henrique.gobbi@cyclades.com>.
* *
* For Technical support and installation problems, please send e-mail * For Technical support and installation problems, please send e-mail
* to support@cyclades.com. * to support@cyclades.com.
...@@ -883,9 +883,7 @@ static void cyz_poll(unsigned long); ...@@ -883,9 +883,7 @@ static void cyz_poll(unsigned long);
static long cyz_polling_cycle = CZ_DEF_POLL; static long cyz_polling_cycle = CZ_DEF_POLL;
static int cyz_timeron = 0; static int cyz_timeron = 0;
static struct timer_list cyz_timerlist = { static struct timer_list cyz_timerlist = TIMER_INITIALIZER(cyz_poll, 0, 0);
.function = cyz_poll
};
#else /* CONFIG_CYZ_INTR */ #else /* CONFIG_CYZ_INTR */
static void cyz_rx_restart(unsigned long); static void cyz_rx_restart(unsigned long);
......
This diff is collapsed.
/* /*
* include/linux/eventpoll.h ( Efficent event polling implementation ) * include/linux/eventpoll.h ( Efficent event polling implementation )
* Copyright (C) 2001,...,2002 Davide Libenzi * Copyright (C) 2001,...,2003 Davide Libenzi
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
#define EPOLL_CTL_DEL 2 #define EPOLL_CTL_DEL 2
#define EPOLL_CTL_MOD 3 #define EPOLL_CTL_MOD 3
/* Set the Edge Triggered behaviour for the target file descriptor */
#define EPOLLET (1 << 31)
struct epoll_event { struct epoll_event {
__u32 events; __u32 events;
__u64 data; __u64 data;
......
...@@ -99,7 +99,7 @@ static int debug = 0; /* debugging output */ ...@@ -99,7 +99,7 @@ static int debug = 0; /* debugging output */
#ifdef DDB #ifdef DDB
#undef DDB #undef DDB
#endif #endif
#define DDB(x) {if (debug) x;} #define DDB(x) do {if (debug) x;} while (0)
static unsigned char mad_read(int port) static unsigned char mad_read(int port)
{ {
...@@ -278,7 +278,8 @@ static int __init detect_mad16(void) ...@@ -278,7 +278,8 @@ static int __init detect_mad16(void)
} }
for (i = 0xf8d; i <= 0xf98; i++) for (i = 0xf8d; i <= 0xf98; i++)
if (!c924pnp) if (!c924pnp)
DDB(printk("Port %0x (init value) = %0x\n", i, mad_read(i))) else DDB(printk("Port %0x (init value) = %0x\n", i, mad_read(i)));
else
DDB(printk("Port %0x (init value) = %0x\n", i-0x80, mad_read(i))); DDB(printk("Port %0x (init value) = %0x\n", i-0x80, mad_read(i)));
if (board_type == C930) if (board_type == C930)
......
...@@ -137,7 +137,7 @@ static inline int translate_mode(struct file *file) ...@@ -137,7 +137,7 @@ static inline int translate_mode(struct file *file)
#endif #endif
#ifndef DDB #ifndef DDB
#define DDB(x) {} #define DDB(x) do {} while (0)
#endif #endif
#ifndef MDB #ifndef MDB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment