From owner-cvs-src@FreeBSD.ORG Thu Jul 10 06:55:11 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 356F837B401; Thu, 10 Jul 2003 06:55:11 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D632B43FA3; Thu, 10 Jul 2003 06:55:10 -0700 (PDT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6ADtA0U022857; Thu, 10 Jul 2003 06:55:10 -0700 (PDT) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6ADtAQg022856; Thu, 10 Jul 2003 06:55:10 -0700 (PDT) Message-Id: <200307101355.h6ADtAQg022856@repoman.freebsd.org> From: Hartmut Brandt Date: Thu, 10 Jul 2003 06:55:09 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatm_ioctl.c if_hatm_rx.c if_hatm_tx.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 13:55:11 -0000 harti 2003/07/10 06:55:09 PDT FreeBSD src repository Modified files: sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatm_ioctl.c if_hatm_rx.c if_hatm_tx.c Log: Use the default arguments for lockfunc and lockfuncarg in bus_dma_tag_create. We need to be sure that our packets are kept in-sequence (that's how ATM is supposed to work) and therefor use BUS_DMA_NOWAIT in all calls to bus_dmamap_load. For memory allocated with bus_dmamem_alloc the use of anything other than NULL arguments for the locking is anyway bogus because this memory never should need bouncing and hence the load should never be defered. Allow the receipt of OAM and RM cells on raw connections. Caveat: it seems that RM cells are still processed by the hardware even when we open the connection as UBR. Revision Changes Path 1.4 +16 -8 src/sys/dev/hatm/if_hatm.c 1.3 +2 -2 src/sys/dev/hatm/if_hatm_intr.c 1.3 +1 -1 src/sys/dev/hatm/if_hatm_ioctl.c 1.3 +2 -1 src/sys/dev/hatm/if_hatm_rx.c 1.3 +2 -2 src/sys/dev/hatm/if_hatm_tx.c