https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194209

            Bug ID: 194209
           Summary: ahciems should be optional
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: n...@freebsd.org

The code in sys/dev/ahci.c automatically detects whether or not a device has
AHCI_CAP_EMS support, then automatically loads the ahciem device. The ahciem
device should instead be loaded in the default kernel as a dependency of ahci.

310     if (ctlr->caps & AHCI_CAP_EMS) {
311         child = device_add_child(dev, "ahciem", -1);
312         if (child == NULL)
313             device_printf(dev, "failed to add enclosure device\n");
314         else
315             device_set_ivars(child, (void *)(intptr_t)-1);
316       }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to