Lines Matching +full:ide +full:- +full:port
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * (c) 1997-1998 Grant R. Guenther <[email protected]>
5 * comm.c is a low-level protocol driver for some older models of the DataStor
6 * "Commuter" parallel to IDE adapter. Some of the parallel port devices
20 * mode codes: 0 nybble reads, 8-bit writes
21 * 1 8-bit reads and writes
22 * 2 8-bit EPP mode
31 * cont = 0 - access the IDE register file
32 * cont = 1 - access the IDE command set
42 switch (pi->mode) { in comm_read_regr()
61 return -1; in comm_read_regr()
68 switch (pi->mode) { in comm_write_regr()
83 pi->saved_r0 = r0(); in comm_connect()
84 pi->saved_r2 = r2(); in comm_connect()
95 w0(pi->saved_r0); in comm_disconnect()
96 w2(pi->saved_r2); in comm_disconnect()
103 switch (pi->mode) { in comm_read_block()
147 switch (pi->mode) { in comm_write_block()
179 char *mode_string[5] = { "4-bit", "8-bit", "EPP-8", "EPP-16", "EPP-32" }; in comm_log_adapter()
181 dev_info(&pi->dev, in comm_log_adapter()
183 pi->port, pi->mode, mode_string[pi->mode], pi->delay); in comm_log_adapter()
204 MODULE_DESCRIPTION("DataStor Commuter parallel port IDE adapter protocol driver");