Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2015 23:00:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203386] [patch] if_ndis failing with ENOMEM in bus_dma_tag_create
Message-ID:  <bug-203386-8@https.bugs.freebsd.org/bugzilla/>

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



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