mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
20 lines
674 B
C
20 lines
674 B
C
|
/*
|
||
|
* scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
|
||
|
*
|
||
|
* Copyright 1993, 1994 Drew Eckhardt
|
||
|
* Visionary Computing
|
||
|
* (Unix and Linux consulting and custom programming)
|
||
|
* drew@Colorado.EDU
|
||
|
* +1 (303) 786-7975
|
||
|
*
|
||
|
* For more information, please consult the SCSI-CAM draft.
|
||
|
*/
|
||
|
|
||
|
#ifndef SCSICAM_H
|
||
|
#define SCSICAM_H
|
||
|
extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip);
|
||
|
extern int scsi_partsize(unsigned char *buf, unsigned long capacity,
|
||
|
unsigned int *cyls, unsigned int *hds, unsigned int *secs);
|
||
|
extern unsigned char *scsi_bios_ptable(struct block_device *bdev);
|
||
|
#endif /* def SCSICAM_H */
|