mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-01 04:41:38 +00:00
af4e3dfe80
* Translate code comments * Remove documentation that is contained in wiki * Translate code comments * Remove documentation that is contained in wiki * Translate configuration file * Remove documentation that is covered by wiki * Translate code comments * Translate strings and code comments * Cleanup
41 lines
1.1 KiB
C
41 lines
1.1 KiB
C
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI (*^..^*)
|
|
// for Raspberry Pi
|
|
//
|
|
// Powered by XM6 TypeG Technology.
|
|
// Copyright (C) 2016-2017 GIMONS
|
|
// [ RaSCSI Ethernet SCSI Control Department ]
|
|
//
|
|
// Based on
|
|
// Neptune-X board driver for Human-68k(ESP-X) version 0.03
|
|
// Programed 1996-7 by Shi-MAD.
|
|
// Special thanks to Niggle, FIRST, yamapu ...
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#ifndef scsictl_h
|
|
#define scsictl_h
|
|
|
|
// Global variables
|
|
extern int intr_type;
|
|
extern int poll_interval;
|
|
|
|
// Transfer counter
|
|
struct trans_counter {
|
|
unsigned int send_byte;
|
|
unsigned int recv_byte;
|
|
};
|
|
extern struct trans_counter trans_counter;
|
|
|
|
extern int SearchRaSCSI();
|
|
extern int InitRaSCSI(void);
|
|
extern int GetMacAddr(struct eaddr* buf);
|
|
extern int SetMacAddr(const struct eaddr* data);
|
|
extern int SetPacketReception(int i);
|
|
extern int SendPacket(int len, const unsigned char* data);
|
|
extern void RegisterIntProcess(int n);
|
|
extern void UpdateIntProcess(int n);
|
|
|
|
#endif // scsictl_h
|