diff options
| author | cth <none@none> | 2005-09-08 15:58:16 -0700 |
|---|---|---|
| committer | cth <none@none> | 2005-09-08 15:58:16 -0700 |
| commit | a3282898e99eb4fd1912bf791254452bfd913d4b (patch) | |
| tree | d6d270f787de345c075400b8d7ad25291eea7181 /usr/src/uts/sun/io/sbusmem.c | |
| parent | 1ac69ea687cc5094a956b1eb0a67df515029be6f (diff) | |
| download | illumos-joyent-a3282898e99eb4fd1912bf791254452bfd913d4b.tar.gz | |
6305388 ddi_getlongprop(9F) callers should use DDI_DEV_T_ANY instead of DDI_DEV_T_NONE
Diffstat (limited to 'usr/src/uts/sun/io/sbusmem.c')
| -rw-r--r-- | usr/src/uts/sun/io/sbusmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/sun/io/sbusmem.c b/usr/src/uts/sun/io/sbusmem.c index 67157a7bb6..8681146105 100644 --- a/usr/src/uts/sun/io/sbusmem.c +++ b/usr/src/uts/sun/io/sbusmem.c @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 1991-2002 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -186,7 +186,7 @@ sbmem_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) } #endif /* SBUSMEM_DEBUG */ - if (ddi_getlongprop(DDI_DEV_T_NONE, devi, + if (ddi_getlongprop(DDI_DEV_T_ANY, devi, DDI_PROP_DONTPASS | DDI_PROP_CANSLEEP, "ident", (caddr_t)&ident, &ilen) != DDI_PROP_SUCCESS) { #ifdef SBUSMEM_DEBUG |
