Go to file
Thomas Cort 437177b028 i2c: increase BUFLEN/CMDLEN to 128, add page flag.
128 byte reads are much more common than 32 byte reads. The message
passing + setup/teardown for a read is much more expensive, in terms
of time, than the reading itself. A slightly bigger struct is well
worth the time savings. This reduces read times for /dev/eeprom
from 57 seconds per 4KB to 14 seconds.

Additionally, make sending the page address in the eeprom driver
and utility optional. This can save a little time when reading
within the same page and allows support for smaller devices that
don't support pages (example: chips containing EDID).

Change-Id: Ie48087caee40c11fa241d1555fce9309ddd27b43
2013-07-27 08:21:37 -04:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin remove utimes() workarounds 2013-04-12 18:55:40 +00:00
commands i2c: increase BUFLEN/CMDLEN to 128, add page flag. 2013-07-27 08:21:37 -04:00
common Enable optional GCC install and GCC improvements 2013-07-12 14:22:03 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers i2c: increase BUFLEN/CMDLEN to 128, add page flag. 2013-07-27 08:21:37 -04:00
etc Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
external Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
gnu Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
include i2c: increase BUFLEN/CMDLEN to 128, add page flag. 2013-07-27 08:21:37 -04:00
kernel kernel: i2c padconf workaround 2013-07-15 11:11:13 -04:00
lib Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
libexec re-import makewhatis 2013-06-25 09:51:45 +00:00
man Importing libexec/fingerd 2013-06-02 08:14:05 -04:00
releasetools Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
sbin ext2: annotate cache blocks with inode metadata 2013-04-26 15:39:07 +00:00
servers Enable optional GCC install and GCC improvements 2013-07-12 14:22:03 +02:00
share Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
sys i2c: increase BUFLEN/CMDLEN to 128, add page flag. 2013-07-27 08:21:37 -04:00
test Enable optional GCC install and GCC improvements 2013-07-12 14:22:03 +02:00
tests Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
tools Enable optional GCC install and GCC improvements 2013-07-12 14:22:03 +02:00
usr.bin allow ldd mmap fallback 2013-06-12 07:05:11 +00:00
usr.sbin Importing usr.sbin/i2cscan 2013-07-15 11:11:13 -04:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00