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