1*301d732bSRobert Mustacchi# 2*301d732bSRobert Mustacchi# CDDL HEADER START 3*301d732bSRobert Mustacchi# 4*301d732bSRobert Mustacchi# The contents of this file are subject to the terms of the 5*301d732bSRobert Mustacchi# Common Development and Distribution License (the "License"). 6*301d732bSRobert Mustacchi# You may not use this file except in compliance with the License. 7*301d732bSRobert Mustacchi# 8*301d732bSRobert Mustacchi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*301d732bSRobert Mustacchi# or http://www.opensolaris.org/os/licensing. 10*301d732bSRobert Mustacchi# See the License for the specific language governing permissions 11*301d732bSRobert Mustacchi# and limitations under the License. 12*301d732bSRobert Mustacchi# 13*301d732bSRobert Mustacchi# When distributing Covered Code, include this CDDL HEADER in each 14*301d732bSRobert Mustacchi# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*301d732bSRobert Mustacchi# If applicable, add the following below this CDDL HEADER, with the 16*301d732bSRobert Mustacchi# fields enclosed by brackets "[]" replaced with your own identifying 17*301d732bSRobert Mustacchi# information: Portions Copyright [yyyy] [name of copyright owner] 18*301d732bSRobert Mustacchi# 19*301d732bSRobert Mustacchi# CDDL HEADER END 20*301d732bSRobert Mustacchi# 21*301d732bSRobert Mustacchi# 22*301d732bSRobert Mustacchi# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*301d732bSRobert Mustacchi# Use is subject to license terms. 24*301d732bSRobert Mustacchi# 25*301d732bSRobert Mustacchi# Copyright 2020 Joyent, Inc. 26*301d732bSRobert Mustacchi# 27*301d732bSRobert Mustacchi 28*301d732bSRobert MustacchiMODULE = disk 29*301d732bSRobert MustacchiCLASS = common 30*301d732bSRobert Mustacchi 31*301d732bSRobert MustacchiMODULESRCS = disk.c disk_common.c disk_mptsas.c disk_nvme.c 32*301d732bSRobert Mustacchi 33*301d732bSRobert Mustacchiinclude ../../../Makefile.plugin 34*301d732bSRobert Mustacchi 35*301d732bSRobert MustacchiCPPFLAGS += -I$(SRC)/uts/common -I../../../common/ufm 36*301d732bSRobert Mustacchi 37*301d732bSRobert MustacchiLDLIBS += -ldevinfo -ldevid -lcfgadm -ldiskstatus -ldiskmgt -lnvme 38