Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Oct 2014 03:16:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194209] New: ahciems should be optional
Message-ID:  <bug-194209-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: ngie@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194209-8>