scsi_syms.c
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:3k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  * We should not even be trying to compile this if we are not doing
  3.  * a module.
  4.  */
  5. #define __NO_VERSION__
  6. #include <linux/config.h>
  7. #include <linux/module.h>
  8. #include <linux/sched.h>
  9. #include <linux/timer.h>
  10. #include <linux/string.h>
  11. #include <linux/slab.h>
  12. #include <linux/ioport.h>
  13. #include <linux/kernel.h>
  14. #include <linux/blk.h>
  15. #include <linux/fs.h>
  16. #include <asm/system.h>
  17. #include <asm/irq.h>
  18. #include <asm/dma.h>
  19. #include "scsi.h"
  20. #include <scsi/scsi_ioctl.h>
  21. #include "hosts.h"
  22. #include "constants.h"
  23. #include "sd.h"
  24. #include <scsi/scsicam.h>
  25. /*
  26.  * This source file contains the symbol table used by scsi loadable
  27.  * modules.
  28.  */
  29. EXPORT_SYMBOL(scsi_register_module);
  30. EXPORT_SYMBOL(scsi_unregister_module);
  31. EXPORT_SYMBOL(scsi_free);
  32. EXPORT_SYMBOL(scsi_malloc);
  33. EXPORT_SYMBOL(scsi_register);
  34. EXPORT_SYMBOL(scsi_unregister);
  35. EXPORT_SYMBOL(scsicam_bios_param);
  36. EXPORT_SYMBOL(scsi_partsize);
  37. EXPORT_SYMBOL(scsi_allocate_device);
  38. EXPORT_SYMBOL(scsi_do_cmd);
  39. EXPORT_SYMBOL(scsi_command_size);
  40. EXPORT_SYMBOL(scsi_ioctl);
  41. EXPORT_SYMBOL(print_command);
  42. EXPORT_SYMBOL(print_sense);
  43. EXPORT_SYMBOL(print_req_sense);
  44. EXPORT_SYMBOL(print_msg);
  45. EXPORT_SYMBOL(print_status);
  46. EXPORT_SYMBOL(scsi_dma_free_sectors);
  47. EXPORT_SYMBOL(kernel_scsi_ioctl);
  48. EXPORT_SYMBOL(scsi_need_isa_buffer);
  49. EXPORT_SYMBOL(scsi_release_command);
  50. EXPORT_SYMBOL(print_Scsi_Cmnd);
  51. EXPORT_SYMBOL(scsi_block_when_processing_errors);
  52. EXPORT_SYMBOL(scsi_mark_host_reset);
  53. EXPORT_SYMBOL(scsi_ioctl_send_command);
  54. #if defined(CONFIG_SCSI_LOGGING) /* { */
  55. EXPORT_SYMBOL(scsi_logging_level);
  56. #endif
  57. EXPORT_SYMBOL(scsi_allocate_request);
  58. EXPORT_SYMBOL(scsi_release_request);
  59. EXPORT_SYMBOL(scsi_wait_req);
  60. EXPORT_SYMBOL(scsi_do_req);
  61. EXPORT_SYMBOL(scsi_report_bus_reset);
  62. EXPORT_SYMBOL(scsi_block_requests);
  63. EXPORT_SYMBOL(scsi_unblock_requests);
  64. EXPORT_SYMBOL(scsi_get_host_dev);
  65. EXPORT_SYMBOL(scsi_free_host_dev);
  66. EXPORT_SYMBOL(scsi_sleep);
  67. EXPORT_SYMBOL(proc_print_scsidevice);
  68. EXPORT_SYMBOL(proc_scsi);
  69. EXPORT_SYMBOL(scsi_io_completion);
  70. EXPORT_SYMBOL(scsi_end_request);
  71. EXPORT_SYMBOL(scsi_register_blocked_host);
  72. EXPORT_SYMBOL(scsi_deregister_blocked_host);
  73. /*
  74.  * These are here only while I debug the rest of the scsi stuff.
  75.  */
  76. EXPORT_SYMBOL(scsi_hostlist);
  77. EXPORT_SYMBOL(scsi_hosts);
  78. EXPORT_SYMBOL(scsi_devicelist);
  79. EXPORT_SYMBOL(scsi_device_types);
  80. /*
  81.  * Externalize timers so that HBAs can safely start/restart commands.
  82.  */
  83. extern void scsi_add_timer(Scsi_Cmnd *, int, void ((*) (Scsi_Cmnd *)));
  84. extern int scsi_delete_timer(Scsi_Cmnd *);
  85. EXPORT_SYMBOL(scsi_add_timer);
  86. EXPORT_SYMBOL(scsi_delete_timer);