isp_freebsd.h (237210) | isp_freebsd.h (237537) |
---|---|
1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 237210 2012-06-17 21:39:40Z mjacob $ */ | 1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 237537 2012-06-24 17:30:54Z mjacob $ */ |
2/*- 3 * Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions 4 * 5 * Copyright (c) 1997-2008 by Matthew Jacob 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 47 unchanged lines hidden (view full) --- 57#include <cam/cam_debug.h> 58#include <cam/scsi/scsi_all.h> 59#include <cam/scsi/scsi_message.h> 60 61#include "opt_ddb.h" 62#include "opt_isp.h" 63 64#define ISP_PLATFORM_VERSION_MAJOR 7 | 2/*- 3 * Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions 4 * 5 * Copyright (c) 1997-2008 by Matthew Jacob 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 47 unchanged lines hidden (view full) --- 57#include <cam/cam_debug.h> 58#include <cam/scsi/scsi_all.h> 59#include <cam/scsi/scsi_message.h> 60 61#include "opt_ddb.h" 62#include "opt_isp.h" 63 64#define ISP_PLATFORM_VERSION_MAJOR 7 |
65#define ISP_PLATFORM_VERSION_MINOR 0 | 65#define ISP_PLATFORM_VERSION_MINOR 10 |
66 67/* 68 * Efficiency- get rid of SBus code && tests unless we need them. 69 */ 70#ifdef __sparc64__ 71#define ISP_SBUS_SUPPORTED 1 72#else 73#define ISP_SBUS_SUPPORTED 0 --- 14 unchanged lines hidden (view full) --- 88 89#include <dev/isp/isp_target.h> 90 91typedef struct { 92 void * next; 93 uint32_t orig_datalen; 94 uint32_t bytes_xfered; 95 uint32_t last_xframt; | 66 67/* 68 * Efficiency- get rid of SBus code && tests unless we need them. 69 */ 70#ifdef __sparc64__ 71#define ISP_SBUS_SUPPORTED 1 72#else 73#define ISP_SBUS_SUPPORTED 0 --- 14 unchanged lines hidden (view full) --- 88 89#include <dev/isp/isp_target.h> 90 91typedef struct { 92 void * next; 93 uint32_t orig_datalen; 94 uint32_t bytes_xfered; 95 uint32_t last_xframt; |
96 uint32_t tag; | 96 uint32_t tag; /* typically f/w RX_ID */ |
97 uint32_t lun; 98 uint32_t nphdl; 99 uint32_t sid; 100 uint32_t portid; | 97 uint32_t lun; 98 uint32_t nphdl; 99 uint32_t sid; 100 uint32_t portid; |
101 uint16_t rxid; /* wire rxid */ 102 uint16_t oxid; /* wire oxid */ |
|
101 uint32_t | 103 uint32_t |
102 oxid : 16, | |
103 cdb0 : 8, 104 : 1, 105 dead : 1, 106 tattr : 3, 107 state : 3; 108} atio_private_data_t; 109#define ATPD_STATE_FREE 0 110#define ATPD_STATE_ATIO 1 --- 591 unchanged lines hidden --- | 104 cdb0 : 8, 105 : 1, 106 dead : 1, 107 tattr : 3, 108 state : 3; 109} atio_private_data_t; 110#define ATPD_STATE_FREE 0 111#define ATPD_STATE_ATIO 1 --- 591 unchanged lines hidden --- |