The Linux SCSI programming HOWTO
The Linux SCSI programming HOWTO
Heiko Eißfeldt heiko@colossus.escape.dev1.5, 7 May 1996This document deals with programming the Linux generic SCSI interface.1. What's New?2. Introduction3. What Is The Generic SCSI Interface?4. What Are The Requirements To Use It?4.1 Kernel Configuration4.2 Device Files4.3 Device Mapping5. Programmers Guide6. Overview Of Device Programming7. Opening The Device8. The Header Structure9. Inquiry Command Example10. The Sense Buffer11. Example Using Sense Buffer12. Ioctl Functions13. Driver Defaults13.1 Transfer Lengths13.2 Timeout And Retry Values14. Obtaining The Scsi Specifications15. Related Information Sources15.1 HOWTOs and FAQs15.2 Mailing list15.3 Example code16. Other useful stuff16.1 Device driver writer helpers16.2 Utilities17. Other SCSI Access Interfaces18. Final Comments19. Acknowledgments
Appendix20. Appendix21. Error handling21.1 Error status decoding21.2 Status codes21.3 SCSI Sense Keys21.4 Host codes21.5 Driver codes22. Additional sense codes and additional sense code qualifiers22.1 ASC and ASCQ in lexical order22.2 ASC and ASCQ in numerical order23. A SCSI command code quick reference24. Example programs
s