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 "scsi_ioctl.h"
35 #include "hosts.h"
36 #include "constants.h"
37
38 #include "sd.h"
39
40
41
42
43 extern int scsicam_bios_param (Disk * disk,
44 int dev, int *ip );
45
46
47 extern void print_command (unsigned char *command);
48 extern void print_sense(const char * devclass, Scsi_Cmnd * SCpnt);
49
50 struct symbol_table scsi_symbol_table = {
51 #include <linux/symtab_begin.h>
52 #ifdef CONFIG_MODVERSIONS
53 { (void *)1 ,
54 SYMBOL_NAME_STR(Using_Versions) },
55 #endif
56 X(scsi_register_module),
57 X(scsi_unregister_module),
58 X(scsi_free),
59 X(scsi_malloc),
60 X(scsi_register),
61 X(scsi_unregister),
62 X(scsicam_bios_param),
63 X(allocate_device),
64 X(scsi_do_cmd),
65 X(scsi_command_size),
66 X(scsi_init_malloc),
67 X(scsi_init_free),
68 X(scsi_ioctl),
69 X(print_command),
70 X(print_sense),
71 X(dma_free_sectors),
72 X(kernel_scsi_ioctl),
73 X(need_isa_buffer),
74 X(request_queueable),
75 #if defined(CONFIG_PROC_FS)
76 X(proc_print_scsidevice),
77 #endif
78
79
80
81 X(scsi_hostlist),
82 X(scsi_hosts),
83 X(scsi_devicelist),
84 X(scsi_devices),
85
86
87
88
89
90 #include <linux/symtab_end.h>
91 };