330 NULL, /* power */
331 ahci_quiesce, /* quiesce */
332 };
333
334 static sata_tran_hotplug_ops_t ahci_tran_hotplug_ops = {
335 SATA_TRAN_HOTPLUG_OPS_REV_1,
336 ahci_tran_hotplug_port_activate,
337 ahci_tran_hotplug_port_deactivate
338 };
339
340 extern struct mod_ops mod_driverops;
341
342 static struct modldrv modldrv = {
343 &mod_driverops, /* driverops */
344 ahci_ident, /* short description */
345 &ahcictl_dev_ops, /* driver ops */
346 };
347
348 static struct modlinkage modlinkage = {
349 MODREV_1,
350 &modldrv,
351 NULL
352 };
353
354 /* The following variables are watchdog handler related */
355 static clock_t ahci_watchdog_timeout = 5; /* 5 seconds */
356 static clock_t ahci_watchdog_tick;
357
358 /*
359 * This static variable indicates the size of command table,
360 * and it's changeable with prdt number, which ahci_dma_prdt_number
361 * indicates.
362 */
363 static size_t ahci_cmd_table_size;
364
365 /*
366 * The below global variables are tunable via /etc/system
367 *
368 * ahci_dma_prdt_number
369 * ahci_msi_enabled
370 * ahci_buf_64bit_dma
371 * ahci_commu_64bit_dma
|
330 NULL, /* power */
331 ahci_quiesce, /* quiesce */
332 };
333
334 static sata_tran_hotplug_ops_t ahci_tran_hotplug_ops = {
335 SATA_TRAN_HOTPLUG_OPS_REV_1,
336 ahci_tran_hotplug_port_activate,
337 ahci_tran_hotplug_port_deactivate
338 };
339
340 extern struct mod_ops mod_driverops;
341
342 static struct modldrv modldrv = {
343 &mod_driverops, /* driverops */
344 ahci_ident, /* short description */
345 &ahcictl_dev_ops, /* driver ops */
346 };
347
348 static struct modlinkage modlinkage = {
349 MODREV_1,
350 { &modldrv, NULL }
351 };
352
353 /* The following variables are watchdog handler related */
354 static clock_t ahci_watchdog_timeout = 5; /* 5 seconds */
355 static clock_t ahci_watchdog_tick;
356
357 /*
358 * This static variable indicates the size of command table,
359 * and it's changeable with prdt number, which ahci_dma_prdt_number
360 * indicates.
361 */
362 static size_t ahci_cmd_table_size;
363
364 /*
365 * The below global variables are tunable via /etc/system
366 *
367 * ahci_dma_prdt_number
368 * ahci_msi_enabled
369 * ahci_buf_64bit_dma
370 * ahci_commu_64bit_dma
|