^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright 1993, 1994 Drew Eckhardt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Visionary Computing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * (Unix and Linux consulting and custom programming)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * drew@Colorado.EDU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * +1 (303) 786-7975
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) * For more information, please consult the SCSI-CAM draft.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #ifndef SCSICAM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define SCSICAM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) unsigned char *scsi_bios_ptable(struct block_device *bdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #endif /* def SCSICAM_H */