NJATA(4) | Device Drivers Manual | NJATA(4) |
njata
— Workbit
NinjaATA-32 CardBus IDE controller driver
njata* at cardbus? function ?
njata* at cardbus? function ? flags 0x01 # with wait
0x01
The njata
driver provides support for the
following Workbit Bus-Master CardBus IDE controller chips:
These controllers are capable of bus-mastering for ATA PIO
transfer. The njata
driver uses the bus-mastering
PIO transfer unless transfer buffer is unaligned, and significantly reduces
CPU usage for PIO-only ATA devices compared with usual PIO transfer.
The optional flags parameter is the “wait” value for
ATA transfers. Some combinations of host and device may fail without flags
parameter or flags 0x00
. In this case try adding
wait values like flags 0x01
or
flags 0x11
(the wait parameter is composed of two
4-bit values). Smaller wait values should be faster. Too long waits may
cause transfer errors.
The njata
device driver first appeared in
NetBSD 4.0.
ITOH Yasufumi
September 7, 2006 | NetBSD 10.99 |