Lines Matching defs:drv
80 static int load_boot_driver(char *drv);
81 static int load_boot_platform_modules(char *drv);
203 ret = modload("drv", "iscsi");
391 cmn_err(CE_WARN, "Cannot load drv/%s", this);
401 cmn_err(CE_WARN, "Cannot load drv/%s", this);
550 if ((err = modloadonly("drv", "iscsi")) < 0) {
551 cmn_err(CE_CONT, "Cannot load drv/iscsi\n");
554 if ((err = modloadonly("drv", "ssd")) < 0) {
555 cmn_err(CE_CONT, "Cannot load drv/ssd\n");
558 if ((err = modloadonly("drv", "sd")) < 0) {
559 cmn_err(CE_CONT, "Cannot load drv/sd\n");
770 load_boot_driver(char *drv)
783 if ((major = ddi_name_to_major(drv)) == DDI_MAJOR_T_NONE) {
784 cmn_err(CE_CONT, "%s: no major number\n", drv);
793 if (strcmp(drv, drvname) == 0) {
794 BMDPRINTF(("load_boot_driver: %s\n", drv));
796 BMDPRINTF(("load_boot_driver: %s -> %s\n", drv, drvname));
800 if (modloadonly("drv", drvname) == -1) {
860 char *drv;
871 drv = ddi_major_to_name(major);
873 drv = ddi_binding_name(dip);
875 if (load_boot_driver(drv) != 0)
913 if (modloadonly("drv", "ramdisk") < 0)
997 modloadonly("drv", "ibp") == -1) {
1011 if (strstr(bootpath, "/hub@") && modloadonly("drv", "hubd") == -1) {
1040 load_boot_platform_modules(char *drv)
1047 if ((major = ddi_name_to_major(drv)) == DDI_MAJOR_T_NONE) {
1048 cmn_err(CE_CONT, "%s: no major number\n", drv);
1060 if (strcmp(drv, drvname) == 0) {
1061 BMDPRINTF(("load_boot_platform_modules: %s\n", drv));
1064 drv, drvname));
1071 if (modloadonly("drv", drvname) == -1) {