freebsd-dev/sys/gnu/scsi/scsi_nic.h
Jordan K. Hubbard e316b1a9de An ISDN driver that supports the EDSS1 and the 1TR6 ISDN interfaces.
EDSS1 is the "Euro-ISDN", 1TR6 is the soon obsolete german ISDN Interface.
Obtained from: Dietmar Friede <dfriede@drnhh.neuhaus.de> and
	Juergen Krause <jkr@saarlink.de>

This is only one part - the rest to follow in a couple of hours.
This part is a benign import, since it doesn't affect anything else.
1995-02-14 15:00:39 +00:00

54 lines
1.2 KiB
C

static char rcsid[] = "@(#)$Id: scsi_nic.h,v 1.1 1995/01/25 14:06:18 jkr Exp jkr $";
/*******************************************************************************
* II - Version 0.1 $Revision: 1.1 $ $State: Exp $
*
* Copyright 1994 Dietmar Friede
*******************************************************************************
* Bug reports, patches, comments, suggestions should be sent to:
*
* jkr@saarlink.de or jkrause@guug.de
*
*******************************************************************************
* $Log: scsi_nic.h,v $
*
******************************************************************************/
/*
* This file defines the NICCY 5000 Interface.
* Copyright Dr. Neuhaus GmbH, Hamburg and Dietmar Friede
*
*/
#define GET_MSG_COMMAND 0x08
#define PUT_MSG_COMMAND 0x0a
#pragma pack (1)
struct scsi_msg
{
u_char op_code;
u_char dummy;
u_char len[3];
u_char control;
};
typedef struct
{
unsigned char Type;
unsigned char SubType;
unsigned short Number ;
unsigned char MoreData ;
unsigned char Reserved[1] ;
unsigned short DataLen ;
unsigned short PLCI;
} Header;
#define SNIC_BUF_SIZE 2048+15
typedef struct
{
Header h;
unsigned char Data[SNIC_BUF_SIZE];
} Buffer;
#pragma pack ()