blob: 08edd603e521433e4a7a466eaeb0346f2c85a7ba [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
4 *
5 * Copyright 1993, 1994 Drew Eckhardt
6 * Visionary Computing
7 * (Unix and Linux consulting and custom programming)
8 * drew@Colorado.EDU
9 * +1 (303) 786-7975
10 *
11 * For more information, please consult the SCSI-CAM draft.
12 */
13
14#ifndef SCSICAM_H
15#define SCSICAM_H
Christoph Hellwiga10183d2020-03-24 08:25:17 +010016int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
17bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
18unsigned char *scsi_bios_ptable(struct block_device *bdev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#endif /* def SCSICAM_H */