1
2 #include <linux/autoconf.h>
3
4
5
6
7
8 #ifndef MODULE
9 #error Go away.
10 #endif
11
12
13
14
15
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
40
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 ,
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
76
77 X(scsi_hostlist),
78 X(scsi_hosts),
79 X(scsi_devicelist),
80 X(scsi_devices),
81
82
83
84
85
86 #include <linux/symtab_end.h>
87 };