Date: Wed, 2 Jul 2003 06:53:41 -0700 (PDT) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/fatm if_fatm.c Message-ID: <200307021353.h62Drfvp083130@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/07/02 06:53:41 PDT
FreeBSD src repository
Modified files:
sys/dev/fatm if_fatm.c
Log:
Make the bus_dma_tag_create use NULL for the lock arguments. We are
careful to call all map_load calls with BUS_DMA_NOWAIT because we
really don't want some PDUs to wait while others go out - ATM guarantees
the ordering of cells and also of PDUs (within one VC, that is). With
BUS_DMA_NOWAIT bus_dmamap_load should never return EINPROGRESS.
Make the tag used for transmission buffers one larger than the maximum
AAL5 PDU (65535). This is needed, because all PDU sizes need to be round
up to multiple of four for the card and PDUs that are just below the
maximum size will be rounded up to 65536
Revision Changes Path
1.3 +6 -5 src/sys/dev/fatm/if_fatm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307021353.h62Drfvp083130>
