Skip to content

Commit

Permalink
isci: merge scu_unsolicited_frame.h into unsolicited_frame_control.h
Browse files Browse the repository at this point in the history
Does not need its own file.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
Dan Williams committed Jul 3, 2011
1 parent 16ba770 commit 4e4dca3
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 120 deletions.
1 change: 0 additions & 1 deletion drivers/scsi/isci/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
#include "registers.h"
#include "scu_remote_node_context.h"
#include "scu_task_context.h"
#include "scu_unsolicited_frame.h"

#define SCU_CONTEXT_RAM_INIT_STALL_TIME 200

Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/isci/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
#include "isci.h"
#include "remote_node_table.h"
#include "registers.h"
#include "scu_unsolicited_frame.h"
#include "unsolicited_frame_control.h"
#include "probe_roms.h"

Expand Down
117 changes: 0 additions & 117 deletions drivers/scsi/isci/scu_unsolicited_frame.h

This file was deleted.

45 changes: 44 additions & 1 deletion drivers/scsi/isci/unsolicited_frame_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,50 @@
#define _SCIC_SDS_UNSOLICITED_FRAME_CONTROL_H_

#include "isci.h"
#include "scu_unsolicited_frame.h"

#define SCU_UNSOLICITED_FRAME_HEADER_DATA_DWORDS 15

/**
* struct scu_unsolicited_frame_header -
*
* This structure delineates the format of an unsolicited frame header. The
* first DWORD are UF attributes defined by the silicon architecture. The data
* depicts actual header information received on the link.
*/
struct scu_unsolicited_frame_header {
/**
* This field indicates if there is an Initiator Index Table entry with
* which this header is associated.
*/
u32 iit_exists:1;

/**
* This field simply indicates the protocol type (i.e. SSP, STP, SMP).
*/
u32 protocol_type:3;

/**
* This field indicates if the frame is an address frame (IAF or OAF)
* or if it is a information unit frame.
*/
u32 is_address_frame:1;

/**
* This field simply indicates the connection rate at which the frame
* was received.
*/
u32 connection_rate:4;

u32 reserved:23;

/**
* This field represents the actual header data received on the link.
*/
u32 data[SCU_UNSOLICITED_FRAME_HEADER_DATA_DWORDS];

};



/**
* enum unsolicited_frame_state -
Expand Down

0 comments on commit 4e4dca3

Please sign in to comment.