Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/include/scsi/scsicam.h
26285 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
/*
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
* [email protected]
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
16
int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
17
bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
18
unsigned char *scsi_bios_ptable(struct block_device *bdev);
19
#endif /* def SCSICAM_H */
20
21