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: /home/user/PROJECT/WL-520gu-NewUI/src/linux/linux/drivers/char/ftape/lowlevel/ftape_syms.c,v $ 20 * $Revision: 1.1.1.1 $ 21 * $Date: 2008/10/15 03:26:29 $ 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) 52struct symbol_table ftape_symbol_table = { 53#include <linux/symtab_begin.h> 54#endif 55/* bad sector handling from ftape-bsm.c */ 56FT_KSYM(ftape_get_bad_sector_entry) 57FT_KSYM(ftape_find_end_of_bsm_list) 58/* from ftape-rw.c */ 59FT_KSYM(ftape_set_state) 60/* from ftape-ctl.c */ 61FT_KSYM(ftape_seek_to_bot) 62FT_KSYM(ftape_seek_to_eot) 63FT_KSYM(ftape_abort_operation) 64FT_KSYM(ftape_get_status) 65FT_KSYM(ftape_enable) 66FT_KSYM(ftape_disable) 67FT_KSYM(ftape_mmap) 68FT_KSYM(ftape_calibrate_data_rate) 69/* from ftape-io.c */ 70FT_KSYM(ftape_reset_drive) 71FT_KSYM(ftape_command) 72FT_KSYM(ftape_parameter) 73FT_KSYM(ftape_ready_wait) 74FT_KSYM(ftape_report_operation) 75FT_KSYM(ftape_report_error) 76/* from ftape-read.c */ 77FT_KSYM(ftape_read_segment_fraction) 78FT_KSYM(ftape_zap_read_buffers) 79FT_KSYM(ftape_read_header_segment) 80FT_KSYM(ftape_decode_header_segment) 81/* from ftape-write.c */ 82FT_KSYM(ftape_write_segment) 83FT_KSYM(ftape_start_writing) 84FT_KSYM(ftape_loop_until_writes_done) 85/* from ftape-buffer.h */ 86FT_KSYM(ftape_set_nr_buffers) 87/* from ftape-format.h */ 88FT_KSYM(ftape_format_track) 89FT_KSYM(ftape_format_status) 90FT_KSYM(ftape_verify_segment) 91/* from tracing.c */ 92#ifndef CONFIG_FT_NO_TRACE_AT_ALL 93FT_KSYM(ftape_tracing) 94FT_KSYM(ftape_function_nest_level) 95FT_KSYM(ftape_trace_call) 96FT_KSYM(ftape_trace_exit) 97FT_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 104