[Bug 203386] [patch] if_ndis failing with ENOMEM in bus_dma_tag_create

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 26 23:00:35 UTC 2015


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

            Bug ID: 203386
           Summary: [patch] if_ndis failing with ENOMEM in
                    bus_dma_tag_create
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: landon at landonf.org
          Keywords: patch

Created attachment 161449
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161449&action=edit
if_ndis disable BUS_DMA_ALLOCNOW

ndis_attach_pci() unnecessarily passes BUS_DMA_ALLOCNOW when allocating its
parent DMA tag; this eager allocation can trigger ENOMEM, preventing
attachment.

Attached is a tiny patch removing the eager-allocation flag. With this, I'm
able to use NDIS drivers.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list