import of ftp.dlink.com/GPL/DSMG-600_reB/ppclinux.tar.gz
[linux-2.4.21-pre4.git] / drivers / char / ftape / lowlevel / ftape_syms.c
1 /*
2  *      Copyright (C) 1996-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: /cvshome/samwise/ppclinux/drivers/char/ftape/lowlevel/ftape_syms.c,v $
20  * $Revision: 1.1.1.1 $
21  * $Date: 2005/04/11 02:50:20 $
22  *
23  *      This file contains the symbols that the ftape low level
24  *      part of the QIC-40/80/3010/3020 floppy-tape driver "ftape"
25  *      exports to it's high level clients
26  */
27
28 #include <linux/config.h>
29 #define __NO_VERSION__
30 #include <linux/module.h>
31
32 #include <linux/ftape.h>
33 #include "../lowlevel/ftape-tracing.h"
34 #include "../lowlevel/ftape-init.h"
35 #include "../lowlevel/fdc-io.h"
36 #include "../lowlevel/ftape-read.h"
37 #include "../lowlevel/ftape-write.h"
38 #include "../lowlevel/ftape-io.h"
39 #include "../lowlevel/ftape-ctl.h"
40 #include "../lowlevel/ftape-rw.h"
41 #include "../lowlevel/ftape-bsm.h"
42 #include "../lowlevel/ftape-buffer.h"
43 #include "../lowlevel/ftape-format.h"
44
45 #if LINUX_VERSION_CODE >= KERNEL_VER(2,1,18)
46 # define FT_KSYM(sym) EXPORT_SYMBOL(sym);
47 #else
48 # define FT_KSYM(sym) X(sym),
49 #endif
50
51 #if LINUX_VERSION_CODE < KERNEL_VER(2,1,18)
52 struct symbol_table ftape_symbol_table = {
53 #include <linux/symtab_begin.h>
54 #endif
55 /* bad sector handling from ftape-bsm.c */
56 FT_KSYM(ftape_get_bad_sector_entry)
57 FT_KSYM(ftape_find_end_of_bsm_list)
58 /* from ftape-rw.c */
59 FT_KSYM(ftape_set_state)
60 /* from ftape-ctl.c */
61 FT_KSYM(ftape_seek_to_bot)
62 FT_KSYM(ftape_seek_to_eot)
63 FT_KSYM(ftape_abort_operation)
64 FT_KSYM(ftape_get_status)
65 FT_KSYM(ftape_enable)
66 FT_KSYM(ftape_disable)
67 FT_KSYM(ftape_mmap)
68 FT_KSYM(ftape_calibrate_data_rate)
69 /* from ftape-io.c */
70 FT_KSYM(ftape_reset_drive)
71 FT_KSYM(ftape_command)
72 FT_KSYM(ftape_parameter)
73 FT_KSYM(ftape_ready_wait)
74 FT_KSYM(ftape_report_operation)
75 FT_KSYM(ftape_report_error)
76 /* from ftape-read.c */
77 FT_KSYM(ftape_read_segment_fraction)
78 FT_KSYM(ftape_zap_read_buffers)
79 FT_KSYM(ftape_read_header_segment)
80 FT_KSYM(ftape_decode_header_segment)
81 /* from ftape-write.c */
82 FT_KSYM(ftape_write_segment)
83 FT_KSYM(ftape_start_writing)
84 FT_KSYM(ftape_loop_until_writes_done)
85 /* from ftape-buffer.h */
86 FT_KSYM(ftape_set_nr_buffers)
87 /* from ftape-format.h */
88 FT_KSYM(ftape_format_track)
89 FT_KSYM(ftape_format_status)
90 FT_KSYM(ftape_verify_segment)
91 /* from tracing.c */
92 #ifndef CONFIG_FT_NO_TRACE_AT_ALL
93 FT_KSYM(ftape_tracing)
94 FT_KSYM(ftape_function_nest_level)
95 FT_KSYM(ftape_trace_call)
96 FT_KSYM(ftape_trace_exit)
97 FT_KSYM(ftape_trace_log)
98 #endif
99 /* end of ksym table */
100 #if LINUX_VERSION_CODE < KERNEL_VER(2,1,18)
101 #include <linux/symtab_end.h>
102 };
103 #endif