18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright 1993, 1994 Drew Eckhardt
68c2ecf20Sopenharmony_ci *      Visionary Computing
78c2ecf20Sopenharmony_ci *      (Unix and Linux consulting and custom programming)
88c2ecf20Sopenharmony_ci *      drew@Colorado.EDU
98c2ecf20Sopenharmony_ci *	+1 (303) 786-7975
108c2ecf20Sopenharmony_ci *
118c2ecf20Sopenharmony_ci * For more information, please consult the SCSI-CAM draft.
128c2ecf20Sopenharmony_ci */
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#ifndef SCSICAM_H
158c2ecf20Sopenharmony_ci#define SCSICAM_H
168c2ecf20Sopenharmony_ciint scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
178c2ecf20Sopenharmony_cibool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
188c2ecf20Sopenharmony_ciunsigned char *scsi_bios_ptable(struct block_device *bdev);
198c2ecf20Sopenharmony_ci#endif /* def SCSICAM_H */
20