- NetBSD Manual Pages
NJATA(4) NetBSD Kernel Interfaces Manual NJATA(4)
Powered by man-cgi (2021-06-01).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
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:
NinjaATA-32Bi CardBus / PCMCIA dual mode IDE controller
(``DuoATA''). This controller is mainly used for
portable drives. This driver supports the CardBus
NPATA-32 CardBus IDE controller. This controller is widely
used for CardBus CompactFlash adapters.
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.
ata(4), atapi(4), cardbus(4), intro(4), wd(4), wdc(4)
The njata device driver first appeared in NetBSD 4.0.
NetBSD 9.1 September 7, 2006 NetBSD 9.1