[Bug 194209] New: ahciems should be optional
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 7 03:16:24 UTC 2014
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 at FreeBSD.org
Reporter: ngie at 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.
More information about the freebsd-bugs
mailing list