root/drivers/scsi/scsi_syms.c

/* [previous][next][first][last][top][bottom][index][help] */
   1 
   2 #include <linux/autoconf.h>
   3 
   4 /*
   5  * We should not even be trying to compile this if we are not doing
   6  * a module.
   7  */
   8 #ifndef MODULE
   9 #error Go away.
  10 #endif
  11 
  12 /*
  13  * Even though we are building a module, we need to undef this, since
  14  * we are building a symbol table to be used by other modules.  For
  15  * the symbol table to build properly, we need to undefine this.
  16  */
  17 #undef MODULE
  18 
  19 #include <linux/module.h>
  20 #include <linux/version.h>
  21 
  22 #include <asm/system.h>
  23 #include <linux/sched.h>
  24 #include <linux/timer.h>
  25 #include <linux/string.h>
  26 #include <linux/malloc.h>
  27 #include <asm/irq.h>
  28 #include <asm/dma.h>
  29 #include <linux/ioport.h>
  30 #include <linux/kernel.h>
  31 
  32 #include "../block/blk.h"
  33 #include "scsi.h"
  34 #include "hosts.h"
  35 #include "constants.h"
  36 
  37 #include "sd.h"
  38 /*
  39  * This source file contains the symbol table used by scsi loadable
  40  * modules.
  41  */
  42 
  43 extern void print_command (unsigned char *command);
  44 extern void print_sense(char * devclass, Scsi_Cmnd * SCpnt);
  45 
  46 struct symbol_table scsi_symbol_table = {
  47 #include <linux/symtab_begin.h>
  48 #ifdef CONFIG_MODVERSIONS
  49     { (void *)1 /* Version version :-) */, 
  50         SYMBOL_NAME_STR("Using_Versions") },
  51 #endif
  52     X(scsi_register_module),
  53     X(scsi_unregister_module),
  54     X(scsi_free),
  55     X(scsi_malloc),
  56     X(scsi_register),
  57     X(scsi_unregister),
  58     X(scsicam_bios_param),
  59     X(allocate_device),
  60     X(scsi_do_cmd),
  61     X(scsi_command_size),
  62     X(scsi_init_malloc),
  63     X(scsi_init_free),
  64     X(scsi_ioctl),
  65     X(print_command),
  66     X(print_sense),
  67     X(dma_free_sectors),
  68     X(kernel_scsi_ioctl),
  69     X(need_isa_buffer),
  70     X(request_queueable),
  71 #if defined(CONFIG_PROC_FS)
  72     X(proc_print_scsidevice),
  73 #endif
  74 /*
  75  * These are here only while I debug the rest of the scsi stuff.
  76  */
  77     X(scsi_hostlist),
  78     X(scsi_hosts),
  79     X(scsi_devicelist),
  80     X(scsi_devices),
  81 
  82     /********************************************************
  83      * Do not add anything below this line,
  84      * as the stacked modules depend on this!
  85      */
  86 #include <linux/symtab_end.h>
  87 };

/* [previous][next][first][last][top][bottom][index][help] */