bc5c96748a
Remove the insane infrastructure for preallocating coheren DMA regions, and just allocate the memory where needed. This also gets rid of the aligment adjustments given that Documentation/DMA-API-HOWTO.txt sais: "The cpu return address and the DMA bus master address are both guaranteed to be aligned to the smallest PAGE_SIZE order which is greater than or equal to the requested size. This invariant exists (for example) to guarantee that if you allocate a chunk which is smaller than or equal to 64 kilobytes, the extent of the buffer you receive will not cross a 64K boundary." Signed-off-by: Christoph Hellwig <hch@lst.de> [djbw: moved allocation from start to init, re-add memset] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
30 lines
1.0 KiB
Makefile
30 lines
1.0 KiB
Makefile
#TODO kill SCIC_SDS_4_ENABLED it is always true for this
|
|
#generation of silicon
|
|
EXTRA_CFLAGS += -DSCIC_SDS_4_ENABLED
|
|
|
|
#temporary until atapi support ready
|
|
EXTRA_CFLAGS += -DDISABLE_ATAPI
|
|
|
|
EXTRA_CFLAGS += -Idrivers/scsi/isci/core/ -Idrivers/scsi/isci/
|
|
obj-$(CONFIG_SCSI_ISCI) += isci.o
|
|
isci-objs := init.o phy.o request.o sata.o \
|
|
remote_device.o port.o timers.o \
|
|
host.o task.o probe_roms.o \
|
|
core/scic_sds_controller.o \
|
|
core/scic_sds_remote_device.o \
|
|
core/scic_sds_request.o \
|
|
core/scic_sds_stp_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_configuration_agent.o \
|
|
core/scic_sds_phy.o \
|
|
core/scic_sds_ssp_request.o \
|
|
core/scic_sds_remote_node_context.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/sci_base_state_machine.o \
|
|
core/sci_util.o
|