/*
 * wd33c93.h
 *
 */

#ifndef _WD33C93_H_
#define _WD33C93_H_

#include "machine/scsidev.h"

struct WD33C93interface
{
	SCSIConfigTable *scsidevs;		/* SCSI devices */
	void (*irq_callback)(int state);	/* irq callback */
};

extern void wd33c93_init( struct WD33C93interface *interface );
extern void wd33c93_read_data(int bytes, data8_t *pData);
extern void wd33c93_write_data(int bytes, data8_t *pData);
extern void *wd33c93_get_device(int id);
extern void wd33c93_set_device(int id, void *);
extern void wd33c93_clear_dma(void);
extern int wd33c93_get_dma_count(void);
extern READ8_HANDLER(wd33c93_r);
extern WRITE8_HANDLER(wd33c93_w);

#endif
