From a3901de2088afec601854c5fee55d06868a3c20f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 18 Aug 2008 11:03:03 +0000 Subject: [PATCH] * Build fix: this should have been part of the last commit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27030 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/drivers/scsi_periph.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/headers/private/drivers/scsi_periph.h b/headers/private/drivers/scsi_periph.h index f8a2027e00..ccfaae9d45 100644 --- a/headers/private/drivers/scsi_periph.h +++ b/headers/private/drivers/scsi_periph.h @@ -47,14 +47,6 @@ typedef struct err_res { res; \ }) -// device icon type -typedef enum { - icon_type_disk, - icon_type_removal, - icon_type_floppy, - icon_type_cd -} icon_type; - // cookie issued by driver to identify itself //typedef struct periph_info *periph_cookie; // cookie issued by driver per device @@ -133,16 +125,12 @@ typedef struct scsi_periph_interface { // returns: B_OK, B_DEV_MEDIA_CHANGE_REQUESTED, B_NO_MEMORY or // pending error reported by handle_get_error status_t (*get_media_status)(scsi_periph_handle handle); + // synchronizes (flush) the device cache + err_res(*synchronize_cache)(scsi_periph_device device, scsi_ccb *request); // compose device name consisting of prefix and path/target/LUN // (result must be freed by caller) char *(*compose_device_name)(device_node *device_node, const char *prefix); - - // fill data with icon (for B_GET_ICON ioctl) - status_t (*get_icon)(icon_type type, device_icon *data); - - // synchronizes (flush) the device cache - err_res(*synchronize_cache)(scsi_periph_device device, scsi_ccb *request); } scsi_periph_interface; #define SCSI_PERIPH_MODULE_NAME "generic/scsi_periph/v1"