Print this page
Changes to enable driver to compile.
Header paths, object lists, etc.

@@ -19,11 +19,12 @@
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#       This makefile drives the production of the mpt_sas driver kernel module.
+#       This makefile drives the production of the mpt_sas3 driver
+#       kernel module.
 #
 #       intel architecture dependent
 #
 
 #

@@ -32,16 +33,16 @@
 UTSBASE   = ../../../../src/uts
 
 #
 #       Define the module and object file sets.
 #
-MODULE          = mpt_sas
-OBJECTS         = $(MPTSAS_OBJS:%=$(OBJS_DIR)/%)
-LINTS           = $(MPTSAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
+MODULE          = mpt_sas3
+OBJECTS         = $(MPTSAS3_OBJS:%=$(OBJS_DIR)/%)
+LINTS           = $(MPTSAS3_OBJS:%.o=$(LINTS_DIR)/%.ln)
 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
-CONF_SRCDIR     = $(UTSBASE)/common/io/scsi/adapters/mpt_sas/
-WARLOCK_OUT     = $(MPTSAS_OBJS:%.o=%.ll)
+CONF_SRCDIR     = $(UTSBASE)/common/io/scsi/adapters/mpt_sas3/
+WARLOCK_OUT     = $(MPTSAS3_OBJS:%.o=%.ll)
 WARLOCK_OK      = $(MODULE).ok
 WLCMD_DIR       = $(UTSBASE)/common/io/warlock
 
 #
 #       Kernel Module Dependencies

@@ -114,11 +115,11 @@
         $(SCSI_FILES) \
         $(UTSBASE)/intel/warlock/scsi.ll \
         -l $(UTSBASE)/intel/warlock/ddi_dki_impl.ll
         $(TOUCH) $@
 
-%.ll: $(UTSBASE)/common/io/scsi/adapters/mpt_sas/%.c
+%.ll: $(UTSBASE)/common/io/scsi/adapters/mpt_sas3/%.c
         $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
 
 warlock_ddi.files:
         @cd $(UTSBASE)/intel/warlock; pwd; $(MAKE) warlock