summaryrefslogtreecommitdiffstats
path: root/sys/pc98/include
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-11-27 16:22:19 +0000
committermarius <marius@FreeBSD.org>2011-11-27 16:22:19 +0000
commit0fa74f406f34f12d7f74a1d862daa4904be6ac71 (patch)
tree33efc5946f7918ba76a2133f4532ca64ec7ec233 /sys/pc98/include
parent335e36fbb5abf448cd21b0f7f1c0c727804e997e (diff)
downloadFreeBSD-src-0fa74f406f34f12d7f74a1d862daa4904be6ac71.zip
FreeBSD-src-0fa74f406f34f12d7f74a1d862daa4904be6ac71.tar.gz
Move the scsi_da_bios_params() prototype from pc98_machdep.h to md_var.h
where the prototype for pc98_ata_disk_firmware_geom_adjust() also lives in order to avoid an #ifdef'ed include in cam(4).
Diffstat (limited to 'sys/pc98/include')
-rw-r--r--sys/pc98/include/md_var.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/include/md_var.h b/sys/pc98/include/md_var.h
index 8a3e53a..fe881ba 100644
--- a/sys/pc98/include/md_var.h
+++ b/sys/pc98/include/md_var.h
@@ -39,10 +39,10 @@ extern int need_pre_dma_flush;
extern int need_post_dma_flush;
/*
- * The ad driver maps the IDE disk's actual geometry to the firmware's
- * notion of geometry. However, PC98 machines need to do something
- * different sometimes, so override the hook so we can do so.
+ * The geometry of disks might need adjustment on PC98 machines.
*/
+struct ccb_calc_geometry;
+int scsi_da_bios_params(struct ccb_calc_geometry *);
struct disk;
void pc98_ata_disk_firmware_geom_adjust(struct disk *);
#define ata_disk_firmware_geom_adjust(disk) \
OpenPOWER on IntegriCloud