OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [char/] [ftape/] [zftape/] [zftape_syms.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 *      Copyright (C) 1997 Claus-Justus Heine
3
 
4
 This program is free software; you can redistribute it and/or modify
5
 it under the terms of the GNU General Public License as published by
6
 the Free Software Foundation; either version 2, or (at your option)
7
 any later version.
8
 
9
 This program is distributed in the hope that it will be useful,
10
 but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 GNU General Public License for more details.
13
 
14
 You should have received a copy of the GNU General Public License
15
 along with this program; see the file COPYING.  If not, write to
16
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
17
 
18
 *
19
 * $Source: /home/marcus/revision_ctrl_test/oc_cvs/cvs/or1k/linux/linux-2.4/drivers/char/ftape/zftape/zftape_syms.c,v $
20
 * $Revision: 1.1.1.1 $
21
 * $Date: 2004-04-15 02:02:32 $
22
 *
23
 *      This file contains the symbols that the zftape frontend to
24
 *      the ftape floppy tape driver exports
25
 */
26
 
27
#define __NO_VERSION__
28
#include <linux/module.h>
29
 
30
#include <linux/zftape.h>
31
 
32
#include "../zftape/zftape-init.h"
33
#include "../zftape/zftape-read.h"
34
#include "../zftape/zftape-buffers.h"
35
#include "../zftape/zftape-ctl.h"
36
 
37
#if LINUX_VERSION_CODE >= KERNEL_VER(2,1,18)
38
# define FT_KSYM(sym) EXPORT_SYMBOL(sym);
39
#else
40
# define FT_KSYM(sym) X(sym),
41
#endif
42
 
43
#if LINUX_VERSION_CODE < KERNEL_VER(2,1,18)
44
struct symbol_table zft_symbol_table = {
45
#include <linux/symtab_begin.h>
46
#endif
47
/* zftape-init.c */
48
FT_KSYM(zft_cmpr_register)
49
FT_KSYM(zft_cmpr_unregister)
50
/* zftape-read.c */
51
FT_KSYM(zft_fetch_segment_fraction)
52
/* zftape-buffers.c */
53
FT_KSYM(zft_vmalloc_once)
54
FT_KSYM(zft_vmalloc_always)
55
FT_KSYM(zft_vfree)
56
#if LINUX_VERSION_CODE < KERNEL_VER(2,1,18)
57
#include <linux/symtab_end.h>
58
};
59
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.