78 0, /* Refcnt */
79 uhci_info, /* Info */
80 nulldev, /* Identify */
81 nulldev, /* Probe */
82 uhci_attach, /* Attach */
83 uhci_detach, /* Detach */
84 uhci_reset, /* Reset */
85 &uhci_cb_ops, /* Driver operations */
86 &usba_hubdi_busops, /* Bus operations */
87 usba_hubdi_root_hub_power, /* Power */
88 uhci_quiesce /* quiesce */
89 };
90
91 static struct modldrv modldrv = {
92 &mod_driverops, /* Type of module. This one is a driver */
93 "USB UHCI Controller Driver", /* Name of the module. */
94 &uhci_ops, /* Driver ops */
95 };
96
97 static struct modlinkage modlinkage = {
98 MODREV_1, (void *)&modldrv, NULL
99 };
100
101 /*
102 * Globals
103 */
104 void *uhci_statep;
105 uint_t uhci_errlevel = USB_LOG_L2;
106 uint_t uhci_errmask = PRINT_MASK_ALL;
107 uint_t uhci_instance_debug = (uint_t)-1;
108
109 uint_t uhci_td_pool_size = 256; /* Num TDs */
110 uint_t uhci_qh_pool_size = 130; /* Num QHs */
111 ushort_t uhci_tree_bottom_nodes[NUM_FRAME_LST_ENTRIES];
112
113
114 /*
115 * UHCI MSI tunable:
116 *
117 * By default MSI is enabled on all supported platforms.
118 */
|
78 0, /* Refcnt */
79 uhci_info, /* Info */
80 nulldev, /* Identify */
81 nulldev, /* Probe */
82 uhci_attach, /* Attach */
83 uhci_detach, /* Detach */
84 uhci_reset, /* Reset */
85 &uhci_cb_ops, /* Driver operations */
86 &usba_hubdi_busops, /* Bus operations */
87 usba_hubdi_root_hub_power, /* Power */
88 uhci_quiesce /* quiesce */
89 };
90
91 static struct modldrv modldrv = {
92 &mod_driverops, /* Type of module. This one is a driver */
93 "USB UHCI Controller Driver", /* Name of the module. */
94 &uhci_ops, /* Driver ops */
95 };
96
97 static struct modlinkage modlinkage = {
98 MODREV_1, { (void *)&modldrv, NULL }
99 };
100
101 /*
102 * Globals
103 */
104 void *uhci_statep;
105 uint_t uhci_errlevel = USB_LOG_L2;
106 uint_t uhci_errmask = PRINT_MASK_ALL;
107 uint_t uhci_instance_debug = (uint_t)-1;
108
109 uint_t uhci_td_pool_size = 256; /* Num TDs */
110 uint_t uhci_qh_pool_size = 130; /* Num QHs */
111 ushort_t uhci_tree_bottom_nodes[NUM_FRAME_LST_ENTRIES];
112
113
114 /*
115 * UHCI MSI tunable:
116 *
117 * By default MSI is enabled on all supported platforms.
118 */
|