Print this page
7127  remove -Wno-missing-braces from Makefile.uts


 364         pshot_detach,           /* detach */
 365         nodev,                  /* reset */
 366         &pshot_cb_ops,              /* driver operations */
 367         &pshot_bus_ops,             /* bus operations */
 368         pshot_power,            /* power */
 369         ddi_quiesce_not_supported,      /* devo_quiesce */
 370 
 371 };
 372 
 373 
 374 /*
 375  * Module linkage information for the kernel.
 376  */
 377 static struct modldrv modldrv = {
 378         &mod_driverops,
 379         "pshotnex",
 380         &pshot_ops,
 381 };
 382 
 383 static struct modlinkage modlinkage = {
 384         MODREV_1, &modldrv, NULL
 385 };
 386 
 387 
 388 /*
 389  * pshot_devices is set up on the first attach and destroyed on fini
 390  *
 391  * therefore PSHOT_PROP_DEV* properties may be set just for the root device,
 392  * instead of being set globably, in pshot.conf by specifying the properties
 393  * on a single line in the form:
 394  *      name="pshot" parent="/" <dev props ..>
 395  * to unclutter a device tree snapshot.
 396  * this of course produces a long single line that may wrap around several
 397  * times on screen
 398  */
 399 
 400 int
 401 _init(void)
 402 {
 403         int rv;
 404 




 364         pshot_detach,           /* detach */
 365         nodev,                  /* reset */
 366         &pshot_cb_ops,              /* driver operations */
 367         &pshot_bus_ops,             /* bus operations */
 368         pshot_power,            /* power */
 369         ddi_quiesce_not_supported,      /* devo_quiesce */
 370 
 371 };
 372 
 373 
 374 /*
 375  * Module linkage information for the kernel.
 376  */
 377 static struct modldrv modldrv = {
 378         &mod_driverops,
 379         "pshotnex",
 380         &pshot_ops,
 381 };
 382 
 383 static struct modlinkage modlinkage = {
 384         MODREV_1, { &modldrv, NULL }
 385 };
 386 
 387 
 388 /*
 389  * pshot_devices is set up on the first attach and destroyed on fini
 390  *
 391  * therefore PSHOT_PROP_DEV* properties may be set just for the root device,
 392  * instead of being set globably, in pshot.conf by specifying the properties
 393  * on a single line in the form:
 394  *      name="pshot" parent="/" <dev props ..>
 395  * to unclutter a device tree snapshot.
 396  * this of course produces a long single line that may wrap around several
 397  * times on screen
 398  */
 399 
 400 int
 401 _init(void)
 402 {
 403         int rv;
 404