Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/cam_xpt_periph.h
Show All 34 Lines | |||||
#ifndef _CAM_CAM_XPT_PERIPH_H | #ifndef _CAM_CAM_XPT_PERIPH_H | ||||
#define _CAM_CAM_XPT_PERIPH_H 1 | #define _CAM_CAM_XPT_PERIPH_H 1 | ||||
#include <cam/cam_queue.h> | #include <cam/cam_queue.h> | ||||
#include <cam/cam_xpt.h> | #include <cam/cam_xpt.h> | ||||
/* Functions accessed by the peripheral drivers */ | /* Functions accessed by the peripheral drivers */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
void xpt_polled_action(union ccb *ccb); | |||||
void xpt_release_ccb(union ccb *released_ccb); | void xpt_release_ccb(union ccb *released_ccb); | ||||
void xpt_schedule(struct cam_periph *perph, u_int32_t new_priority); | void xpt_schedule(struct cam_periph *perph, u_int32_t new_priority); | ||||
int32_t xpt_add_periph(struct cam_periph *periph); | int32_t xpt_add_periph(struct cam_periph *periph); | ||||
void xpt_remove_periph(struct cam_periph *periph); | void xpt_remove_periph(struct cam_periph *periph); | ||||
void xpt_announce_periph(struct cam_periph *periph, | void xpt_announce_periph(struct cam_periph *periph, | ||||
char *announce_string); | char *announce_string); | ||||
void xpt_announce_periph_sbuf(struct cam_periph *periph, | void xpt_announce_periph_sbuf(struct cam_periph *periph, | ||||
struct sbuf *sb, | struct sbuf *sb, | ||||
Show All 11 Lines |