--- a/usr/src/uts/Makefile.uts Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/Makefile.uts Thu Sep 15 18:27:52 2011 +0100
@@ -21,6 +21,7 @@
#
# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
#
@@ -150,7 +151,7 @@
# Note: egrep returns "failure" if there are no matches, which is
# exactly the opposite of what we need.
-LGREP.2 = if egrep -v ' (_init|_fini|_info|_depends_on) '; then false; else true; fi
+LGREP.2 = if egrep -v ' (_init|_fini|_info) '; then false; else true; fi
LTAIL =
--- a/usr/src/uts/common/c2/audit_event.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/c2/audit_event.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,6 +21,7 @@
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -77,9 +78,6 @@
#include <sys/ddi.h>
#include <sys/port_impl.h>
-
-char _depends_on[] = "fs/sockfs";
-
static au_event_t aui_fchownat(au_event_t);
static au_event_t aui_fchmodat(au_event_t);
static au_event_t aui_open(au_event_t);
--- a/usr/src/uts/common/cpr/cpr_mod.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/cpr/cpr_mod.c Thu Sep 15 18:27:52 2011 +0100
@@ -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.
*/
/*
@@ -66,8 +67,6 @@
MODREV_1, (void *)&modlmisc, NULL
};
-char _depends_on[] = "misc/bootdev"; /* i_devname_to_promname() */
-
int cpr_reusable_mode;
kmutex_t cpr_slock; /* cpr serial lock */
--- a/usr/src/uts/common/disp/ia.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/disp/ia.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,10 +21,9 @@
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/param.h>
#include <sys/class.h>
@@ -50,10 +49,6 @@
MODREV_1, (void *)&modlsched, NULL
};
-#ifndef lint
-char _depends_on[] = "sched/TS";
-#endif
-
int
_init()
{
--- a/usr/src/uts/common/exec/aout/aout.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/exec/aout/aout.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,10 +21,9 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
@@ -65,8 +64,6 @@
extern int elf32core(vnode_t *, proc_t *, cred_t *, rlim64_t, int,
core_content_t);
-char _depends_on[] = "exec/elfexec";
-
static struct execsw nesw = {
aout_nmagicstr,
2,
--- a/usr/src/uts/common/fs/autofs/auto_vfsops.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/fs/autofs/auto_vfsops.c Thu Sep 15 18:27:52 2011 +0100
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/param.h>
@@ -109,11 +110,6 @@
};
/*
- * There are not enough stubs for rpcmod so we must force load it
- */
-char _depends_on[] = "strmod/rpcmod misc/rpcsec fs/mntfs";
-
-/*
* This is the module initialization routine.
*/
int
--- a/usr/src/uts/common/fs/cachefs/cachefs_module.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/fs/cachefs/cachefs_module.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,10 +22,9 @@
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/errno.h>
#include <sys/param.h>
#include <sys/types.h>
@@ -89,8 +88,6 @@
MODREV_1, (void *)&modlfs, NULL
};
-char _depends_on[] = "strmod/rpcmod";
-
int
_init(void)
{
--- a/usr/src/uts/common/fs/hsfs/hsfs_vfsops.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/fs/hsfs/hsfs_vfsops.c Thu Sep 15 18:27:52 2011 +0100
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -160,8 +161,6 @@
MODREV_1, (void *)&modlfs, NULL
};
-char _depends_on[] = "fs/specfs";
-
extern void hsched_init_caches(void);
extern void hsched_fini_caches(void);
--- a/usr/src/uts/common/fs/nfs/nfs_common.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/fs/nfs/nfs_common.c Thu Sep 15 18:27:52 2011 +0100
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -195,12 +196,6 @@
};
/*
- * specfs - for getfsname only??
- * rpcmod - too many symbols to build stubs for them all
- */
-char _depends_on[] = "fs/specfs strmod/rpcmod misc/rpcsec";
-
-/*
* This routine is invoked automatically when the kernel module
* containing this routine is loaded. This allows module specific
* initialization to be done when the module is loaded.
--- a/usr/src/uts/common/fs/nfs/nfs_server.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/fs/nfs/nfs_server.c Thu Sep 15 18:27:52 2011 +0100
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -103,8 +104,6 @@
MODREV_1, (void *)&modlmisc, NULL
};
-char _depends_on[] = "misc/klmmod";
-
kmem_cache_t *nfs_xuio_cache;
int nfs_loaned_buffers = 0;
--- a/usr/src/uts/common/fs/udfs/udf_vfsops.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/fs/udfs/udf_vfsops.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,10 +21,9 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/t_lock.h>
#include <sys/param.h>
@@ -144,8 +143,6 @@
MODREV_1, (void *)&modlfs, NULL
};
-char _depends_on[] = "fs/specfs";
-
int32_t udf_fstype = -1;
int
--- a/usr/src/uts/common/gssapi/gssdmod.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/gssapi/gssdmod.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,17 +22,14 @@
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/modctl.h>
#include <sys/errno.h>
#include <gssapi/kgssapi_defs.h>
-char _depends_on[] = "strmod/rpcmod misc/rpcsec misc/tlimod";
-
static struct modlmisc modlmisc = {
&mod_miscops, "in-kernel GSSAPI"
};
--- a/usr/src/uts/common/gssapi/mechs/dummy/dmech.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/gssapi/mechs/dummy/dmech.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,10 +22,9 @@
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* A module that implements a dummy security mechanism.
* It's mainly used to test GSS-API application. Multiple tokens
@@ -33,8 +32,6 @@
* specified through dummy_mech.conf located in /etc.
*/
-char _depends_on[] = "misc/kgssapi";
-
#include <sys/types.h>
#include <sys/modctl.h>
#include <sys/errno.h>
--- a/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,15 +21,12 @@
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*
* A module for Kerberos V5 security mechanism.
*
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-char _depends_on[] = "misc/kgssapi crypto/md5";
-
#include <sys/types.h>
#include <sys/modctl.h>
#include <sys/errno.h>
--- a/usr/src/uts/common/inet/nca/ncaddi.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/inet/nca/ncaddi.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,10 +21,9 @@
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/conf.h>
#include <sys/modctl.h>
@@ -39,8 +38,6 @@
#include "ncaconf.h"
-char _depends_on[] = "fs/sockfs drv/ip";
-
extern caddr_t nca_g_nd; /* Head of 'named dispatch' variable list */
#define INET_NAME "nca"
--- a/usr/src/uts/common/io/emul64.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/emul64.c Thu Sep 15 18:27:52 2011 +0100
@@ -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.
*/
@@ -204,8 +205,6 @@
ddi_quiesce_not_needed, /* quiesce */
};
-char _depends_on[] = "misc/scsi";
-
static struct modldrv modldrv = {
&mod_driverops, /* module type - driver */
"emul64 SCSI Host Bus Adapter", /* module name */
--- a/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2010 Emulex. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -384,14 +385,6 @@
#endif /* EMLXS_MODREV2 */
/*
- * This is needed when the module gets loaded by the kernel
- * so ddi library calls get resolved.
- */
-#ifndef MODSYM_SUPPORT
-char _depends_on[] = "misc/fctl";
-#endif /* MODSYM_SUPPORT */
-
-/*
* state pointer which the implementation uses as a place to
* hang a set of per-driver structures;
*
--- a/usr/src/uts/common/io/lvm/hotspares/hotspares.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/lvm/hotspares/hotspares.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,10 +21,9 @@
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@@ -52,7 +51,6 @@
md_ops_t hotspares_md_ops;
#ifndef lint
-char _depends_on[] = "drv/md";
md_ops_t *md_interface_ops = &hotspares_md_ops;
#endif
--- a/usr/src/uts/common/io/lvm/md/md.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/lvm/md/md.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,6 +21,7 @@
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -75,9 +76,6 @@
#include <sys/priv_names.h>
#include <sys/modhash.h>
-#ifndef lint
-char _depends_on[] = "strmod/rpcmod";
-#endif /* lint */
int md_init_debug = 0; /* module binding debug */
/*
--- a/usr/src/uts/common/io/lvm/mirror/mirror.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/lvm/mirror/mirror.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,6 +21,7 @@
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/param.h>
@@ -60,7 +61,6 @@
md_ops_t mirror_md_ops;
#ifndef lint
-char _depends_on[] = "drv/md";
md_ops_t *md_interface_ops = &mirror_md_ops;
#endif
--- a/usr/src/uts/common/io/lvm/notify/md_notify.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/lvm/notify/md_notify.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,10 +21,9 @@
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/systm.h>
#include <sys/cmn_err.h>
#include <sys/errno.h>
@@ -37,7 +36,6 @@
md_ops_t event_md_ops;
#ifndef lint
-char _depends_on[] = "drv/md";
md_ops_t *md_interface_ops = &event_md_ops;
#endif
--- a/usr/src/uts/common/io/lvm/raid/raid.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/lvm/raid/raid.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -75,7 +76,6 @@
md_ops_t raid_md_ops;
#ifndef lint
-char _depends_on[] = "drv/md";
md_ops_t *md_interface_ops = &raid_md_ops;
#endif /* lint */
--- a/usr/src/uts/common/io/lvm/softpart/sp.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/lvm/softpart/sp.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -103,7 +104,6 @@
md_ops_t sp_md_ops;
#ifndef lint
-char _depends_on[] = "drv/md";
md_ops_t *md_interface_ops = &sp_md_ops;
#endif
--- a/usr/src/uts/common/io/lvm/stripe/stripe.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/lvm/stripe/stripe.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,6 +21,7 @@
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/param.h>
@@ -55,7 +56,6 @@
md_ops_t stripe_md_ops;
#ifndef lint
-char _depends_on[] = "drv/md";
md_ops_t *md_interface_ops = &stripe_md_ops;
#endif
--- a/usr/src/uts/common/io/lvm/trans/mdtrans.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/lvm/trans/mdtrans.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/param.h>
@@ -57,7 +58,6 @@
md_ops_t trans_md_ops;
#ifndef lint
-char _depends_on[] = "drv/md fs/ufs";
md_ops_t *md_interface_ops = &trans_md_ops;
#endif /* lint */
--- a/usr/src/uts/common/io/mega_sas/megaraid_sas.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/mega_sas/megaraid_sas.c Thu Sep 15 18:27:52 2011 +0100
@@ -41,6 +41,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/types.h>
@@ -142,8 +143,6 @@
ddi_quiesce_not_supported, /* devo_quiesce */
};
-char _depends_on[] = "misc/scsi";
-
static struct modldrv modldrv = {
&mod_driverops, /* module type - driver */
MEGASAS_VERSION,
--- a/usr/src/uts/common/io/mr_sas/mr_sas.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/mr_sas/mr_sas.c Thu Sep 15 18:27:52 2011 +0100
@@ -42,6 +42,7 @@
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/types.h>
@@ -167,8 +168,6 @@
#endif /* __sparc */
};
-char _depends_on[] = "misc/scsi";
-
static struct modldrv modldrv = {
&mod_driverops, /* module type - driver */
MRSAS_VERSION,
--- a/usr/src/uts/common/io/ppp/spppasyn/spppasyn_mod.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/ppp/spppasyn/spppasyn_mod.c Thu Sep 15 18:27:52 2011 +0100
@@ -1,6 +1,20 @@
/*
* spppasyn_mod.c - modload support for PPP AHDLC STREAMS module
*
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * CONTRIBUTOR MAKES NO REPRESENTATION OR WARRANTIES ABOUT THE SUITABILITY
+ * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
+ * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+ * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. CONTRIBUTOR SHALL NOT BE LIABLE
+ * FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
+ * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES
+ *
+ * Permission to use, copy, modify, and distribute this software and its
+ * documentation is hereby granted, provided that the above copyright
+ * notice appears in all copies.
+ *
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
@@ -41,8 +55,6 @@
* $Id: ppp_mod.c,v 1.3 1999/02/26 10:53:28 paulus Exp $
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/conf.h>
#include <sys/ddi.h>
@@ -53,7 +65,6 @@
/*
* Globals for PPP AHDLC loadable module wrapper
*/
-char _depends_on[] = "drv/sppp"; /* we need some helper routines */
extern struct streamtab spppasyn_tab;
extern const char spppasyn_module_description[];
--- a/usr/src/uts/common/io/ppp/spppcomp/spppcomp_mod.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/ppp/spppcomp/spppcomp_mod.c Thu Sep 15 18:27:52 2011 +0100
@@ -1,6 +1,15 @@
/*
* spppcomp_mod.c - modload support for PPP compression STREAMS module.
*
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
+ *
+ * CONTRIBUTOR MAKES NO REPRESENTATION OR WARRANTIES ABOUT THE SUITABILITY
+ * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
+ * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+ * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. CONTRIBUTOR SHALL NOT BE LIABLE
+ * FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
+ * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES
+ *
* Copyright (c) 2000 by Sun Microsystems, Inc.
* All rights reserved.
*
@@ -46,9 +55,6 @@
* performance and scalability.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-#define RCSID "$Id: spppcomp_mod.c,v 1.0 2000/05/08 01:10:12 masputra Exp $"
-
#include <sys/types.h>
#include <sys/syslog.h>
#include <sys/conf.h>
@@ -63,7 +69,6 @@
/*
* Globals for PPP compression loadable module wrapper
*/
-char _depends_on[] = "drv/sppp"; /* we need some helper routines */
extern struct streamtab spppcomp_tab;
extern const char spppcomp_module_description[];
--- a/usr/src/uts/common/io/scsi/targets/sd.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/scsi/targets/sd.c Thu Sep 15 18:27:52 2011 +0100
@@ -24,6 +24,7 @@
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
* Copyright 2011 [email protected]
@@ -78,10 +79,8 @@
*/
#if (defined(__fibre))
#define SD_MODULE_NAME "SCSI SSA/FCAL Disk Driver"
-char _depends_on[] = "misc/scsi misc/cmlb drv/fcp";
#else /* !__fibre */
#define SD_MODULE_NAME "SCSI Disk Driver"
-char _depends_on[] = "misc/scsi misc/cmlb";
#endif /* !__fibre */
/*
--- a/usr/src/uts/common/io/scsi/targets/ses.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/scsi/targets/ses.c Thu Sep 15 18:27:52 2011 +0100
@@ -23,6 +23,7 @@
*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/modctl.h>
@@ -179,7 +180,6 @@
/*
* autoconfiguration routines.
*/
-char _depends_on[] = "misc/scsi";
static struct modldrv modldrv = {
&mod_driverops,
--- a/usr/src/uts/common/io/scsi/targets/st.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/scsi/targets/st.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,6 +21,7 @@
/*
* Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -686,7 +687,6 @@
/*
* autoconfiguration routines.
*/
-char _depends_on[] = "misc/scsi";
static struct modldrv modldrv = {
&mod_driverops, /* Type of module. This one is a driver */
--- a/usr/src/uts/common/io/tty_pts.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/io/tty_pts.c Thu Sep 15 18:27:52 2011 +0100
@@ -1,4 +1,5 @@
/*
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -134,8 +135,6 @@
#include <sys/errno.h>
#include <sys/modctl.h>
-char _depends_on[] = "drv/ptc";
-
/*
* Module linkage information for the kernel.
*/
--- a/usr/src/uts/common/pcmcia/nexus/pcmcia.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/pcmcia/nexus/pcmcia.c Thu Sep 15 18:27:52 2011 +0100
@@ -362,7 +362,7 @@
* the attach routine must make sure that everything needed is present
* including real hardware. The sequence of events is:
* attempt to load all adapter drivers
- * attempt to load Card Services (which _depends_on pcmcia)
+ * attempt to load Card Services
* initialize logical sockets
* report the nexus exists
*/
--- a/usr/src/uts/common/rpc/sec/secmod.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/rpc/sec/secmod.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,16 +22,13 @@
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.7 */
-
#include <sys/types.h>
#include <sys/modctl.h>
#include <sys/errno.h>
-char _depends_on[] = "strmod/rpcmod misc/tlimod";
-
/*
* Module linkage information for the kernel.
*/
--- a/usr/src/uts/common/rpc/sec_gss/rpcsec_gssmod.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/rpc/sec_gss/rpcsec_gssmod.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,16 +22,13 @@
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/modctl.h>
#include <sys/errno.h>
-char _depends_on[] = "strmod/rpcmod misc/kgssapi";
-
/*
* Module linkage information for the kernel.
*/
--- a/usr/src/uts/common/syscall/pipe.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/common/syscall/pipe.c Thu Sep 15 18:27:52 2011 +0100
@@ -21,14 +21,13 @@
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
-#pragma ident "%Z%%M% %I% %E% SMI" /* from SVr4.0 1.11 */
-
#include <sys/types.h>
#include <sys/sysmacros.h>
#include <sys/param.h>
@@ -49,8 +48,6 @@
#include <sys/modctl.h>
#include <sys/syscall.h>
-char _depends_on[] = "fs/fifofs";
-
longlong_t pipe();
static struct sysent pipe_sysent = {
--- a/usr/src/uts/i86pc/acpippm/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/i86pc/acpippm/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the power managment
# module for the ACPI subsystem
@@ -65,6 +64,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Declare dependency on misc/acpica
+#
+LDFLAGS += -dy -N misc/acpica
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/i86pc/cpr/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/i86pc/cpr/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/i86pc/cpr/Makefile
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the cpr misc kernel module.
#
@@ -55,9 +54,11 @@
include $(UTSBASE)/i86pc/Makefile.i86pc
#
-# Override defaults
+# bootdev required as per previous inline commenting referencing symbol
+# i_devname_to_promname(), which may only be necessary on SPARC. Removing
+# this symbol may be sufficient to remove depedency.
#
-LDFLAGS += -dy -N misc/acpica
+LDFLAGS += -dy -N misc/acpica -N misc/bootdev
#
# Define targets
--- a/usr/src/uts/i86pc/io/ppm/acpippm.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/i86pc/io/ppm/acpippm.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/types.h>
@@ -139,8 +140,6 @@
/*
* S3 stuff:
*/
-char _depends_on[] = "misc/acpica";
-
extern int acpi_enter_sleepstate(s3a_t *);
extern int acpi_exit_sleepstate(s3a_t *);
--- a/usr/src/uts/i86pc/io/rootnex.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/i86pc/io/rootnex.c Thu Sep 15 18:27:52 2011 +0100
@@ -23,6 +23,7 @@
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -167,10 +168,6 @@
#define ROOTNEX_PADDR_TO_RBASE(pa) (pa)
#endif
-#if !defined(__xpv)
-char _depends_on[] = "misc/iommulib misc/acpica";
-#endif
-
static struct cb_ops rootnex_cb_ops = {
nodev, /* open */
nodev, /* close */
--- a/usr/src/uts/i86pc/rootnex/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/i86pc/rootnex/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -21,6 +21,7 @@
#
# uts/i86pc/rootnex/Makefile
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
# Use is subject to license terms.
#
# This makefile drives the production of the rootnex driver
@@ -55,9 +56,9 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# Overrides.
+# Define dependencies on iommulib and acpica
#
-LDFLAGS += -dy
+LDFLAGS += -dy -N misc/iommulib -N misc/acpica
#
# For now, disable these lint checks; maintainers should endeavor
--- a/usr/src/uts/intel/IA/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/IA/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -24,8 +24,7 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the IA scheduling class
# kernel module.
@@ -59,6 +58,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependency on TS
+#
+LDFLAGS += -dy -N sched/TS
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/amr/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/amr/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -1,8 +1,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the amr driver kernel module.
#
@@ -47,6 +46,11 @@
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
+# Depends on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/ata/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/ata/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
#
# This makefile drives the production of the ata "drv"
@@ -72,6 +73,11 @@
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
#
+# Depends on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/autofs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/autofs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the autofs file system
# kernel module.
@@ -59,6 +58,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
+# Define dependency on rpcmod, rpcsec, and mntfs
+#
+LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/c2audit/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/c2audit/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,6 +23,7 @@
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the c2audit driver kernel module.
#
@@ -55,6 +56,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependency on sockfs
+#
+LDFLAGS += -dy -N fs/sockfs
+
+#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
--- a/usr/src/uts/intel/cachefs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/cachefs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the cachefs file system
# kernel module.
@@ -58,6 +57,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependency on rpcmod
+#
+LDFLAGS += -dy -N strmod/rpcmod
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/emlxs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/emlxs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -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.
#
# This makefile drives the production of the emlxs driver kernel module.
#
@@ -73,8 +74,12 @@
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/impl
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/ulp
+#
+# misc/fctl required because #ifdef MODSYM_LOAD code
+# triggered by -DS11; uses DDI calls to load FCA symbols
+#
LDFLAGS += -dy -Nmisc/md5 -Nmisc/sha1
-LDFLAGS += -Nmisc/bignum
+LDFLAGS += -Nmisc/bignum -Nmisc/fctl
#
# For now, disable these lint checks; maintainers should endeavor
--- a/usr/src/uts/intel/emul64/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/emul64/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -20,8 +20,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the emul64 kernel
# driver to testing hotplugging operations
@@ -69,6 +68,11 @@
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
#
+# Depends on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/hsfs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/hsfs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the hsfs file system
# kernel module.
@@ -58,6 +57,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependency on specfs
+#
+LDFLAGS += -dy -N fs/specfs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/intel_nb5000/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/intel_nb5000/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -19,6 +19,7 @@
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
#
@@ -70,6 +71,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
+# Depends on smbios
+#
+LDFLAGS += -dy -N drv/smbios
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/io/amr/amr.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/io/amr/amr.c Thu Sep 15 18:27:52 2011 +0100
@@ -1,6 +1,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
* Copyright (c) 1999,2000 Michael Smith
@@ -111,7 +112,6 @@
/*
* driver interfaces
*/
-char _depends_on[] = "misc/scsi";
static uint_t amr_intr(caddr_t arg);
static void amr_done(struct amr_softs *softs);
--- a/usr/src/uts/intel/io/dktp/controller/ata/atapi.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/io/dktp/controller/ata/atapi.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -60,11 +61,6 @@
static int atapi_id_update(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
ata_pkt_t *ata_pktp);
-
-/* external dependencies */
-
-char _depends_on[] = "misc/scsi";
-
/*
* Local static data
*/
--- a/usr/src/uts/intel/io/intel_nb5000/intel_nbdrv.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/io/intel_nb5000/intel_nbdrv.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/types.h>
@@ -44,8 +45,6 @@
#include "nb_log.h"
#include "nb5000.h"
-char _depends_on[] = "drv/smbios";
-
nvlist_t *inb_mc_nvl;
krwlock_t inb_mc_lock;
--- a/usr/src/uts/intel/kgssapi/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/kgssapi/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the kgssapi kernel module.
#
@@ -56,6 +55,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR)
#
+# Define dependencies on rpcmod, rpcsec, and tlimod
+#
+LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/kmech_dummy/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/kmech_dummy/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -24,8 +24,7 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the kmech_dummy kernel module.
#
@@ -50,6 +49,11 @@
include $(UTSBASE)/intel/Makefile.intel
#
+# Define dependency on kgssapi
+#
+LDFLAGS += -dy -N misc/kgssapi
+
+#
# Define targets
#
ALL_TARGET = $(BINARY)
--- a/usr/src/uts/intel/kmech_krb5/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/kmech_krb5/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the gl_kmech_krb5 kernel module.
@@ -56,6 +55,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Defined kgssapi and md5 as depdencies
+#
+LDFLAGS += -dy -N misc/kgssapi -N misc/md5
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/md/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/md/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/intel/md/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the md driver
#
@@ -72,6 +71,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
+# Depends on rpcmod
+#
+LDFLAGS += -dy -N strmod/rpcmod
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/md_hotspares/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/md_hotspares/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
# uts/intel/md_hotspares/Makefile
# Copyright (c) 1999, 2000 by Sun Microsystems, Inc.
# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell.
#
# This makefile drives the production of the md_hotspares module
#
@@ -57,6 +56,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Depends on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/md_mirror/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/md_mirror/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -21,8 +21,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the md_mirror module
#
@@ -55,6 +54,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependency on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/md_notify/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/md_notify/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
# uts/intel/md_notify/Makefile
# Copyright (c) 1999, 2000 by Sun Microsystems, Inc.
# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the lvm notify module
#
@@ -57,6 +56,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Depends on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/md_raid/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/md_raid/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/intel/md_raid/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the md_raid module
#
@@ -68,6 +67,11 @@
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
+# Depends on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/md_sp/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/md_sp/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/intel/md_sp/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the md_sp module
#
@@ -65,6 +64,11 @@
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
+# Depends on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/md_stripe/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/md_stripe/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/intel/md_stripe/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the md_stripe module
#
@@ -68,6 +67,11 @@
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
+# Depends on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/md_trans/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/md_trans/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/intel/md_trans/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the md_trans module
#
@@ -64,6 +63,11 @@
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
+# Depends on md & ufs
+#
+LDFLAGS += -dy -N drv/md -N fs/ufs
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/nfs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/nfs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the nfs file system
# kernel module.
@@ -66,6 +65,11 @@
CLEANFILES += $(MODSTUBS_O)
#
+# Define dependencies on specfs, rpcmod, and rpcsec
+#
+LDFLAGS += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/pipe/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/pipe/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -24,8 +24,7 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the pipe syscall module.
#
@@ -58,6 +57,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependency on fifofs
+#
+LDFLAGS += -dy -N fs/fifofs
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/ptsl/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/ptsl/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the ptsl driver
#
@@ -66,6 +65,11 @@
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
+# Depends on ptc
+#
+LDFLAGS += -dy -N drv/ptc
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/rpcsec/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/rpcsec/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the kernel rpcsec module.
#
@@ -56,6 +55,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependencies on rpcmod and tlimod
+#
+LDFLAGS += -dy -N strmod/rpcmod -N misc/tlimod
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/rpcsec_gss/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/rpcsec_gss/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the kernel rpcsec module.
#
@@ -56,6 +55,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependency on rpcmod and kgssapi
+#
+LDFLAGS += -dy -N strmod/rpcmod -N misc/kgssapi
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/intel/sd/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/sd/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the sd
# kernel module.
@@ -79,6 +78,11 @@
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
+# Depends on scsi and cmlb
+#
+LDFLAGS += -dy -N misc/scsi -N misc/cmlb
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/ses/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/ses/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the ses (SCSI enclosure
# services) driver kernel module.
@@ -71,6 +70,11 @@
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
#
+# Depends on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/spppasyn/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/spppasyn/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the spppasyn STREAMS
# kernel module.
@@ -76,6 +75,11 @@
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
+# Depends on sppp
+#
+LDFLAGS += -dy -N drv/sppp
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/spppcomp/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/spppcomp/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the spppcomp STREAMS
# kernel module.
@@ -77,6 +76,11 @@
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
+# Depends on sppp
+#
+LDFLAGS += -dy -N drv/sppp
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/st/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/st/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/intel/st/Makefile
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the st driver
# kernel module.
@@ -76,6 +75,11 @@
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
+# Depends on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/intel/udfs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/intel/udfs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -19,10 +19,9 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the udfs file system
# kernel module.
@@ -63,6 +62,11 @@
CLEANFILES += $(MODSTUBS_O)
#
+# Define dependency on specfs
+#
+LDFLAGS += -dy -N fs/specfs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/IA/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/IA/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
# uts/sparc/IA/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the IA scheduling class
# kernel module.
@@ -63,6 +62,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on TS
+#
+LDFLAGS += -dy -N sched/TS
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sparc/aoutexec/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/aoutexec/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
# uts/sparc/aoutexec/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the aoutexec exec kernel
# module (binary compatibility).
@@ -63,6 +62,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on elfexec
+#
+LDFLAGS += -dy -N exec/elfexec
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sparc/autofs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/autofs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/autofs/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the
# autofs file system kernel module.
@@ -63,6 +62,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependencies on rpmod, rpcsec, and mntfs
+#
+LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/c2audit/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/c2audit/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,6 +23,7 @@
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the c2audit driver kernel module.
#
@@ -60,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on sockfs
+#
+LDFLAGS += -dy -N fs/sockfs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/cachefs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/cachefs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/cachefs/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the Cache file system
# kernel module.
@@ -62,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on rpcmod
+#
+LDFLAGS += -dy -N strmod/rpcmod
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/emlxs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/emlxs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -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.
#
# This makefile drives the production of the emlxs driver kernel module.
#
@@ -74,7 +75,7 @@
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/ulp
LDFLAGS += -dy -Nmisc/md5 -Nmisc/sha1
-LDFLAGS += -Nmisc/bignum
+LDFLAGS += -Nmisc/bignum -Nmisc/fctl
#
# For now, disable these lint checks; maintainers should endeavor
--- a/usr/src/uts/sparc/emul64/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/emul64/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -20,8 +20,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the emul64 kernel
# driver to testing hotplugging operations
@@ -62,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/fas/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/fas/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,12 +23,11 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the fas driver kernel module.
#
# sparc architecture dependent
-#
-#ident "%Z%%M% %I% %E% SMI"
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -64,6 +63,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Defines dependency on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/fcode/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/fcode/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the fcode driver kernel module
#
@@ -76,6 +75,11 @@
CFLAGS += -dalign
#
+# Define dependency on fcodem
+#
+LDFLAGS += -dy -N misc/fcodem
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sparc/fcpci/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/fcpci/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the fcpci kernel misc module
#
@@ -74,6 +73,11 @@
CFLAGS += -dalign
#
+# Define dependency on fcodem and busra
+#
+LDFLAGS += -dy -N misc/fcodem -N misc/busra
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/hsfs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/hsfs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/hsfs/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the hsfs file system
# kernel module.
@@ -62,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on specfs
+#
+LDFLAGS += -dy -N fs/specfs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/kgssapi/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/kgssapi/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -21,8 +21,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the kgssapi kernel module.
#
@@ -59,6 +58,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependencies on rpc, rpcsec, and tlimod
+#
+LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/kmech_dummy/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/kmech_dummy/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the kmech_dummy kernel module.
#
@@ -60,6 +59,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on kgssapi
+#
+LDFLAGS += -dy -N misc/kgssapi
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sparc/kmech_krb5/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/kmech_krb5/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the gl_kmech_krb5 kernel module.
@@ -61,6 +60,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependencies on kgssapi and md5
+#
+LDFLAGS += -dy -N misc/kgssapi -N crypto/md5
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/md/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/md/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/md/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the SLVM's md driver module.
#
@@ -65,6 +64,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on rpcmod
+#
+LDFLAGS += -dy -N strmod/rpcmod
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/md_hotspares/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/md_hotspares/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
# uts/sparc/md_hotspares/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the SLVM's hotspares misc module.
#
@@ -62,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sparc/md_mirror/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/md_mirror/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/md_mirror/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the SLVM's mirror misc module.
#
@@ -61,6 +60,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/md_notify/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/md_notify/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
# uts/sparc/notify/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the SLVM's notify misc module.
#
@@ -62,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sparc/md_raid/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/md_raid/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/raid/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the SLVM's raid misc module.
#
@@ -61,6 +60,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/md_sp/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/md_sp/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/md_sp/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the soft partitioning module.
#
@@ -56,6 +55,11 @@
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
+# Define dependency on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/md_stripe/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/md_stripe/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/stripe/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the SLVM's stripe misc module.
#
@@ -61,6 +60,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on md
+#
+LDFLAGS += -dy -N drv/md
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/md_trans/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/md_trans/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/md_trans/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the SLVM's trans misc module.
#
@@ -61,6 +60,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependencies on md and specfs
+#
+LDFLAGS += -dy -N drv/md -N fs/ufs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/nfs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/nfs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the nfs file system
# kernel module.
@@ -67,6 +66,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependencies on specfs, rpcmod, and rpcsec
+#
+LDFLAGS += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/pipe/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/pipe/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
# uts/sparc/pipe/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the pipe system call module.
#
@@ -69,6 +68,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on fifofs
+#
+LDFLAGS += -dy -N fs/fifofs
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sparc/ptsl/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/ptsl/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sparc/ptsl/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the ptsl driver
#
@@ -62,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on ptc
+#
+LDFLAGS += -dy -N drv/ptc
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/rpcsec/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/rpcsec/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -21,8 +21,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the kernel rpcsec module.
#
@@ -59,6 +58,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependencies on rpcmod and tlimod
+#
+LDFLAGS += -dy -N strmod/rpcmod -N misc/tlimod
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/rpcsec_gss/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/rpcsec_gss/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -21,8 +21,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the kernel
# rpcsec_gss module.
@@ -60,6 +59,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependencies on rpcmod and kgssapi
+#
+LDFLAGS += -dy -N strmod/rpcmod -N misc/kgssapi
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/sd/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/sd/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the sd driver kernel module.
#
@@ -66,6 +65,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependencies on scsi and cmlb
+#
+LDFLAGS += -dy -N misc/scsi -N misc/cmlb
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/ses/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/ses/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the ses driver kernel module.
#
@@ -62,6 +61,11 @@
CLEANFILES += $(WARLOCK_TARGETS)
#
+# Define dependency on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/spppasyn/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/spppasyn/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the spppasyn STREAMS
# kernel module.
@@ -68,6 +67,11 @@
INC_PATH += -I$(UTSBASE)/common/io/ppp/common
CFLAGS += $(CCVERBOSE)
+#
+# Define dependency on sppp
+#
+LDFLAGS += -dy -N drv/sppp
+
CLEANLINTFILES += $(LINT64_FILES)
#
--- a/usr/src/uts/sparc/spppcomp/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/spppcomp/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the spppcomp STREAMS
# kernel module.
@@ -68,6 +67,11 @@
INC_PATH += -I$(UTSBASE)/common/io/ppp/common
CFLAGS += $(CCVERBOSE)
+#
+# Define dependency on sppp
+#
+LDFLAGS += -dy -N drv/sppp
+
CLEANLINTFILES += $(LINT64_FILES)
#
--- a/usr/src/uts/sparc/ssd/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/ssd/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,8 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the ssd driver kernel module.
@@ -79,6 +79,12 @@
LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
#
+# Depends on scsi and cmlb
+# fcp included for fibre support
+#
+LDFLAGS += -dy -N misc/scsi -N misc/cmlb -N drv/fcp
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sparc/st/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/st/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the st driver kernel module.
#
@@ -65,6 +64,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sparc/udfs/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sparc/udfs/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -19,10 +19,9 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the udfs file system
# kernel module.
@@ -64,6 +63,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on specfs
+#
+LDFLAGS += -dy -N fs/specfs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sun/io/scsi/adapters/fas.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun/io/scsi/adapters/fas.c Thu Sep 15 18:27:52 2011 +0100
@@ -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 @@
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. */
--- a/usr/src/uts/sun/io/scsi/adapters/sf.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun/io/scsi/adapters/sf.c Thu Sep 15 18:27:52 2011 +0100
@@ -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 @@
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 */
--- a/usr/src/uts/sun/io/zs_hdlc.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun/io/zs_hdlc.c Thu Sep 15 18:27:52 2011 +0100
@@ -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 @@
}
#endif
-
-char _depends_on[] = "drv/zs";
-
#ifndef MAXZSH
#define MAXZSH 2
#define MAXZSHCLONES (80) /* three clone opens per instance */
--- a/usr/src/uts/sun4/io/efcode/fcode.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4/io/efcode/fcode.c Thu Sep 15 18:27:52 2011 +0100
@@ -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.
*/
@@ -128,10 +129,6 @@
NULL
};
-#ifndef lint
-char _depends_on[] = "misc/fcodem";
-#endif
-
int
_init(void)
{
--- a/usr/src/uts/sun4/io/efcode/fcpci.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4/io/efcode/fcpci.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
/*
@@ -93,10 +94,6 @@
0 /* DMA transfer flags */
};
-#ifndef lint
-char _depends_on[] = "misc/fcodem misc/busra";
-#endif
-
#define HIADDR(n) ((uint32_t)(((uint64_t)(n) & 0xFFFFFFFF00000000)>> 32))
#define LOADDR(n)((uint32_t)((uint64_t)(n) & 0x00000000FFFFFFFF))
#define LADDR(lo, hi) (((uint64_t)(hi) << 32) | (uint32_t)(lo))
--- a/usr/src/uts/sun4u/cpr/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/cpr/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sun4u/cpr/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the cpr misc kernel module.
#
@@ -76,6 +75,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Depends on bootdev
+#
+LDFLAGS += -dy -N misc/bootdev
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sun4u/montecarlo/io/pcf8574_nct.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/montecarlo/io/pcf8574_nct.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/param.h>
@@ -178,8 +179,6 @@
0
};
-/* char _depends_on[] = "misc/i2c_svc drv/scsb"; */
-
int
_init(void)
{
--- a/usr/src/uts/sun4u/montecarlo/io/pcf8591_nct.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/montecarlo/io/pcf8591_nct.c Thu Sep 15 18:27:52 2011 +0100
@@ -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.
*/
/*
@@ -168,8 +169,6 @@
0
};
-char _depends_on[] = "misc/i2c_svc";
-
int pcf8591_debug = 0x02;
static uint8_t translate_cputemp(uint8_t value);
--- a/usr/src/uts/sun4u/sf/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sf/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -23,8 +23,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the sf driver kernel module.
#
@@ -64,6 +63,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on scsi
+#
+LDFLAGS += -dy -N misc/scsi
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
--- a/usr/src/uts/sun4u/starfire/cvcredir/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/starfire/cvcredir/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -20,10 +20,9 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the cvcredir driver module.
#
@@ -62,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on cvc
+#
+LDFLAGS += -dy -N drv/cvc
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sun4u/starfire/cvcredir/cvcredir.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/starfire/cvcredir/cvcredir.c Thu Sep 15 18:27:52 2011 +0100
@@ -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.
*/
@@ -107,8 +108,6 @@
cvcr_detach, nodev, cvcr_info, (D_MTPERQ | D_MP), &cvcrinfo,
ddi_quiesce_not_supported);
-char _depends_on[] = "drv/cvc";
-
static struct modldrv modldrv = {
&mod_driverops, /* Type of module. This one is a pseudo driver */
"CVC redirect driver 'cvcredir'",
--- a/usr/src/uts/sun4u/starfire/io/drmach.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/starfire/io/drmach.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
#include <sys/debug.h>
@@ -295,14 +296,6 @@
#define MBYTE (1048576ull)
/*
- * This is necessary because the CPU support needs
- * to call cvc_assign_iocpu.
- */
-#ifndef lint
-char _depends_on[] = "drv/cvc";
-#endif /* lint */
-
-/*
* drmach autoconfiguration data structures and interfaces
*/
--- a/usr/src/uts/sun4u/starfire/ngdrmach/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/starfire/ngdrmach/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the ngdrmach loadable module.
#
@@ -61,6 +60,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Define dependency on cvc
+#
+LDFLAGS += -dy -N drv/cvc
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sun4u/sunfire/ac/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/ac/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the ac driver kernel module.
#
@@ -66,6 +65,11 @@
CFLAGS += -dalign
#
+# Define dependency on fhc
+#
+LDFLAGS += -dy -N drv/fhc
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sun4u/sunfire/environ/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/environ/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the environ driver kernel
# module.
@@ -67,6 +66,11 @@
CFLAGS += -dalign
#
+# Define dependency on fhc
+#
+LDFLAGS += -dy -N drv/fhc
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sun4u/sunfire/io/ac.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/io/ac.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -173,10 +174,6 @@
NULL
};
-#ifndef lint
-char _depends_on[] = "drv/fhc";
-#endif /* lint */
-
/*
* These are the module initialization routines.
*/
--- a/usr/src/uts/sun4u/sunfire/io/environ.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/io/environ.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -139,10 +140,6 @@
NULL
};
-#ifndef lint
-char _depends_on[] = "drv/fhc";
-#endif /* lint */
-
/*
* These are the module initialization routines.
*/
--- a/usr/src/uts/sun4u/sunfire/io/simmstat.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/io/simmstat.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -121,10 +122,6 @@
NULL
};
-#ifndef lint
-char _depends_on[] = "drv/fhc";
-#endif /* lint */
-
/*
* These are the module initialization routines.
*/
--- a/usr/src/uts/sun4u/sunfire/io/sram.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/io/sram.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -117,10 +118,6 @@
NULL
};
-#ifndef lint
-char _depends_on[] = "drv/fhc";
-#endif /* lint */
-
/*
* These are the module initialization routines.
*/
--- a/usr/src/uts/sun4u/sunfire/io/sysctrl.c Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/io/sysctrl.c Thu Sep 15 18:27:52 2011 +0100
@@ -22,6 +22,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
*/
@@ -326,10 +327,6 @@
NULL
};
-#ifndef lint
-char _depends_on[] = "drv/fhc";
-#endif /* lint */
-
/*
* These are the module initialization routines.
*/
--- a/usr/src/uts/sun4u/sunfire/simmstat/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/simmstat/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the simmstat driver kernel
# module.
@@ -67,6 +66,11 @@
CFLAGS += -dalign
#
+# Define dependency on fhc
+#
+LDFLAGS += -dy -N drv/fhc
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sun4u/sunfire/sram/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/sram/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the sram driver kernel module.
#
@@ -66,6 +65,11 @@
CFLAGS += -dalign
#
+# Define dependency on fhc
+#
+LDFLAGS += -dy -N drv/fhc
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sun4u/sunfire/sysctrl/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/sunfire/sysctrl/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the sysctrl driver
# kernel module.
@@ -67,6 +66,11 @@
CFLAGS += -dalign
#
+# Define dependency on fhc
+#
+LDFLAGS += -dy -N drv/fhc
+
+#
# Default build targets.
#
.KEEP_STATE:
--- a/usr/src/uts/sun4u/zsh/Makefile Wed Sep 14 11:28:33 2011 -0500
+++ b/usr/src/uts/sun4u/zsh/Makefile Thu Sep 15 18:27:52 2011 +0100
@@ -22,8 +22,7 @@
# uts/sun4u/zsh/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
# This makefile drives the production of the sun4u "zsh" driver module.
#
@@ -62,6 +61,11 @@
CFLAGS += $(CCVERBOSE)
#
+# Defined dependency on zs
+#
+LDFLAGS += -dy -N drv/zs
+
+#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.