root/drivers/scsi/scsi_syms.c

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

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