![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* Miscellaneous definitions for VIA chipsets 0003 Currently used only by drivers/parport/parport_pc.c */ 0004 0005 /* Values for SuperIO function select configuration register */ 0006 #define VIA_FUNCTION_PARPORT_SPP 0x00 0007 #define VIA_FUNCTION_PARPORT_ECP 0x01 0008 #define VIA_FUNCTION_PARPORT_EPP 0x02 0009 #define VIA_FUNCTION_PARPORT_DISABLE 0x03 0010 #define VIA_FUNCTION_PROBE 0xFF /* Special magic value to be used in code, not to be written into chip */ 0011 0012 /* Bits for parallel port mode configuration register */ 0013 #define VIA_PARPORT_ECPEPP 0X20 0014 #define VIA_PARPORT_BIDIR 0x80 0015 0016 /* VIA configuration registers */ 0017 #define VIA_CONFIG_INDEX 0x3F0 0018 #define VIA_CONFIG_DATA 0x3F1 0019 0020 /* Mask for parallel port IRQ bits (in ISA PnP IRQ routing register 1) */ 0021 #define VIA_IRQCONTROL_PARALLEL 0xF0 0022 /* Mask for parallel port DMA bits (in ISA PnP DMA routing register) */ 0023 #define VIA_DMACONTROL_PARALLEL 0x0C
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |