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).
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -90,6 +90,9 @@ typedef enum { · 89 unmodified lines | ||
| 90 | 90 | /* Flags for block transfer operations. */ |
| 91 | 91 | #define PARPORT_EPP_FAST (1<<0) /* Unreliable counts. */ |
| 92 | 92 | #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 */ | |
| 93 | 96 | |
| 94 | 97 | /* The rest is for the kernel only */ |
| 95 | 98 | #endif /* _UAPI_PARPORT_H_ */ |