cvs commit: src/sys/dev/fatm if_fatm.c
Hartmut Brandt
harti at FreeBSD.org
Wed Jul 2 06:53:42 PDT 2003
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
More information about the cvs-src
mailing list