Lines Matching refs:aac_dev
246 sc->hint_flags = device_get_flags(sc->aac_dev); in aacraid_attach()
299 unit = device_get_unit(sc->aac_dev); in aacraid_attach()
311 sc->aac_dev, SHUTDOWN_PRI_DEFAULT)) == NULL) in aacraid_attach()
312 device_printf(sc->aac_dev, in aacraid_attach()
338 bus_attach_children(sc->aac_dev); in aacraid_attach()
406 device_printf(sc->aac_dev, "aac_add event: unknown event %d\n", in aacraid_add_event()
429 device_printf(sc->aac_dev, in aac_get_container_info()
453 device_printf(sc->aac_dev, "Error probing container %d\n", cid); in aac_get_container_info()
473 device_printf(sc->aac_dev, "Error probing container %d\n", cid); in aac_get_container_info()
587 device_printf(sc->aac_dev, "can't allocate buffer DMA tag\n"); in aac_alloc()
612 device_printf(sc->aac_dev, "can't allocate FIB DMA tag\n"); in aac_alloc()
634 device_printf(sc->aac_dev, in aac_alloc()
640 device_printf(sc->aac_dev, "can't allocate common structure\n"); in aac_alloc()
700 bus_teardown_intr(sc->aac_dev, in aacraid_free()
703 bus_release_resource(sc->aac_dev, SYS_RES_IRQ, in aacraid_free()
709 pci_release_msi(sc->aac_dev); in aacraid_free()
721 bus_release_resource(sc->aac_dev, SYS_RES_MEMORY, in aacraid_free()
724 bus_release_resource(sc->aac_dev, SYS_RES_MEMORY, in aacraid_free()
762 tsleep(sc->aac_dev, PUSER | PCATCH, "aac_dch", 30 * hz); in aacraid_detach()
805 device_printf(sc->aac_dev, "shutting down controller..."); in aacraid_shutdown()
1053 wakeup(sc->aac_dev); in aac_command_thread()
1194 device_printf(sc->aac_dev, in aac_alloc_commands()
1547 device_printf(sc->aac_dev, in aac_check_firmware()
1571 device_printf(sc->aac_dev, in aac_check_firmware()
1585 device_printf(sc->aac_dev, in aac_check_firmware()
1594 device_printf(sc->aac_dev, in aac_check_firmware()
1607 device_printf(sc->aac_dev, in aac_check_firmware()
1625 device_printf(sc->aac_dev, in aac_check_firmware()
1643 device_printf(sc->aac_dev, "Communication interface not supported!\n"); in aac_check_firmware()
1648 device_printf(sc->aac_dev, in aac_check_firmware()
1652 device_printf(sc->aac_dev, in aac_check_firmware()
1663 sc->aac_dev, SYS_RES_MEMORY, in aac_check_firmware()
1666 sc->aac_dev, SYS_RES_MEMORY, &sc->aac_regs_rid0, in aac_check_firmware()
1670 sc->aac_dev, SYS_RES_MEMORY, in aac_check_firmware()
1673 device_printf(sc->aac_dev, in aac_check_firmware()
1722 device_printf(sc->aac_dev, "Enable Raw I/O\n"); in aac_check_firmware()
1727 device_printf(sc->aac_dev, "Enable 64-bit array\n"); in aac_check_firmware()
1789 device_printf(sc->aac_dev, "New comm. interface type1 enabled\n"); in aac_init()
1794 device_printf(sc->aac_dev, "New comm. interface type2 enabled\n"); in aac_init()
1805 device_printf(sc->aac_dev, "Power Management enabled\n"); in aac_init()
1826 device_printf(sc->aac_dev, in aac_init()
1850 dev = sc->aac_dev; in aac_define_int_mode()
1940 dev = sc->aac_dev; in aac_find_pci_capability()
1984 if ((res = bus_alloc_resource_any(sc->aac_dev,SYS_RES_IRQ, &rid, in aac_setup_intr()
1986 device_printf(sc->aac_dev,"can't allocate interrupt\n"); in aac_setup_intr()
1991 if (aac_bus_setup_intr(sc->aac_dev, res, in aac_setup_intr()
1994 device_printf(sc->aac_dev, "can't set up interrupt\n"); in aac_setup_intr()
2178 device_printf(sc->aac_dev, in aac_timeout()
2503 device_printf(sc->aac_dev, "RequestSupplementAdapterInfo failed\n"); in aac_describe_controller()
2513 device_printf(sc->aac_dev, "%s, aacraid driver %d.%d.%d-%d\n", in aac_describe_controller()
2520 device_printf(sc->aac_dev, "RequestAdapterInfo failed\n"); in aac_describe_controller()
2532 device_printf(sc->aac_dev, "%s %dMHz, %dMB memory " in aac_describe_controller()
2541 device_printf(sc->aac_dev, in aac_describe_controller()
2549 device_printf(sc->aac_dev, "Supported Options=%b\n", in aac_describe_controller()
2603 device_busy(sc->aac_dev); in aac_open()
2815 device_printf(sc->aac_dev, "incoming FIB oversized (%d > %d)\n", in aac_ioctl_sendfib()
2832 device_printf(sc->aac_dev, in aac_ioctl_sendfib()
2842 device_printf(sc->aac_dev, "outbound FIB oversized (%d > %d)\n", in aac_ioctl_sendfib()
3111 device_unbusy(sc->aac_dev); in aac_cdevpriv_dtor()
3478 device_printf(sc->aac_dev, in aac_return_aif()
3498 pciinf.bus = pci_get_bus(sc->aac_dev); in aac_get_pci_info()
3499 pciinf.slot = pci_get_slot(sc->aac_dev); in aac_get_pci_info()
3586 query_disk.Bus = device_get_unit(sc->aac_dev); in aac_query_disk()
3608 device_printf(sc->aac_dev, in aac_container_bus()
3612 child = device_add_child(sc->aac_dev, "aacraidp", DEVICE_UNIT_ANY); in aac_container_bus()
3614 device_printf(sc->aac_dev, in aac_container_bus()
3635 bus_attach_children(sc->aac_dev); in aac_container_bus()
3664 device_printf(sc->aac_dev, "Error %d sending " in aac_get_bus_info()
3674 device_printf(sc->aac_dev, "VM_ContainerConfig returned 0x%x\n", in aac_get_bus_info()
3696 device_printf(sc->aac_dev, "Error %d sending VMIoctl command\n", in aac_get_bus_info()
3706 device_printf(sc->aac_dev, "VM_Ioctl returned %d\n", in aac_get_bus_info()
3724 device_printf(sc->aac_dev, in aac_get_bus_info()
3729 child = device_add_child(sc->aac_dev, "aacraidp", DEVICE_UNIT_ANY); in aac_get_bus_info()
3731 device_printf(sc->aac_dev, in aac_get_bus_info()
3791 device_printf(sc->aac_dev, "aac_reset_adapter() already in progress\n"); in aac_reset_adapter()
3835 (void) aacraid_shutdown(sc->aac_dev); in aac_reset_adapter()
3859 device_printf(sc->aac_dev, in aac_reset_adapter()
3863 device_printf(sc->aac_dev, in aac_reset_adapter()