osd_unix.h (87816) | osd_unix.h (87826) |
---|---|
1/* $FreeBSD: head/sys/dev/asr/osd_unix.h 87816 2001-12-13 19:54:12Z jhb $ */ | |
2/* 3 * Copyright (c) 1996-1999 Distributed Processing Technology Corporation 4 * All rights reserved. 5 * 6 * Redistribution and use in source form, with or without modification, are 7 * permitted provided that redistributions of source code must retain the 8 * above copyright notice, this list of conditions and the following disclaimer. 9 * --- 4 unchanged lines hidden (view full) --- 14 * liable for any direct, indirect, incidental, special, exemplary or 15 * consequential damages (including, but not limited to, procurement of 16 * substitute goods or services; loss of use, data, or profits; or business 17 * interruptions) however caused and on any theory of liability, whether in 18 * contract, strict liability, or tort (including negligence or otherwise) 19 * arising in any way out of the use of this driver software, even if advised 20 * of the possibility of such damage. 21 * | 1/* 2 * Copyright (c) 1996-1999 Distributed Processing Technology Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source form, with or without modification, are 6 * permitted provided that redistributions of source code must retain the 7 * above copyright notice, this list of conditions and the following disclaimer. 8 * --- 4 unchanged lines hidden (view full) --- 13 * liable for any direct, indirect, incidental, special, exemplary or 14 * consequential damages (including, but not limited to, procurement of 15 * substitute goods or services; loss of use, data, or profits; or business 16 * interruptions) however caused and on any theory of liability, whether in 17 * contract, strict liability, or tort (including negligence or otherwise) 18 * arising in any way out of the use of this driver software, even if advised 19 * of the possibility of such damage. 20 * |
21 * $FreeBSD: head/sys/dev/asr/osd_unix.h 87826 2001-12-13 23:48:34Z obrien $ |
|
22 */ 23 24#ifndef __OSD_UNIX_H 25#define __OSD_UNIX_H 26 27/*File - OSD_UNIX.H */ 28/*****************************************************************************/ 29/* */ --- 106 unchanged lines hidden (view full) --- 136 } DptReadConfig_t; 137 138#if defined ( _DPT_SOLARIS ) 139 140#include <sys/types.h> 141#include <sys/ddidmareq.h> 142#include <sys/mutex.h> 143#include <sys/scsi/scsi.h> | 22 */ 23 24#ifndef __OSD_UNIX_H 25#define __OSD_UNIX_H 26 27/*File - OSD_UNIX.H */ 28/*****************************************************************************/ 29/* */ --- 106 unchanged lines hidden (view full) --- 136 } DptReadConfig_t; 137 138#if defined ( _DPT_SOLARIS ) 139 140#include <sys/types.h> 141#include <sys/ddidmareq.h> 142#include <sys/mutex.h> 143#include <sys/scsi/scsi.h> |
144//#define _KERNEL | 144/*#define _KERNEL */ |
145#include <sys/dditypes.h> 146#include <sys/ddi_impldefs.h> 147#include <sys/scsi/impl/transport.h> | 145#include <sys/dditypes.h> 146#include <sys/ddi_impldefs.h> 147#include <sys/scsi/impl/transport.h> |
148//#undef _KERNEL | 148/* #undef _KERNEL */ |
149 150#undef MSG_DISCONNECT 151#define MSG_DISCONNECT 0x11L 152 153#define EATAUSRCMD 1 154#define DPT_SIGNATURE 2 155#define DPT_NUMCTRLS 3 156#define DPT_CTRLINFO 4 157#define DPT_SYSINFO 5 158#define DPT_BLINKLED 6 159#define I2OUSRCMD 7 | 149 150#undef MSG_DISCONNECT 151#define MSG_DISCONNECT 0x11L 152 153#define EATAUSRCMD 1 154#define DPT_SIGNATURE 2 155#define DPT_NUMCTRLS 3 156#define DPT_CTRLINFO 4 157#define DPT_SYSINFO 5 158#define DPT_BLINKLED 6 159#define I2OUSRCMD 7 |
160//#define I2ORESCANCMD 8 /* Use DPT_IO_ACCESS instead */ 161//#define I2ORESETCMD 9 /* Use DPT_IO_ACCESS instead */ | 160/* #define I2ORESCANCMD 8 */ /* Use DPT_IO_ACCESS instead */ 161/* #define I2ORESETCMD 9 */ /* Use DPT_IO_ACCESS instead */ |
162 163#define DPT_MAX_DMA_SEGS 32 /* Max used Scatter/Gather seg */ 164 165struct dpt_sg { 166 paddr_t data_addr; 167 uLONG data_len; 168 }; 169 --- 419 unchanged lines hidden --- | 162 163#define DPT_MAX_DMA_SEGS 32 /* Max used Scatter/Gather seg */ 164 165struct dpt_sg { 166 paddr_t data_addr; 167 uLONG data_len; 168 }; 169 --- 419 unchanged lines hidden --- |