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


 388         usbsacm_attach,         /* devo_attach */
 389         usbsacm_detach,         /* devo_detach */
 390         nodev,                  /* devo_reset */
 391         &usbsacm_cb_ops,    /* devo_cb_ops */
 392         (struct bus_ops *)NULL, /* devo_bus_ops */
 393         usbser_power,           /* devo_power */
 394         ddi_quiesce_not_needed, /* devo_quiesce */
 395 };
 396 
 397 extern struct mod_ops mod_driverops;
 398 /* modldrv structure */
 399 static struct modldrv modldrv = {
 400         &mod_driverops,             /* type of module - driver */
 401         "USB Serial CDC ACM driver",
 402         &usbsacm_ops,
 403 };
 404 
 405 /* modlinkage structure */
 406 static struct modlinkage modlinkage = {
 407         MODREV_1,
 408         &modldrv,
 409         NULL
 410 };
 411 
 412 static void     *usbsacm_statep;        /* soft state */
 413 
 414 /*
 415  * DSD definitions
 416  */
 417 static ds_ops_t usbsacm_ds_ops = {
 418         DS_OPS_VERSION,
 419         usbsacm_ds_attach,
 420         usbsacm_ds_detach,
 421         usbsacm_ds_register_cb,
 422         usbsacm_ds_unregister_cb,
 423         usbsacm_ds_open_port,
 424         usbsacm_ds_close_port,
 425         usbsacm_ds_usb_power,
 426         usbsacm_ds_suspend,
 427         usbsacm_ds_resume,
 428         usbsacm_ds_disconnect,
 429         usbsacm_ds_reconnect,




 388         usbsacm_attach,         /* devo_attach */
 389         usbsacm_detach,         /* devo_detach */
 390         nodev,                  /* devo_reset */
 391         &usbsacm_cb_ops,    /* devo_cb_ops */
 392         (struct bus_ops *)NULL, /* devo_bus_ops */
 393         usbser_power,           /* devo_power */
 394         ddi_quiesce_not_needed, /* devo_quiesce */
 395 };
 396 
 397 extern struct mod_ops mod_driverops;
 398 /* modldrv structure */
 399 static struct modldrv modldrv = {
 400         &mod_driverops,             /* type of module - driver */
 401         "USB Serial CDC ACM driver",
 402         &usbsacm_ops,
 403 };
 404 
 405 /* modlinkage structure */
 406 static struct modlinkage modlinkage = {
 407         MODREV_1,
 408         { &modldrv, NULL }

 409 };
 410 
 411 static void     *usbsacm_statep;        /* soft state */
 412 
 413 /*
 414  * DSD definitions
 415  */
 416 static ds_ops_t usbsacm_ds_ops = {
 417         DS_OPS_VERSION,
 418         usbsacm_ds_attach,
 419         usbsacm_ds_detach,
 420         usbsacm_ds_register_cb,
 421         usbsacm_ds_unregister_cb,
 422         usbsacm_ds_open_port,
 423         usbsacm_ds_close_port,
 424         usbsacm_ds_usb_power,
 425         usbsacm_ds_suspend,
 426         usbsacm_ds_resume,
 427         usbsacm_ds_disconnect,
 428         usbsacm_ds_reconnect,