Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
0004  *
0005  * Copyright 1993, 1994 Drew Eckhardt
0006  *      Visionary Computing 
0007  *      (Unix and Linux consulting and custom programming)
0008  *      drew@Colorado.EDU
0009  *  +1 (303) 786-7975
0010  *
0011  * For more information, please consult the SCSI-CAM draft.
0012  */
0013 
0014 #ifndef SCSICAM_H
0015 #define SCSICAM_H
0016 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
0017 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
0018 unsigned char *scsi_bios_ptable(struct block_device *bdev);
0019 #endif /* def SCSICAM_H */