xref: /freebsd/sys/modules/isci/Makefile (revision 4c9a0adad18263ec8725d9bfc5f560c6ad1da8bd)
1# isci driver Makefile
2#
3
4ISCI_SRC_PATH = ${SRCTOP}/sys
5
6.PATH:  ${ISCI_SRC_PATH}/dev/isci ${ISCI_SRC_PATH}/dev/isci/scil
7
8KMOD    = isci
9SRCS    = isci.c isci_oem_parameters.c \
10		isci_controller.c isci_domain.c isci_io_request.c \
11		isci_timer.c isci_remote_device.c isci_logger.c \
12		isci_task_request.c isci_sysctl.c isci_interrupt.c
13
14SRCS += \
15		sci_base_controller.c \
16		sci_base_domain.c \
17		sci_base_iterator.c \
18		sci_base_library.c \
19		sci_base_logger.c \
20		sci_base_memory_descriptor_list.c \
21		sci_base_memory_descriptor_list_decorator.c \
22		sci_base_object.c \
23		sci_base_observer.c \
24		sci_base_phy.c \
25		sci_base_port.c \
26		sci_base_remote_device.c \
27	 	sci_base_request.c \
28		sci_base_state_machine.c \
29		sci_base_state_machine_logger.c \
30		sci_base_state_machine_observer.c \
31		sci_base_subject.c
32
33SRCS += \
34		sci_abstract_list.c \
35		sci_util.c
36
37SRCS += \
38		scic_sds_controller.c \
39		scic_sds_library.c scic_sds_pci.c \
40		scic_sds_phy.c scic_sds_port.c \
41		scic_sds_port_configuration_agent.c \
42		scic_sds_remote_device.c scic_sds_remote_node_context.c \
43		scic_sds_remote_node_table.c scic_sds_request.c \
44		scic_sds_sgpio.c scic_sds_smp_remote_device.c \
45		scic_sds_smp_request.c scic_sds_ssp_request.c \
46		scic_sds_stp_packet_request.c scic_sds_stp_remote_device.c \
47		scic_sds_stp_request.c scic_sds_unsolicited_frame_control.c
48
49SRCS += \
50		scif_sas_controller.c \
51		scif_sas_controller_state_handlers.c \
52		scif_sas_controller_states.c scif_sas_domain.c \
53		scif_sas_domain_state_handlers.c scif_sas_domain_states.c \
54		scif_sas_high_priority_request_queue.c \
55		scif_sas_internal_io_request.c scif_sas_io_request.c \
56		scif_sas_io_request_state_handlers.c \
57		scif_sas_io_request_states.c scif_sas_library.c \
58		scif_sas_remote_device.c \
59		scif_sas_remote_device_ready_substate_handlers.c \
60		scif_sas_remote_device_ready_substates.c \
61		scif_sas_remote_device_starting_substate_handlers.c \
62		scif_sas_remote_device_starting_substates.c \
63		scif_sas_remote_device_state_handlers.c \
64		scif_sas_remote_device_states.c scif_sas_request.c \
65		scif_sas_smp_activity_clear_affiliation.c \
66		scif_sas_smp_io_request.c scif_sas_smp_phy.c \
67		scif_sas_smp_remote_device.c scif_sas_stp_io_request.c \
68		scif_sas_stp_remote_device.c scif_sas_stp_task_request.c \
69		scif_sas_task_request.c scif_sas_task_request_state_handlers.c \
70		scif_sas_task_request_states.c scif_sas_timer.c
71
72SRCS += \
73		sati.c \
74		sati_abort_task_set.c sati_atapi.c \
75		sati_device.c sati_inquiry.c sati_log_sense.c \
76		sati_lun_reset.c sati_mode_pages.c sati_mode_select.c \
77		sati_mode_sense.c sati_mode_sense_6.c sati_mode_sense_10.c \
78		sati_move.c sati_passthrough.c sati_read.c sati_read_buffer.c \
79		sati_read_capacity.c  \
80		sati_report_luns.c sati_request_sense.c sati_reassign_blocks.c \
81		sati_start_stop_unit.c sati_synchronize_cache.c \
82		sati_test_unit_ready.c sati_unmap.c sati_util.c \
83		sati_verify.c sati_write.c  \
84		sati_write_buffer.c sati_write_long.c sati_write_and_verify.c
85
86SRCS += opt_scsi.h opt_cam.h opt_isci.h
87SRCS += device_if.h bus_if.h pci_if.h
88
89.include <bsd.kmod.mk>
90
91CWARNFLAGS+=	${NO_WUNUSED_BUT_SET_VARIABLE}
92