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@FreeBSD.org
          Reporter: lan...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to