GENERIC SCSI INTERFACE PROGRAMMING HOWTO

Heiko Eißfeldt heiko@colossus.escape.de


This document deals with programming the Linux generic SCSI interface.

1. Introduction

2. What Is The Generic SCSI Interface?

3. What Are The Requirements To Use It?

4. Programmers Guide

5. Overview Of Device Programming

6. Opening The Device

7. The Header Structure

8. Inquiry Command Example

9. The Sense Buffer

10. Example Using Sense Buffer

11. Ioctl Functions

12. Driver Defaults

13. Obtaining The Scsi Specifications

14. Related Information Sources

15. Other SCSI Access Interfaces

16. Final Comments

17. Acknowledgments

Appendix

18. Appendix

19. Error handling

20. Additional sense codes and additional sense code qualifiers

21. A SCSI command code quick reference