Commit 88f3b62a authored by Dan Williams's avatar Dan Williams

isci: move remote_device handling out of the core

Now that the core/lldd remote_device data structures are nominally unified
merge the corresponding sources into the top-level directory.  Also move the
remote_node_context infrastructure which has no analog at the lldd level.
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 57f20f4e
...@@ -10,20 +10,19 @@ obj-$(CONFIG_SCSI_ISCI) += isci.o ...@@ -10,20 +10,19 @@ obj-$(CONFIG_SCSI_ISCI) += isci.o
isci-objs := init.o phy.o request.o sata.o \ isci-objs := init.o phy.o request.o sata.o \
remote_device.o port.o timers.o \ remote_device.o port.o timers.o \
host.o task.o probe_roms.o \ host.o task.o probe_roms.o \
stp_remote_device.o \
smp_remote_device.o \
remote_node_context.o \
remote_node_table.o \
core/scic_sds_controller.o \ core/scic_sds_controller.o \
core/scic_sds_remote_device.o \
core/scic_sds_request.o \ core/scic_sds_request.o \
core/scic_sds_stp_request.o \ core/scic_sds_stp_request.o \
core/scic_sds_stp_packet_request.o \ core/scic_sds_stp_packet_request.o \
core/scic_sds_stp_remote_device.o \
core/scic_sds_port.o \ core/scic_sds_port.o \
core/scic_sds_port_configuration_agent.o \ core/scic_sds_port_configuration_agent.o \
core/scic_sds_phy.o \ core/scic_sds_phy.o \
core/scic_sds_ssp_request.o \ core/scic_sds_ssp_request.o \
core/scic_sds_remote_node_context.o \
core/scic_sds_smp_request.o \ core/scic_sds_smp_request.o \
core/scic_sds_smp_remote_device.o \
core/scic_sds_remote_node_table.o \
core/scic_sds_unsolicited_frame_control.o \ core/scic_sds_unsolicited_frame_control.o \
core/sci_base_state_machine.o \ core/sci_base_state_machine.o \
core/sci_util.o core/sci_util.o
This diff is collapsed.
...@@ -57,13 +57,12 @@ ...@@ -57,13 +57,12 @@
#include "scic_controller.h" #include "scic_controller.h"
#include "scic_phy.h" #include "scic_phy.h"
#include "scic_port.h" #include "scic_port.h"
#include "scic_remote_device.h"
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scu_registers.h" #include "scu_registers.h"
#include "scic_sds_phy.h" #include "scic_sds_phy.h"
#include "scic_sds_port_configuration_agent.h" #include "scic_sds_port_configuration_agent.h"
#include "scic_sds_port.h" #include "scic_sds_port.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_request.h" #include "scic_sds_request.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "sci_util.h" #include "sci_util.h"
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
#include "scic_config_parameters.h" #include "scic_config_parameters.h"
#include "scic_sds_port.h" #include "scic_sds_port.h"
#include "scic_sds_phy.h" #include "scic_sds_phy.h"
#include "scic_sds_remote_node_table.h" #include "remote_node_table.h"
#include "scu_registers.h" #include "scu_registers.h"
#include "scu_constants.h" #include "scu_constants.h"
#include "scu_remote_node_context.h" #include "scu_remote_node_context.h"
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scic_sds_phy.h" #include "scic_sds_phy.h"
#include "scic_sds_port.h" #include "scic_sds_port.h"
#include "scic_sds_remote_node_context.h" #include "remote_node_context.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "sci_util.h" #include "sci_util.h"
#include "scu_event_codes.h" #include "scu_event_codes.h"
......
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scic_sds_phy.h" #include "scic_sds_phy.h"
#include "scic_sds_port.h" #include "scic_sds_port.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_remote_node_context.h" #include "remote_node_context.h"
#include "scic_sds_request.h" #include "scic_sds_request.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "scu_registers.h" #include "scu_registers.h"
......
This diff is collapsed.
This diff is collapsed.
...@@ -59,11 +59,10 @@ ...@@ -59,11 +59,10 @@
#include "intel_sat.h" #include "intel_sat.h"
#include "scic_controller.h" #include "scic_controller.h"
#include "scic_io_request.h" #include "scic_io_request.h"
#include "scic_remote_device.h"
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scu_registers.h" #include "scu_registers.h"
#include "scic_sds_port.h" #include "scic_sds_port.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_request.h" #include "scic_sds_request.h"
#include "scic_sds_smp_request.h" #include "scic_sds_smp_request.h"
#include "scic_sds_stp_request.h" #include "scic_sds_stp_request.h"
......
...@@ -56,9 +56,8 @@ ...@@ -56,9 +56,8 @@
#include "intel_sas.h" #include "intel_sas.h"
#include "sci_base_state_machine.h" #include "sci_base_state_machine.h"
#include "scic_controller.h" #include "scic_controller.h"
#include "scic_remote_device.h"
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_request.h" #include "scic_sds_request.h"
#include "scic_sds_smp_request.h" #include "scic_sds_smp_request.h"
#include "sci_environment.h" #include "sci_environment.h"
......
...@@ -61,9 +61,8 @@ ...@@ -61,9 +61,8 @@
#include "sati_translator_sequence.h" #include "sati_translator_sequence.h"
#include "sci_base_state.h" #include "sci_base_state.h"
#include "scic_controller.h" #include "scic_controller.h"
#include "scic_remote_device.h"
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_request.h" #include "scic_sds_request.h"
#include "scic_sds_stp_packet_request.h" #include "scic_sds_stp_packet_request.h"
#include "scic_user_callback.h" #include "scic_user_callback.h"
......
...@@ -60,9 +60,8 @@ ...@@ -60,9 +60,8 @@
#include "sci_base_state.h" #include "sci_base_state.h"
#include "sci_base_state_machine.h" #include "sci_base_state_machine.h"
#include "scic_io_request.h" #include "scic_io_request.h"
#include "scic_remote_device.h"
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_request.h" #include "scic_sds_request.h"
#include "scic_sds_stp_pio_request.h" #include "scic_sds_stp_pio_request.h"
#include "scic_sds_stp_request.h" #include "scic_sds_stp_request.h"
......
...@@ -55,14 +55,12 @@ ...@@ -55,14 +55,12 @@
#include "isci.h" #include "isci.h"
#include "scic_io_request.h" #include "scic_io_request.h"
#include "scic_remote_device.h"
#include "scic_port.h" #include "scic_port.h"
#include "port.h" #include "port.h"
#include "request.h" #include "request.h"
#include "host.h" #include "host.h"
#include "probe_roms.h" #include "probe_roms.h"
#include "core/scic_sds_controller.h" #include "scic_sds_controller.h"
irqreturn_t isci_msix_isr(int vec, void *data) irqreturn_t isci_msix_isr(int vec, void *data)
{ {
......
...@@ -61,7 +61,6 @@ ...@@ -61,7 +61,6 @@
/*#include "task.h"*/ /*#include "task.h"*/
#include "timers.h" #include "timers.h"
#include "remote_device.h" #include "remote_device.h"
#include "scic_remote_device.h"
#define DRV_NAME "isci" #define DRV_NAME "isci"
#define SCI_PCI_BAR_COUNT 2 #define SCI_PCI_BAR_COUNT 2
......
...@@ -62,7 +62,6 @@ ...@@ -62,7 +62,6 @@
#include "isci.h" #include "isci.h"
#include "task.h" #include "task.h"
#include "sci_controller_constants.h" #include "sci_controller_constants.h"
#include "scic_remote_device.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "probe_roms.h" #include "probe_roms.h"
......
...@@ -63,7 +63,6 @@ ...@@ -63,7 +63,6 @@
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include "isci.h" #include "isci.h"
#include "scic_io_request.h" #include "scic_io_request.h"
#include "scic_remote_device.h"
#include "scic_phy.h" #include "scic_phy.h"
#include "scic_sds_phy.h" #include "scic_sds_phy.h"
#include "scic_port.h" #include "scic_port.h"
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
struct isci_phy; struct isci_phy;
struct isci_host; struct isci_host;
struct scic_sds_phy;
enum isci_status { enum isci_status {
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "isci.h" #include "isci.h"
#include "task.h" #include "task.h"
#include "sci_controller_constants.h" #include "sci_controller_constants.h"
#include "scic_remote_device.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "probe_roms.h" #include "probe_roms.h"
......
This diff is collapsed.
This diff is collapsed.
...@@ -54,11 +54,10 @@ ...@@ -54,11 +54,10 @@
*/ */
#include "sci_base_state_machine.h" #include "sci_base_state_machine.h"
#include "scic_remote_device.h"
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scic_sds_port.h" #include "scic_sds_port.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_remote_node_context.h" #include "remote_node_context.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "sci_util.h" #include "sci_util.h"
#include "scu_event_codes.h" #include "scu_event_codes.h"
......
...@@ -61,8 +61,8 @@ ...@@ -61,8 +61,8 @@
*/ */
#include "sci_util.h" #include "sci_util.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "scic_sds_remote_node_table.h" #include "remote_node_table.h"
#include "scic_sds_remote_node_context.h" #include "remote_node_context.h"
/** /**
* *
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
*/ */
#include "isci.h" #include "isci.h"
#include "scic_remote_device.h"
#include "scic_io_request.h" #include "scic_io_request.h"
#include "scic_task_request.h" #include "scic_task_request.h"
#include "scic_port.h" #include "scic_port.h"
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
#include "isci.h" #include "isci.h"
#include "scic_remote_device.h" #include "remote_device.h"
#include "scic_sds_remote_device.h"
#include "scic_io_request.h" #include "scic_io_request.h"
#include "scic_task_request.h" #include "scic_task_request.h"
#include "task.h" #include "task.h"
......
...@@ -53,10 +53,9 @@ ...@@ -53,10 +53,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "scic_remote_device.h"
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scic_sds_port.h" #include "scic_sds_port.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_request.h" #include "scic_sds_request.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "sci_util.h" #include "sci_util.h"
......
...@@ -57,10 +57,9 @@ ...@@ -57,10 +57,9 @@
#include "intel_sata.h" #include "intel_sata.h"
#include "intel_sat.h" #include "intel_sat.h"
#include "sci_base_state.h" #include "sci_base_state.h"
#include "scic_remote_device.h"
#include "scic_sds_controller.h" #include "scic_sds_controller.h"
#include "scic_sds_port.h" #include "scic_sds_port.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_request.h" #include "scic_sds_request.h"
#include "sci_environment.h" #include "sci_environment.h"
#include "sci_util.h" #include "sci_util.h"
......
...@@ -56,10 +56,9 @@ ...@@ -56,10 +56,9 @@
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/irqflags.h> #include <linux/irqflags.h>
#include "scic_task_request.h" #include "scic_task_request.h"
#include "scic_remote_device.h"
#include "scic_io_request.h" #include "scic_io_request.h"
#include "scic_sds_remote_device.h" #include "remote_device.h"
#include "scic_sds_remote_node_context.h" #include "remote_node_context.h"
#include "isci.h" #include "isci.h"
#include "request.h" #include "request.h"
#include "sata.h" #include "sata.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment