/include/scsi/scsicam.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35 · C++ Header · 19 lines · 7 code · 1 blank · 11 comment · 0 complexity · 1aef6f1ddc8772dbdc4b7ab1917fe3e1 MD5 · raw file

  1. /*
  2. * scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
  3. *
  4. * Copyright 1993, 1994 Drew Eckhardt
  5. * Visionary Computing
  6. * (Unix and Linux consulting and custom programming)
  7. * drew@Colorado.EDU
  8. * +1 (303) 786-7975
  9. *
  10. * For more information, please consult the SCSI-CAM draft.
  11. */
  12. #ifndef SCSICAM_H
  13. #define SCSICAM_H
  14. extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip);
  15. extern int scsi_partsize(unsigned char *buf, unsigned long capacity,
  16. unsigned int *cyls, unsigned int *hds, unsigned int *secs);
  17. extern unsigned char *scsi_bios_ptable(struct block_device *bdev);
  18. #endif /* def SCSICAM_H */