History

ata: parport_pc: add 16-bit and 8-bit fast EPP transfer flags

PARPORT_EPP_FAST flag currently uses 32-bit I/O port access for data read/write (insl/outsl). Add PARPORT_EPP_FAST_16 and PARPORT_EPP_FAST_8 that use insw/outsw and insb/outsb (and PARPORT_EPP_FAST_32 as alias for PARPORT_EPP_FAST).

Ondrej Zary committed 3 years ago

Commit 05f0ade1 parent 5e4696d2 files · +19 −4Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/parport.h+3−0
@@ -90,6 +90,9 @@ typedef enum { · 89 unmodified lines
9090 /* Flags for block transfer operations. */
9191 #define PARPORT_EPP_FAST (1<<0) /* Unreliable counts. */
9292 #define PARPORT_W91284PIC (1<<1) /* have a Warp9 w91284pic in the device */
93+#define PARPORT_EPP_FAST_32 PARPORT_EPP_FAST /* 32-bit EPP transfers */
94+#define PARPORT_EPP_FAST_16 (1<<2) /* 16-bit EPP transfers */
95+#define PARPORT_EPP_FAST_8 (1<<3) /* 8-bit EPP transfers */
9396
9497 /* The rest is for the kernel only */
9598 #endif /* _UAPI_PARPORT_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t