Skip to content
Permalink
Browse files

4037 sTec S112x support

Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
  • Loading branch information
Joe Beteta authored and rmustacc committed May 31, 2013
1 parent dcf050a commit f52228b83292315dabb975359cdcf9db662845b2
@@ -118,6 +118,7 @@ _MANFILES= aac.7d \
ses.7d \
sfe.7d \
sgen.7d \
skd.7d \
srpt.7d \
st.7d \
sv.7d \
@@ -0,0 +1,25 @@
.\"
.\" This file and its contents are supplied under the terms of the
.\" Common Development and Distribution License ("CDDL"), version 1.0.
.\" You may only use this file in accordance with the terms of version
.\" 1.0 of the CDDL.
.\"
.\" A full copy of the text of the CDDL should have accompanied this
.\" source. A copy of the CDDL is also available via the Internet at
.\" http://www.illumos.org/license/CDDL.
.\"
.\"
.\" Copyright 2014 Nexenta Systems, Inc. All rights reserved.
.\"

.TH SKD 7D "August 10, 2013"
.SH NAME
skd \- sTec S112x PCIe Solid-State Disk driver
.SH DESCRIPTION
.LP
The \fBskd\fR driver uses the \fBblkdev\fR framework to provide a solid-state
disk in \fB/dev/dsk/cNt0d0*\fR from the sTec S112x series of PCIe cards.
.LP
The skd.conf file, in \fB/kernel/drv/skd.conf\fR, contains configuration
parameters for the driver, and are documented there. They are considered an
unstable interface, subject to change without notice.
@@ -0,0 +1,44 @@
#
# CDDL HEADER START
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
# CDDL HEADER END
#

#
# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
#

#
# The default for payload-bearing actions in this package is to appear in the
# global zone only. See the include file for greater detail, as well as
# information about overriding the defaults.
#
<include global_zone_only_component>
set name=pkg.fmri value=pkg:/driver/storage/skd@$(PKGVERS)
set name=pkg.description value="sTec S112x driver"
set name=pkg.summary value="sTec S112x"
set name=info.classification \
value=org.opensolaris.category.2008:System/Hardware
set name=variant.arch value=i386
dir path=kernel group=sys
dir path=kernel/drv group=sys
dir path=kernel/drv/$(ARCH64) group=sys
dir path=usr group=sys
dir path=usr/share
dir path=usr/share/man
dir path=usr/share/man/man7d
driver name=skd alias=pciex1b39,1 class=disk perms="* 0600 root sys"
file path=kernel/drv/$(ARCH64)/skd group=sys
file path=kernel/drv/skd group=sys
file path=kernel/drv/skd.conf group=sys
file path=usr/share/man/man7d/skd.7d
license lic_CDDL license=lic_CDDL
@@ -21,9 +21,9 @@

#
# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
# Copyright (c) 2013 by Delphix. All rights reserved.
# Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
#

#
@@ -1867,6 +1867,8 @@ ATGE_OBJS += atge_main.o atge_l1e.o atge_mii.o atge_l1.o atge_l1c.o

YGE_OBJS = yge.o

SKD_OBJS = skd.o

#
# Build up defines and paths.
#
@@ -21,8 +21,8 @@

#
# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
# Copyright 2013 Garrett D'Amore <garrett@damore.org>
# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
#

#
@@ -1425,6 +1425,10 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/yge/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)

$(OBJS_DIR)/%.o: $(UTSBASE)/common/io/skd/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)

$(OBJS_DIR)/%.o: $(UTSBASE)/common/io/virtio/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
@@ -2703,5 +2707,8 @@ $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/vr/%.c
$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/yge/%.c
@($(LHEAD) $(LINT.c) $< $(LTAIL))

$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/skd/%.c
@($(LHEAD) $(LINT.c) $< $(LTAIL))

$(LINTS_DIR)/%.ln: $(COMMONBASE)/fsreparse/%.c
@($(LHEAD) $(LINT.c) $< $(LTAIL))

0 comments on commit f52228b

Please sign in to comment.
You can’t perform that action at this time.