URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 1765 |
Rev 1782 |
/*
|
/*
|
* scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
|
* scsicam.h - SCSI CAM support functions, use for HDIO_GETGEO, etc.
|
*
|
*
|
* Copyright 1993, 1994 Drew Eckhardt
|
* Copyright 1993, 1994 Drew Eckhardt
|
* Visionary Computing
|
* Visionary Computing
|
* (Unix and Linux consulting and custom programming)
|
* (Unix and Linux consulting and custom programming)
|
* drew@Colorado.EDU
|
* drew@Colorado.EDU
|
* +1 (303) 786-7975
|
* +1 (303) 786-7975
|
*
|
*
|
* For more information, please consult the SCSI-CAM draft.
|
* For more information, please consult the SCSI-CAM draft.
|
*/
|
*/
|
|
|
#ifndef SCSICAM_H
|
#ifndef SCSICAM_H
|
#define SCSICAM_H
|
#define SCSICAM_H
|
#include <linux/kdev_t.h>
|
#include <linux/kdev_t.h>
|
extern int scsicam_bios_param (Disk *disk, kdev_t dev, int *ip);
|
extern int scsicam_bios_param (Disk *disk, kdev_t dev, int *ip);
|
extern int scsi_partsize(struct buffer_head *bh, unsigned long capacity,
|
extern int scsi_partsize(struct buffer_head *bh, unsigned long capacity,
|
unsigned int *cyls, unsigned int *hds, unsigned int *secs);
|
unsigned int *cyls, unsigned int *hds, unsigned int *secs);
|
#endif /* def SCSICAM_H */
|
#endif /* def SCSICAM_H */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.