/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <regex.h>
#include <devfsadm.h>
#include <stdio.h>
#include <strings.h>
#include <stdlib.h>
#include <limits.h>
#include <bsm/devalloc.h>
extern int system_labeled;
},
},
{ "pseudo", "ddi_pseudo", "sbbc",
},
},
},
{ "pseudo", "ddi_pseudo", "lw8",
},
{ "pseudo", "ddi_pseudo", "ntwdt",
},
{ "pseudo", "ddi_pseudo", "bmc",
}
};
/*
* Handles minor node type "ddi_other"
* type=ddi_other;name=SUNW,pmc pmc
* type=ddi_other;name=SUNW,mic mic\M0
*/
static int
{
}
return (DEVFSADM_CONTINUE);
}
/*
* This function is called for diskette nodes
*/
static int
{
int flags = 0;
if (system_labeled)
}
return (DEVFSADM_CONTINUE);
}
/*
* Handles links of the form:
* type=ddi_printer;name=ecpp ecpp\N0
*/
static int
{
char *buf;
return (DEVFSADM_CONTINUE);
}
return (DEVFSADM_CONTINUE);
}
return (DEVFSADM_CONTINUE);
}
return (DEVFSADM_CONTINUE);
}
/* Rules for memory controller */
static int
{
char *minor_nm;
return (DEVFSADM_CONTINUE);
}
/* build the physical path from the components */
return (DEVFSADM_CONTINUE);
}
return (DEVFSADM_CONTINUE);
}
/*
* Starcat sbbc node. We only really care about generating a /dev
* link for the lone sbbc on the SC (as opposed to the potentially
* numerous sbbcs on the domain), so only operate on instance 0.
*/
static int
{
char *mn;
if (di_instance(node) == 0) {
}
return (DEVFSADM_CONTINUE);
}
/*
*/
static int
{
return (DEVFSADM_CONTINUE);
}
/*
*/
static int
{
return (DEVFSADM_CONTINUE);
}
/*
*/
static int
{
return (DEVFSADM_CONTINUE);
}