linux/drivers/net/fddi
Maciej W. Rozycki 193ced4a79 FDDI: defxx: Make MMIO the configuration default except for EISA
Recent versions of the PCI Express specification have deprecated support
for I/O transactions and actually some PCIe host bridges, such as Power
Systems Host Bridge 4 (PHB4), do not implement them.

The default kernel configuration choice for the defxx driver is the use
of I/O ports rather than MMIO for PCI and EISA systems.  It may have
made sense as a conservative backwards compatible choice back when MMIO
operation support was added to the driver as a part of TURBOchannel bus
support.  However nowadays this configuration choice makes the driver
unusable with systems that do not implement I/O transactions for PCIe.

Make DEFXX_MMIO the configuration default then, except where configured
for EISA.  This exception is because an EISA adapter can have its MMIO
decoding disabled with ECU (EISA Configuration Utility) and therefore
not available with the resource allocation infrastructure we implement,
while port I/O is always readily available as it uses slot-specific
addressing, directly mapped to the slot an option card has been placed
in and handled with our EISA bus support core.  Conversely a kernel that
supports modern systems which may not have I/O transactions implemented
for PCIe will usually not be expected to handle legacy EISA systems.

The change of the default will make it easier for people, including but
not limited to distribution packagers, to make a working choice for the
driver.

Update the option description accordingly and while at it replace the
potentially ambiguous PIO acronym with IOP for "port I/O" vs "I/O ports"
according to our nomenclature used elsewhere.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Fixes: e89a2cfb7d ("[TC] defxx: TURBOchannel support")
Cc: stable@vger.kernel.org # v2.6.21+
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-10 13:08:15 -08:00
..
skfp net: fddi: skfp: smt: Replace one-element array with flexible-array member 2021-03-10 12:45:15 -08:00
defxx.c FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR 2021-03-10 13:08:15 -08:00
defxx.h FDDI: defxx: Update my e-mail address 2021-03-10 12:45:16 -08:00
defza.c FDDI: defza: Update my e-mail address 2021-03-10 12:45:16 -08:00
defza.h FDDI: defza: Add missing comment closing 2018-11-07 21:53:30 -08:00
Kconfig FDDI: defxx: Make MMIO the configuration default except for EISA 2021-03-10 13:08:15 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00