• Home
  • Raw
  • Download

Lines Matching +full:linux +full:- +full:no +full:- +full:asm

1 /* @file plustek-pp_sysdep.h
3 * kernel-versions some stuff is maybe not relevant, but anyway...
5 * Copyright (C) 2000-2013 Gerhard Jaeger <gerhard@gjaeger.de>
8 * 0.30 - initial version
9 * 0.38 - added this header
10 * 0.39 - added kernel 2.4 stuff
11 * 0.40 - added slab.h/malloc.h stuff for kernel >= 2.4.17
12 * 0.41 - no changes
13 * 0.42 - added _GET_TIME
14 * - added LINUX_26 for new kernel
15 * - added _MINOR
16 * 0.43 - added class functions
17 * 0.44 - added support for kernel >= 2.6.35 and 3.x
41 * License. Your use of that executable is in no way restricted on
61 # include <linux/version.h>
81 # include <linux/device.h>
89 # include <linux/sched.h>
93 #include <linux/types.h> /* used later in this header */
127 # include <linux/poll.h>
132 /* Other change in the fops are solved using pseudo-types */
165 # include <asm/segment.h>
181 # include <asm/uaccess.h>
182 # include <asm/io.h>
191 /* starting with 2.4.0-test8, they removed the put_user_ret and get_user_ret
215 # define INCRCOUNT(p) ((p)->module ? __MOD_INC_USE_COUNT((p)->module) : 0)
216 # define CURRCOUNT(p) ((p)->module && (p)->module->usecount)
217 # define DECRCOUNT(p) ((p)->module ? __MOD_DEC_USE_COUNT((p)->module) : 0)
219 # define INCRCOUNT(p) ((p)->use_count++)
220 # define CURRCOUNT(p) ((p)->use_count)
221 # define DECRCOUNT(p) ((p)->use_count--)
224 /* register_dynamic no more existent -- just have 0 as inum */
245 # include <asm/byteorder.h>
298 * somewhere from 2.4.18-pre9 they skipped get_fast_time...
301 # include "linux/malloc.h"
304 # include "linux/slab.h"
311 # define _MINOR(p) minor(p->i_rdev)
337 #else /* LINUX 2.6.0 - 2.6.14 */
339 #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13) /* LINUX 2.6.13 - 2.6.14 */
344 #else /* LINUX 2.6.0 - 2.6.12, class_simple */
360 /* END PLUSTEK-PP_SYSDEP.H ..................................................*/