summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun/io
diff options
context:
space:
mode:
authorBayard Bell <buffer.g.overflow@gmail.com>2011-09-15 18:27:52 +0100
committerBayard Bell <buffer.g.overflow@gmail.com>2011-09-15 18:27:52 +0100
commit89b43686db1fe9681d80a7cf5662730cb9378cae (patch)
tree6febacd926efb6c58bf500d08334a48f0114afe3 /usr/src/uts/sun/io
parentb5f3c6ffe7f93e6132a702a851a69b5ecd78c066 (diff)
downloadillumos-joyent-89b43686db1fe9681d80a7cf5662730cb9378cae.tar.gz
1073 migrate kernel modules from ancient _depends_on to true ELF dependencies
Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/sun/io')
-rw-r--r--usr/src/uts/sun/io/scsi/adapters/fas.c3
-rw-r--r--usr/src/uts/sun/io/scsi/adapters/sf.c4
-rw-r--r--usr/src/uts/sun/io/zs_hdlc.c4
3 files changed, 3 insertions, 8 deletions
diff --git a/usr/src/uts/sun/io/scsi/adapters/fas.c b/usr/src/uts/sun/io/scsi/adapters/fas.c
index 06816a06ed..12e3aa3102 100644
--- a/usr/src/uts/sun/io/scsi/adapters/fas.c
+++ b/usr/src/uts/sun/io/scsi/adapters/fas.c
@@ -21,6 +21,7 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -382,8 +383,6 @@ static struct dev_ops fas_ops = {
ddi_quiesce_not_supported, /* devo_quiesce */
};
-char _depends_on[] = "misc/scsi";
-
static struct modldrv modldrv = {
&mod_driverops, /* Type of module. This one is a driver */
"FAS SCSI HBA Driver", /* Name of the module. */
diff --git a/usr/src/uts/sun/io/scsi/adapters/sf.c b/usr/src/uts/sun/io/scsi/adapters/sf.c
index 57e486d7cb..8bd12cd74e 100644
--- a/usr/src/uts/sun/io/scsi/adapters/sf.c
+++ b/usr/src/uts/sun/io/scsi/adapters/sf.c
@@ -21,6 +21,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -212,9 +213,6 @@ static struct dev_ops sf_ops = {
ddi_quiesce_not_supported, /* devo_quiesce */
};
-/* to ensure this module gets loaded in memory when we do */
-char _depends_on[] = "misc/scsi";
-
#define SF_NAME "FC-AL FCP Nexus Driver" /* Name of the module. */
static char sf_version[] = "1.72 08/19/2008"; /* version of the module */
diff --git a/usr/src/uts/sun/io/zs_hdlc.c b/usr/src/uts/sun/io/zs_hdlc.c
index 99a41283af..229747ec03 100644
--- a/usr/src/uts/sun/io/zs_hdlc.c
+++ b/usr/src/uts/sun/io/zs_hdlc.c
@@ -21,6 +21,7 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -135,9 +136,6 @@ int zsh_h_log_n[2];
}
#endif
-
-char _depends_on[] = "drv/zs";
-
#ifndef MAXZSH
#define MAXZSH 2
#define MAXZSHCLONES (80) /* three clone opens per instance */