1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21 22# 23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24# 25 26# 27# This package will install successfully into any zone, global or 28# non-global. The files, directories, links, and hardlinks, however, 29# will only be installed into the global zone. 30# 31<include hollow_zone_pkg> 32set name=pkg.fmri value=pkg:/driver/storage/sdcard@$(PKGVERS) 33set name=pkg.description value="SD/MMC Drivers" 34set name=pkg.summary value="SD/MMC Drivers" 35set name=info.classification value=org.opensolaris.category.2008:Drivers/Storage 36# SUNWsdcard doesn't deliver anything for sparc, but we keep delivering 37# the package on sparc because we can't use direct obsolete support to 38# obsolete only one variant. 39set name=variant.arch value=$(ARCH) 40set name=variant.opensolaris.zone value=global value=nonglobal 41$(i386_ONLY)dir path=kernel group=sys 42$(i386_ONLY)dir path=kernel/drv group=sys 43$(i386_ONLY)dir path=kernel/drv/$(ARCH64) group=sys 44$(i386_ONLY)dir path=kernel/misc group=sys 45$(i386_ONLY)dir path=kernel/misc/$(ARCH64) group=sys 46$(i386_ONLY)driver name=sdhost perms="* 0644 root root" \ 47 alias=pciclass,080500 \ 48 alias=pciclass,080501 49$(i386_ONLY)file path=kernel/drv/$(ARCH64)/sdhost group=sys 50$(i386_ONLY)file path=kernel/drv/sdhost group=sys 51$(i386_ONLY)file path=kernel/misc/$(ARCH64)/sda group=sys mode=0755 \ 52 reboot-needed=true 53$(i386_ONLY)file path=kernel/misc/sda group=sys mode=0755 reboot-needed=true 54$(i386_ONLY)legacy pkg=SUNWsdcard arch=$(ARCH) category=system \ 55 desc="SD/MMC Drivers" hotline="Please contact your local service provider" \ 56 name="SD/MMC Drivers" vendor="Sun Microsystems, Inc." \ 57 version=11.11,REV=2009.11.11 58$(i386_ONLY)license cr_Sun license=cr_Sun 59$(i386_ONLY)license lic_CDDL license=lic_CDDL 60