summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src/system.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-04-15 00:04:23 +0000
committeradrian <adrian@FreeBSD.org>2012-04-15 00:04:23 +0000
commit3f3580908c1867806d913b76a03768e3d46b6a40 (patch)
tree925d345df27ee54d6da7f56c26fe20e229a76f93 /contrib/diff/src/system.h
parent63cc567af56bea6cec7adde058d42cac2355d6b0 (diff)
downloadFreeBSD-src-3f3580908c1867806d913b76a03768e3d46b6a40.zip
FreeBSD-src-3f3580908c1867806d913b76a03768e3d46b6a40.tar.gz
Override some default values to work around various issues in the deep,
dirty and murky past. * Override the default cache line size to be something reasonable if it's set to 0. Some NICs initialise with '0' (eg embedded ones) and there are comments in the driver stating that various OSes (eg older Linux ones) would incorrectly program things and 0 out this register. * Just default to overriding the latency timer. Every other driver does this. * Use a default cache line size of 32 bytes. It should be "reasonable enough". Obtained from: Linux ath9k, Atheros
Diffstat (limited to 'contrib/diff/src/system.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud