diff options
author | yongari <yongari@FreeBSD.org> | 2013-07-17 01:24:23 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2013-07-17 01:24:23 +0000 |
commit | c904a3d6dbb6ac2cf8f9a96c8f90a446d80cb9a2 (patch) | |
tree | 5a066a601656f22f13e2154f759c3a49e64809b3 /lib/libc/stdlib/getenv.c | |
parent | 64766411501b9c3d28d702eef8279e7168adc4be (diff) | |
download | FreeBSD-src-c904a3d6dbb6ac2cf8f9a96c8f90a446d80cb9a2.zip FreeBSD-src-c904a3d6dbb6ac2cf8f9a96c8f90a446d80cb9a2.tar.gz |
o TxD ring requires 8 bytes alignment to work so change alignment
constraint to 8. Previously it may have triggered watchdog
timeouts.
o Check whether interrupt is ours or not.
o Enable interrupts before attemping to transmit queued packets.
This will slightly improve TX performance.
o No need to clear IFF_DRV_OACTIVE in a loop. AE_FLAG_TXAVAIL is
used to know whether there are enough available TxD ring space.
o Added missing bus_dmamap_sync(9) in ae_rx_intr() and rearranged
code to avoid unncessary register access.
o Make sure to clear TxD, TxS, RxD rings in driver initialization.
Otherwise some data in these rings could be interpreted as
'updated' which in turn will advance internally maintained
pointers and can trigger watchdog timeouts.
PR: kern/180382
Diffstat (limited to 'lib/libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions