summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/a64l.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2009-09-24 17:53:00 +0000
committeryongari <yongari@FreeBSD.org>2009-09-24 17:53:00 +0000
commit15d9d0a9d238acd3c3b36ca55fe5b17ad061b477 (patch)
tree546fa747c5abe9ca0515721d115a721fa7abaa91 /lib/libc/stdlib/a64l.c
parent39fa231fbde6b12ece4b587923eecab28b2e22f2 (diff)
downloadFreeBSD-src-15d9d0a9d238acd3c3b36ca55fe5b17ad061b477.zip
FreeBSD-src-15d9d0a9d238acd3c3b36ca55fe5b17ad061b477.tar.gz
Align Tx/Rx descriptors on 32 bytes boundary instead of PAGE_SIZE.
Also align setup descriptor on 32 bytes boundary. Tx buffer have no alignment limitation so create dmamap without alignment restriction[1]. Rx buffer still seems to require 4 bytes alignment limitation but we can simply use MCLBYTES for size to map the buffer instead of TULIP_DATA_PER_DESC as the buffer is allocated with m_getcl(9). de(4) supports up to TULIP_MAX_TXSEG segments for Tx buffers, increase maximum dma segment size to TULIP_MAX_TXSEG * MCLBYTES. While I'm here remove TULIP_DATA_PER_DESC as it is not used anymore. This should fix de(4) breakage introduced after r176206. Submitted by: jhb [1] Reported by: WATANABE Kazuhiro < CQG00620 <> nifty dot ne dot jp > Tested by: WATANABE Kazuhiro < CQG00620 <> nifty dot ne dot jp >, Takahashi Yoshihiro < nyan <> jp dot freebsd dot org >
Diffstat (limited to 'lib/libc/stdlib/a64l.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud