108 NULL
109 };
110 #endif /* __amd64 */
111
112 #endif /* _sparc */
113
114 struct brand sn1_brand = {
115 BRAND_VER_1,
116 "sn1",
117 &sn1_brops,
118 &sn1_mops
119 };
120
121 static struct modlbrand modlbrand = {
122 &mod_brandops, /* type of module */
123 "Solaris N-1 Brand", /* description of module */
124 &sn1_brand /* driver ops */
125 };
126
127 static struct modlinkage modlinkage = {
128 MODREV_1, (void *)&modlbrand, NULL
129 };
130
131 void
132 sn1_setbrand(proc_t *p)
133 {
134 brand_solaris_setbrand(p, &sn1_brand);
135 }
136
137 /* ARGSUSED */
138 int
139 sn1_getattr(zone_t *zone, int attr, void *buf, size_t *bufsize)
140 {
141 return (EINVAL);
142 }
143
144 /* ARGSUSED */
145 int
146 sn1_setattr(zone_t *zone, int attr, void *buf, size_t bufsize)
147 {
148 return (EINVAL);
|
108 NULL
109 };
110 #endif /* __amd64 */
111
112 #endif /* _sparc */
113
114 struct brand sn1_brand = {
115 BRAND_VER_1,
116 "sn1",
117 &sn1_brops,
118 &sn1_mops
119 };
120
121 static struct modlbrand modlbrand = {
122 &mod_brandops, /* type of module */
123 "Solaris N-1 Brand", /* description of module */
124 &sn1_brand /* driver ops */
125 };
126
127 static struct modlinkage modlinkage = {
128 MODREV_1, { (void *)&modlbrand, NULL }
129 };
130
131 void
132 sn1_setbrand(proc_t *p)
133 {
134 brand_solaris_setbrand(p, &sn1_brand);
135 }
136
137 /* ARGSUSED */
138 int
139 sn1_getattr(zone_t *zone, int attr, void *buf, size_t *bufsize)
140 {
141 return (EINVAL);
142 }
143
144 /* ARGSUSED */
145 int
146 sn1_setattr(zone_t *zone, int attr, void *buf, size_t bufsize)
147 {
148 return (EINVAL);
|