Linux Audio

Check our new training course

Loading...
v6.13.7
 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 *      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
16int 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);
 
19#endif /* def SCSICAM_H */
v3.5.6
 
 1/*
 2 * scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
 3 *
 4 * Copyright 1993, 1994 Drew Eckhardt
 5 *      Visionary Computing 
 6 *      (Unix and Linux consulting and custom programming)
 7 *      drew@Colorado.EDU
 8 *	+1 (303) 786-7975
 9 *
10 * For more information, please consult the SCSI-CAM draft.
11 */
12
13#ifndef SCSICAM_H
14#define SCSICAM_H
15extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip);
16extern int scsi_partsize(unsigned char *buf, unsigned long capacity,
17           unsigned int  *cyls, unsigned int *hds, unsigned int *secs);
18extern unsigned char *scsi_bios_ptable(struct block_device *bdev);
19#endif /* def SCSICAM_H */