Delete microchannel [CONFIG_MCA] support
Subsystems (12)
cover Delete microchannel [CONFIG_MCA] support
It was good that we could support MCA machines back in the day, but realistically, nobody is using them anymore. They were limited to 386-sx 16MHz CPU and some 486 class machines and never more than 64MB of RAM. Even the enthusiast hobbyist community seems to have dried up close to ten years ago, based on what you can find searching various websites dedicated to the relatively short lived hardware.
So lets remove the support relating to CONFIG_MCA. There is no point carrying this forward, wasting cycles doing routine maintenance on it; wasting allyesconfig build time on validating it, wasting I/O on git grep'ping over it, and so on.
The commits shown here are based off net-next (d584515fb), since net-next has already removed the Token Ring support that was largely limited to IBM's MCA equipped machines (and hence depended on CONFIG_MCA).
I've not bothered to list the line-by-line deletions of whole files that are removed in this RFC, since that conveys no useful information.
Build coverage so far has been x86, x86_64, allyesconfig, allmodconfig.
Thanks,
Paul.
---
Paul Gortmaker (5):
arm: remove ability to select CONFIG_MCA drivers/net: delete all code/drivers depending on CONFIG_MCA
serial: delete the MCA specific 8250 support.
scsi: delete the MCA specific drivers and driver code
MCA: delete all remaining traces of microchannel bus support.
Documentation/00-INDEX | 2 - Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/kernel-api.tmpl | 13 - Documentation/DocBook/mcabook.tmpl | 107 -- Documentation/devices.txt | 8 +- Documentation/eisa.txt | 2 +- Documentation/kernel-parameters.txt | 1 - Documentation/mca.txt | 313 ---- Documentation/networking/3c509.txt | 1 - Documentation/networking/fore200e.txt | 6 +- Documentation/scsi/00-INDEX | 2 - Documentation/scsi/ibmmca.txt | 1402 ------------------ Documentation/scsi/scsi-parameters.txt | 6 - Documentation/scsi/scsi_mid_low_api.txt | 2 +- Documentation/serial/stallion.txt | 22 +- MAINTAINERS | 13 - arch/arm/Kconfig | 8 - arch/frv/include/asm/processor.h | 1 - arch/x86/Kconfig | 10 - arch/x86/include/asm/mca.h | 43 - arch/x86/include/asm/mca_dma.h | 201 --- arch/x86/include/asm/mpspec.h | 2 +- arch/x86/include/asm/mpspec_def.h | 3 +- arch/x86/kernel/Makefile | 1 - arch/x86/kernel/acpi/boot.c | 2 +- arch/x86/kernel/apic/io_apic.c | 17 +- arch/x86/kernel/mca_32.c | 476 ------ arch/x86/kernel/mpparse.c | 11 +- arch/x86/kernel/nmi.c | 12 - arch/x86/kernel/setup.c | 8 - arch/x86/kernel/time.c | 6 - arch/x86/kernel/traps.c | 4 - drivers/Makefile | 1 - drivers/mca/Kconfig | 14 - drivers/mca/Makefile | 7 - drivers/mca/mca-bus.c | 169 --- drivers/mca/mca-device.c | 218 --- drivers/mca/mca-driver.c | 63 - drivers/mca/mca-legacy.c | 329 ----- drivers/mca/mca-proc.c | 249 ---- drivers/message/i2o/i2o_proc.c | 13 - drivers/net/Space.c | 16 +- drivers/net/ethernet/3com/3c509.c | 123 +-- drivers/net/ethernet/8390/Kconfig | 24 - drivers/net/ethernet/8390/Makefile | 1 - drivers/net/ethernet/8390/ne2.c | 798 ----------- drivers/net/ethernet/8390/smc-mca.c | 575 -------- drivers/net/ethernet/amd/depca.c | 210 +--- drivers/net/ethernet/fujitsu/at1700.c | 120 +-- drivers/net/ethernet/i825xx/3c523.c | 1312 ----------------- drivers/net/ethernet/i825xx/3c523.h | 355 ----- drivers/net/ethernet/i825xx/3c527.c | 1660 --------------------- drivers/net/ethernet/i825xx/Kconfig | 22 - drivers/net/ethernet/i825xx/Makefile | 2 - drivers/net/ethernet/i825xx/eexpress.c | 60 +- drivers/net/ethernet/natsemi/Kconfig | 20 +- drivers/net/ethernet/natsemi/Makefile | 1 - drivers/scsi/Kconfig | 83 -- drivers/scsi/Makefile | 2 - drivers/scsi/aha1542.c | 66 +- drivers/scsi/fd_mcs.c | 1354 ------------------ drivers/scsi/ibmmca.c | 2379 ------------------------------- drivers/scsi/sim710.c | 124 +-- drivers/tty/serial/8250/8250_mca.c | 61 - drivers/tty/serial/8250/Kconfig | 9 - drivers/tty/serial/8250/Makefile | 1 - include/linux/i2o-dev.h | 2 +- include/linux/mca-legacy.h | 66 - include/linux/mca.h | 148 -- include/linux/serial.h | 2 - include/linux/serial_8250.h | 1 - scripts/kconfig/mconf.c | 2 +- scripts/kconfig/nconf.c | 2 +- 73 files changed, 50 insertions(+), 13321 deletions(-) delete mode 100644 Documentation/DocBook/mcabook.tmpl delete mode 100644 Documentation/mca.txt delete mode 100644 Documentation/scsi/ibmmca.txt delete mode 100644 arch/x86/include/asm/mca.h delete mode 100644 arch/x86/include/asm/mca_dma.h delete mode 100644 arch/x86/kernel/mca_32.c delete mode 100644 drivers/mca/Kconfig delete mode 100644 drivers/mca/Makefile delete mode 100644 drivers/mca/mca-bus.c delete mode 100644 drivers/mca/mca-device.c delete mode 100644 drivers/mca/mca-driver.c delete mode 100644 drivers/mca/mca-legacy.c delete mode 100644 drivers/mca/mca-proc.c delete mode 100644 drivers/net/ethernet/8390/ne2.c delete mode 100644 drivers/net/ethernet/8390/smc-mca.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.h delete mode 100644 drivers/net/ethernet/i825xx/3c527.c delete mode 100644 drivers/scsi/fd_mcs.c delete mode 100644 drivers/scsi/ibmmca.c delete mode 100644 drivers/tty/serial/8250/8250_mca.c delete mode 100644 include/linux/mca-legacy.h delete mode 100644 include/linux/mca.h
Signature · 1 line
1.7.9.1
PATCH 1/5 arm: remove ability to select CONFIG_MCA
It isn't clear to me why this ever existed, as I've never heard of an ARM board with an MCA bus. Regardless, the MCA bus support is going away, so remove the ability to select it from ARM.
--- arch/arm/Kconfig | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-)
arch/arm/Kconfig +0 -8
@@ -101,14 +101,6 @@ config EISA config SBUS bool -config MCA - bool - help - MicroChannel Architecture is found in some IBM PS/2 machines and - laptops. It is a bus system similar to PCI or ISA. See - <file:Documentation/mca.txt> (and especially the web page given - there) before attempting to build an MCA bus kernel. - config STACKTRACE_SUPPORT bool default y
Signature · 1 line
1.7.9.1
PATCH 2/5 drivers/net: delete all code/drivers depending on CONFIG_MCA
In reply to Paul GortmakerThe support for CONFIG_MCA is being removed, since the 20 year old hardware simply isn't capable of meeting today's software demands on CPU and memory resources.
This commit removes any MCA specific net drivers, and removes any MCA specific probe/support code from drivers that were doing a dual ISA/MCA role.
--- Documentation/networking/3c509.txt | 1 - Documentation/networking/fore200e.txt | 6 +- drivers/net/Space.c | 16 +- drivers/net/ethernet/3com/3c509.c | 123 +--- drivers/net/ethernet/8390/Kconfig | 24 - drivers/net/ethernet/8390/Makefile | 1 - drivers/net/ethernet/8390/ne2.c | 798 --------------- drivers/net/ethernet/8390/smc-mca.c | 575 ----------- drivers/net/ethernet/amd/depca.c | 210 +---- drivers/net/ethernet/fujitsu/at1700.c | 120 +--- drivers/net/ethernet/i825xx/3c523.c | 1312 ------------------------- drivers/net/ethernet/i825xx/3c523.h | 355 ------- drivers/net/ethernet/i825xx/3c527.c | 1660 -------------------------------- drivers/net/ethernet/i825xx/Kconfig | 22 - drivers/net/ethernet/i825xx/Makefile | 2 - drivers/net/ethernet/i825xx/eexpress.c | 60 +-- drivers/net/ethernet/natsemi/Kconfig | 20 +- drivers/net/ethernet/natsemi/Makefile | 1 - 18 files changed, 18 insertions(+), 5288 deletions(-) delete mode 100644 drivers/net/ethernet/8390/ne2.c delete mode 100644 drivers/net/ethernet/8390/smc-mca.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.h delete mode 100644 drivers/net/ethernet/i825xx/3c527.c
Documentation/networking/3c509.txt +0 -1
@@ -25,7 +25,6 @@ models: 3c509B (later revision of the ISA card; supports full-duplex) 3c589 (PCMCIA) 3c589B (later revision of the 3c589; supports full-duplex) - 3c529 (MCA) 3c579 (EISA) Large portions of this documentation were heavily borrowed from the guide
Documentation/networking/fore200e.txt +2 -4
@@ -11,12 +11,10 @@ i386, alpha (untested), powerpc, sparc and sparc64 archs. The intent is to enable the use of different models of FORE adapters at the same time, by hosts that have several bus interfaces (such as PCI+SBUS, -PCI+MCA or PCI+EISA). +or PCI+EISA). Only PCI and SBUS devices are currently supported by the driver, but support -for other bus interfaces such as EISA should not be too hard to add (this may -be more tricky for the MCA bus, though, as FORE made some MCA-specific -modifications to the adapter's AALI interface). +for other bus interfaces such as EISA should not be too hard to add. Firmware Copyright Notice
drivers/net/Space.c +1 -15
@@ -133,22 +133,9 @@ static struct devprobe2 eisa_probes[] __initdata = { {NULL, 0}, }; -static struct devprobe2 mca_probes[] __initdata = { -#ifdef CONFIG_NE2_MCA - {ne2_probe, 0}, -#endif -#ifdef CONFIG_ELMC /* 3c523 */ - {elmc_probe, 0}, -#endif -#ifdef CONFIG_ELMC_II /* 3c527 */ - {mc32_probe, 0}, -#endif - {NULL, 0}, -}; -/* * ISA probes that touch addresses < 0x400 (including those that also - * look for EISA/PCI/MCA cards in addition to ISA cards). +* look for EISA/PCI cards in addition to ISA cards). */ static struct devprobe2 isa_probes[] __initdata = {#if defined(CONFIG_HP100 ) && defined(CONFIG_ISA )/* ISA, EISA */
@@ -278,7 +265,6 @@ static void __init ethif_probe2(int unit) (void )(probe_list2 (unit, m68k_probes, base_addr ==0 ) &&probe_list2 (unit, eisa_probes, base_addr ==0 ) && -probe_list2 (unit, mca_probes, base_addr ==0 ) &&probe_list2 (unit, isa_probes, base_addr ==0 ) &&probe_list2 (unit, parport_probes, base_addr ==0 )); }
drivers/net/ethernet/3com/3c509.c +2 -121
171 lines not on this page · raw message
drivers/net/ethernet/8390/Kconfig +0 -24
@@ -182,18 +182,6 @@ config NE2000 To compile this driver as a module, choose M here. The module will be called ne. -config NE2_MCA - tristate "NE/2 (ne2000 MCA version) support" - depends on MCA_LEGACY - select CRC32 - ---help--- - If you have a network (Ethernet) card of this type, say Y and read - the Ethernet-HOWTO, available from - <http://www.tldp.org/docs.html#howto>. - - To compile this driver as a module, choose M here. The module - will be called ne2. - config NE2K_PCI tristate "PCI NE2000 and clones support (see help)" depends on PCI
@@ -267,18 +255,6 @@ config STNIC If unsure, say N. -config ULTRAMCA - tristate "SMC Ultra MCA support" - depends on MCA - select CRC32 - ---help--- - If you have a network (Ethernet) card of this type and are running - an MCA based system (PS/2), say Y and read the Ethernet-HOWTO, - available from <http://www.tldp.org/docs.html#howto>. - - To compile this driver as a module, choose M here. The module - will be called smc-mca. - config ULTRA tristate "SMC Ultra support" depends on ISA
drivers/net/ethernet/8390/Makefile +0 -1
@@ -24,6 +24,5 @@ obj-$(CONFIG_PCMCIA_PCNET) += pcnet_cs.o 8390.o obj-$(CONFIG_STNIC) += stnic.o 8390.o obj-$(CONFIG_ULTRA) += smc-ultra.o 8390.o obj-$(CONFIG_ULTRA32) += smc-ultra32.o 8390.o -obj-$(CONFIG_ULTRAMCA) += smc-mca.o 8390.o obj-$(CONFIG_WD80x3) += wd.o 8390.o obj-$(CONFIG_ZORRO8390) += zorro8390.o 8390.o
drivers/net/ethernet/8390/ne2.c deleted +0 -0
drivers/net/ethernet/8390/smc-mca.c deleted +0 -0
drivers/net/ethernet/amd/depca.c +4 -206
276 lines not on this page · raw message
drivers/net/ethernet/fujitsu/at1700.c +6 -114
199 lines not on this page · raw message
drivers/net/ethernet/i825xx/3c523.c deleted +0 -0
drivers/net/ethernet/i825xx/3c523.h deleted +0 -0
drivers/net/ethernet/i825xx/3c527.c deleted +0 -0
drivers/net/ethernet/i825xx/Kconfig +0 -22
@@ -43,28 +43,6 @@ config EL16 To compile this driver as a module, choose M here. The module will be called 3c507. -config ELMC - tristate "3c523 \"EtherLink/MC\" support" - depends on MCA_LEGACY - ---help--- - If you have a network (Ethernet) card of this type, say Y and read - the Ethernet-HOWTO, available from - <http://www.tldp.org/docs.html#howto>. - - To compile this driver as a module, choose M here. The module - will be called 3c523. - -config ELMC_II - tristate "3c527 \"EtherLink/MC 32\" support (EXPERIMENTAL)" - depends on MCA && MCA_LEGACY - ---help--- - If you have a network (Ethernet) card of this type, say Y and read - the Ethernet-HOWTO, available from - <http://www.tldp.org/docs.html#howto>. - - To compile this driver as a module, choose M here. The module - will be called 3c527. - config ARM_ETHER1 tristate "Acorn Ether1 support" depends on ARM && ARCH_ACORN
drivers/net/ethernet/i825xx/Makefile +0 -2
@@ -7,8 +7,6 @@ obj-$(CONFIG_EEXPRESS) += eexpress.o obj-$(CONFIG_EEXPRESS_PRO) += eepro.o obj-$(CONFIG_ELPLUS) += 3c505.o obj-$(CONFIG_EL16) += 3c507.o -obj-$(CONFIG_ELMC) += 3c523.o -obj-$(CONFIG_ELMC_II) += 3c527.o obj-$(CONFIG_LP486E) += lp486e.o obj-$(CONFIG_NI52) += ni52.o obj-$(CONFIG_SUN3_82586) += sun3_82586.o
drivers/net/ethernet/i825xx/eexpress.c +1 -59
84 lines not on this page · raw message
drivers/net/ethernet/natsemi/Kconfig +2 -18
@@ -6,9 +6,8 @@ config NET_VENDOR_NATSEMI bool "National Semi-conductor devices" default y depends on AMIGA_PCMCIA || ARM || EISA || EXPERIMENTAL || H8300 || \ - ISA || M32R || MAC || MACH_JAZZ || MACH_TX49XX || MCA || \ - MCA_LEGACY || MIPS || PCI || PCMCIA || SUPERH || \ - XTENSA_PLATFORM_XT2000 || ZORRO + ISA || M32R || MAC || MACH_JAZZ || MACH_TX49XX || MIPS || \ + PCI || PCMCIA || SUPERH || XTENSA_PLATFORM_XT2000 || ZORRO ---help--- If you have a network (Ethernet) card belonging to this class, say Y and read the Ethernet-HOWTO, available from
@@ -21,21 +20,6 @@ config NET_VENDOR_NATSEMI if NET_VENDOR_NATSEMI -config IBMLANA - tristate "IBM LAN Adapter/A support" - depends on MCA - ---help--- - This is a Micro Channel Ethernet adapter. You need to set - CONFIG_MCA to use this driver. It is both available as an in-kernel - driver and as a module. - - To compile this driver as a module, choose M here. The only - currently supported card is the IBM LAN Adapter/A for Ethernet. It - will both support 16K and 32K memory windows, however a 32K window - gives a better security against packet losses. Usage of multiple - boards with this driver should be possible, but has not been tested - up to now due to lack of hardware. - config MACSONIC tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)" depends on MAC
drivers/net/ethernet/natsemi/Makefile +0 -1
@@ -2,7 +2,6 @@ # Makefile for the National Semi-conductor Sonic devices. # -obj-$(CONFIG_IBMLANA) += ibmlana.o obj-$(CONFIG_MACSONIC) += macsonic.o obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o obj-$(CONFIG_NATSEMI) += natsemi.o
Signature · 1 line
1.7.9.1
Re: [PATCH 2/5] drivers/net: delete all code/drivers depending on CONFIG_MCA
On 12-05-17 12:40 PM, Paul Gortmaker wrote:
[..]
Quoted 6 lines
18 files changed, 18 insertions(+), 5288 deletions(-) delete mode 100644 drivers/net/ethernet/8390/ne2.c delete mode 100644 drivers/net/ethernet/8390/smc-mca.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.h delete mode 100644 drivers/net/ethernet/i825xx/3c527.c
I can also obviously delete 3c527.h too. Not sure why I didn't notice that until just now... :(
Paul.
---
Re: [PATCH 2/5] drivers/net: delete all code/drivers depending on CONFIG_MCA
Quoted 11 lines · [Re: [PATCH 2/5] drivers/net: delete all code/drivers depending on CONFIG_MCA]…
On 12-05-17 12:40 PM, Paul Gortmaker wrote:
[..]
Quoted 6 lines
18 files changed, 18 insertions(+), 5288 deletions(-) delete mode 100644 drivers/net/ethernet/8390/ne2.c delete mode 100644 drivers/net/ethernet/8390/smc-mca.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.h delete mode 100644 drivers/net/ethernet/i825xx/3c527.c
Quoted 2 lines
I can also obviously delete
3c527.htoo. Not sure why I didn't notice that until just now... :(
I've layered the above commit (with 3c527.h deleted) onto today's net-next, did a quick re-test of x86_64 allmodconfig and put it on a branch as per below (vs sending a 5000+ line patch).
Thanks,
Paul.
---
The following changes since commit bc6a4744b827c5a78ca591acca81809bddb8b2db:
net/mlx4_en: num cores tx rings for every UP (2012-05-17 16:17:50 -0400)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux.git delete-mca-net-drivers
for you to fetch changes up to a5e371f61ad33c07b28e7c9b60c78d71fdd34e2a:
drivers/net: delete all code/drivers depending on CONFIG_MCA (2012-05-17 16:37:41 -0400)
----------------------------------------------------------------
Paul Gortmaker (1):
drivers/net: delete all code/drivers depending on CONFIG_MCA
Documentation/networking/3c509.txt | 1 - Documentation/networking/fore200e.txt | 6 +- drivers/net/Space.c | 16 +- drivers/net/ethernet/3com/3c509.c | 123 +--- drivers/net/ethernet/8390/Kconfig | 24 - drivers/net/ethernet/8390/Makefile | 1 - drivers/net/ethernet/8390/ne2.c | 798 --------------- drivers/net/ethernet/8390/smc-mca.c | 575 ----------- drivers/net/ethernet/amd/depca.c | 210 +---- drivers/net/ethernet/fujitsu/at1700.c | 120 +--- drivers/net/ethernet/i825xx/3c523.c | 1312 ------------------------- drivers/net/ethernet/i825xx/3c523.h | 355 ------- drivers/net/ethernet/i825xx/3c527.c | 1660 -------------------------------- drivers/net/ethernet/i825xx/3c527.h | 81 -- drivers/net/ethernet/i825xx/Kconfig | 22 - drivers/net/ethernet/i825xx/Makefile | 2 - drivers/net/ethernet/i825xx/eexpress.c | 60 +-- drivers/net/ethernet/natsemi/Kconfig | 20 +- drivers/net/ethernet/natsemi/Makefile | 1 - 19 files changed, 18 insertions(+), 5369 deletions(-) delete mode 100644 drivers/net/ethernet/8390/ne2.c delete mode 100644 drivers/net/ethernet/8390/smc-mca.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.c delete mode 100644 drivers/net/ethernet/i825xx/3c523.h delete mode 100644 drivers/net/ethernet/i825xx/3c527.c delete mode 100644 drivers/net/ethernet/i825xx/3c527.h
RFC PATCH 1/1 hp100: delete VG/AnyLAN hp100
Quoted 1 line · Paul Gortmaker
[Re: [PATCH 2/5]
drivers/net: delete all code/drivers depending onCONFIG_MCA
If we're removing really old and unused stuff,
how about the VG/AnyLAN driver too?
--- drivers/net/ethernet/Kconfig | 1 - drivers/net/ethernet/Makefile | 1 - drivers/net/ethernet/hp/Kconfig | 32 - drivers/net/ethernet/hp/Makefile | 5 - drivers/net/ethernet/hp/hp100.c | 3066 -------------------------------------- drivers/net/ethernet/hp/hp100.h | 615 -------- 6 files changed, 0 insertions(+), 3720 deletions(-) delete mode 100644 drivers/net/ethernet/hp/Kconfig delete mode 100644 drivers/net/ethernet/hp/Makefile delete mode 100644 drivers/net/ethernet/hp/hp100.c delete mode 100644 drivers/net/ethernet/hp/hp100.h
drivers/net/ethernet/Kconfig +0 -1
@@ -52,7 +52,6 @@ source "drivers/net/ethernet/neterion/Kconfig" source "drivers/net/ethernet/faraday/Kconfig" source "drivers/net/ethernet/freescale/Kconfig" source "drivers/net/ethernet/fujitsu/Kconfig" -source "drivers/net/ethernet/hp/Kconfig" source "drivers/net/ethernet/ibm/Kconfig" source "drivers/net/ethernet/intel/Kconfig" source "drivers/net/ethernet/i825xx/Kconfig"
drivers/net/ethernet/Makefile +0 -1
@@ -27,7 +27,6 @@ obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ obj-$(CONFIG_NET_VENDOR_FARADAY) += faraday/ obj-$(CONFIG_NET_VENDOR_FREESCALE) += freescale/ obj-$(CONFIG_NET_VENDOR_FUJITSU) += fujitsu/ -obj-$(CONFIG_NET_VENDOR_HP) += hp/ obj-$(CONFIG_NET_VENDOR_IBM) += ibm/ obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
Re: [RFC PATCH net-next] hp100: delete VG/AnyLAN hp100
Joe Perches <[email protected]> :
Quoted 5 lines · Paul Gortmaker
Quoted 1 line
[Re: [PATCH 2/5]
drivers/net: delete all code/drivers depending onCONFIG_MCAIf we're removing really old and unused stuff,
how about the VG/AnyLAN driver too?
Joel Soete appeared to actively use a PCI one with recent kernels back in 2007.
Signature · 1 line
Ueimor
Re: [RFC PATCH net-next] hp100: delete VG/AnyLAN hp100
Quoted 9 lines · Francois Romieu
Joe Perches <[email protected]> :
Quoted 5 lines · Paul Gortmaker
Quoted 1 line
[Re: [PATCH 2/5]
drivers/net: delete all code/drivers depending onCONFIG_MCAIf we're removing really old and unused stuff,
how about the VG/AnyLAN driver too?Joel Soete appeared to actively use a PCI one with recent kernels back in 2007.
I saw people using TR adapters with Linux as of 2008/9.
That doesn't mean it's common or make it desirable to keep TR in the current kernel tree though.
Is VG/AnyLAN different?
Re: [RFC PATCH net-next] hp100: delete VG/AnyLAN hp100
Joe Perches <[email protected]> :
[...]
Quoted 4 lines
I saw people using TR adapters with Linux as of 2008/9.
That doesn't mean it's common or make it desirable to keep TR in the current kernel tree though.
I'll leave token ring PCI drivers where they are for now.
Quoted 1 line
Is VG/AnyLAN different?
Your own word: "unused". I see nothing wrong asking users if they still care. If no one cares about the hp100, fine.
Signature · 1 line
Ueimor
Re: [RFC PATCH net-next] hp100: delete VG/AnyLAN hp100
In reply to Francois RomieuHello Joe, et al,
Effectively, I was using a hp100 but this system is retired since 2 years now (but I keep it just in case of major failure of the new box).
Cheers,
J.
Quoted 10 lines · Francois Romieu
Joe Perches<[email protected]> :
Quoted 5 lines · Paul Gortmaker
Quoted 1 line
[Re: [PATCH 2/5]
drivers/net: delete all code/drivers depending onCONFIG_MCAIf we're removing really old and unused stuff,
how about the VG/AnyLAN driver too?Joel Soete appeared to actively use a PCI one with recent kernels back in 2007.
Re: [RFC PATCH net-next] hp100: delete VG/AnyLAN hp100
In reply to Joe PerchesHi!
Quoted 5 lines · Joe Perches
Quoted 1 line · Paul Gortmaker
[Re: [PATCH 2/5]
drivers/net: delete all code/drivers depending onCONFIG_MCAIf we're removing really old and unused stuff,
how about the VG/AnyLAN driver too?
hp100... I believe it has PCI variants and I have that somewhere. Please don't kill it.
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
David Miller
maintainerRe: [PATCH 2/5] drivers/net: delete all code/drivers depending on CONFIG_MCA
In reply to Paul GortmakerFrom: Paul Gortmaker <[email protected]>
Date: Thu, 17 May 2012 17:20:39 -0400
Quoted 3 lines
I've layered the above commit (with
3c527.hdeleted) onto today's net-next, did a quick re-test ofx86_64allmodconfig and put it on a branch as per below (vs sending a 5000+ line patch).
...
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux.gitdelete-mca-net-drivers
Pulled, thanks Paul.
PATCH 3/5 serial: delete the MCA specific 8250 support.
In reply to Paul GortmakerThe support for CONFIG_MCA is being removed, since the 20 year old hardware simply isn't capable of meeting today's software demands on CPU and memory resources.
This commit removes the MCA specific 8250 UART code.
--- Documentation/serial/stallion.txt | 22 ++++++------ drivers/tty/serial/8250/8250_mca.c | 61 ------------------------------------ drivers/tty/serial/8250/Kconfig | 9 ----- drivers/tty/serial/8250/Makefile | 1 - include/linux/serial.h | 2 - include/linux/serial_8250.h | 1 - 6 files changed, 11 insertions(+), 85 deletions(-) delete mode 100644 drivers/tty/serial/8250/8250_mca.c
Documentation/serial/stallion.txt +11 -11
@@ -20,10 +20,10 @@ There are two drivers that work with the different families of Stallion multiport serial boards. One is for the Stallion smart boards - that is EasyIO, EasyConnection 8/32 and EasyConnection 8/64-PCI, the other for the true Stallion intelligent multiport boards - EasyConnection 8/64 -(ISA, EISA, MCA), EasyConnection/RA-PCI, ONboard and Brumby. +(ISA, EISA), EasyConnection/RA-PCI, ONboard and Brumby. If you are using any of the Stallion intelligent multiport boards (Brumby, -ONboard, EasyConnection 8/64 (ISA, EISA, MCA), EasyConnection/RA-PCI) with +ONboard, EasyConnection 8/64 (ISA, EISA), EasyConnection/RA-PCI) with Linux you will need to get the driver utility package. This contains a firmware loader and the firmware images necessary to make the devices operate.
@@ -40,7 +40,7 @@ If you are using the EasyIO, EasyConnection 8/32 or EasyConnection 8/64-PCI boards then you don't need this package, although it does have a serial stats display program. -If you require DIP switch settings, EISA or MCA configuration files, or any +If you require DIP switch settings, or EISA configuration files, or any other information related to Stallion boards then have a look at Stallion's web pages at http://www.stallion.com.
@@ -51,13 +51,13 @@ web pages at http://www.stallion.com. The drivers can be used as loadable modules or compiled into the kernel. You can choose which when doing a "config" on the kernel. -All ISA, EISA and MCA boards that you want to use need to be configured into +All ISA, and EISA boards that you want to use need to be configured into the driver(s). All PCI boards will be automatically detected when you load the driver - so they do not need to be entered into the driver(s) configuration structure. Note that kernel PCI support is required to use PCI boards. -There are two methods of configuring ISA, EISA and MCA boards into the drivers. +There are two methods of configuring ISA and EISA boards into the drivers. If using the driver as a loadable module then the simplest method is to pass the driver configuration as module arguments. The other method is to modify the driver source to add configuration lines for each board in use.
@@ -71,12 +71,12 @@ That makes things pretty simple to get going. 2.1 MODULE DRIVER CONFIGURATION: The simplest configuration for modules is to use the module load arguments -to configure any ISA, EISA or MCA boards. PCI boards are automatically +to configure any ISA or EISA boards. PCI boards are automatically detected, so do not need any additional configuration at all. -If using EasyIO, EasyConnection 8/32 ISA or MCA, or EasyConnection 8/63-PCI +If using EasyIO, EasyConnection 8/32 ISA, or EasyConnection 8/63-PCI boards then use the "stallion" driver module, Otherwise if you are using -an EasyConnection 8/64 ISA, EISA or MCA, EasyConnection/RA-PCI, ONboard, +an EasyConnection 8/64 ISA or EISA, EasyConnection/RA-PCI, ONboard, Brumby or original Stallion board then use the "istallion" driver module. Typically to load up the smart board driver use:
@@ -146,7 +146,7 @@ on each system boot. Typically configuration files are put in the 2.2 STATIC DRIVER CONFIGURATION: For static driver configuration you need to modify the driver source code. -Entering ISA, EISA and MCA boards into the driver(s) configuration structure +Entering ISA and EISA boards into the driver(s) configuration structure involves editing the driver(s) source file. It's pretty easy if you follow the instructions below. Both drivers can support up to 4 boards. The smart card driver (the stallion.c driver) supports any combination of EasyIO and
@@ -157,7 +157,7 @@ supports any combination of ONboards, Brumbys, Stallions and EasyConnection To set up the driver(s) for the boards that you want to use you need to edit the appropriate driver file and add configuration entries. -If using EasyIO or EasyConnection 8/32 ISA or MCA boards, +If using EasyIO or EasyConnection 8/32 ISA boards, In drivers/char/stallion.c: - find the definition of the stl_brdconf array (of structures) near the top of the file
@@ -243,7 +243,7 @@ change it on the board. On EasyIO and EasyConnection 8/32 boards the IRQ is software programmable, so if there is a conflict you may need to change the IRQ used for a board. There are no interrupts to worry about for ONboard, Brumby or EasyConnection 8/64 -(ISA, EISA and MCA) boards. The memory region on EasyConnection 8/64 and +(ISA and EISA) boards. The memory region on EasyConnection 8/64 and ONboard boards is software programmable, but not on the Brumby boards.
drivers/tty/serial/8250/8250_mca.c deleted +0 -0
drivers/tty/serial/8250/Kconfig +0 -9
@@ -241,15 +241,6 @@ config SERIAL_8250_RSA help ::: To be written ::: -config SERIAL_8250_MCA - tristate "Support 8250-type ports on MCA buses" - depends on SERIAL_8250 != n && MCA - help - Say Y here if you have a MCA serial ports. - - To compile this driver as a module, choose M here: the module - will be called 8250_mca. - config SERIAL_8250_ACORN tristate "Acorn expansion card serial port support" depends on ARCH_ACORN && SERIAL_8250
drivers/tty/serial/8250/Makefile +0 -1
@@ -15,6 +15,5 @@ obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o -obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o obj-$(CONFIG_SERIAL_8250_FSL) += 8250_fsl.o obj-$(CONFIG_SERIAL_8250_DW) += 8250_dw.o
include/linux/serial.h +0 -2
@@ -130,7 +130,6 @@ struct serial_uart_config {#define ASYNCB_CHECK_CD 25/* i.e., CLOCAL */ #define ASYNCB_SHARE_IRQ 24/* for multifunction cards, no longer used */ #define ASYNCB_CONS_FLOW 23/* flow control for console */ -#define ASYNCB_BOOT_ONLYMCA 22/* Probe only if MCA bus */ #define ASYNCB_FIRST_KERNEL 22#define ASYNC_HUP_NOTIFY (1U << ASYNCB_HUP_NOTIFY)
@@ -166,7 +165,6 @@ struct serial_uart_config {#define ASYNC_CHECK_CD (1U << ASYNCB_CHECK_CD)#define ASYNC_SHARE_IRQ (1U << ASYNCB_SHARE_IRQ)#define ASYNC_CONS_FLOW (1U << ASYNCB_CONS_FLOW) -#define ASYNC_BOOT_ONLYMCA (1U << ASYNCB_BOOT_ONLYMCA)#define ASYNC_INTERNAL_FLAGS (~((1U << ASYNCB_FIRST_KERNEL) - 1))/*
include/linux/serial_8250.h +0 -1
@@ -54,7 +54,6 @@ enum {PLAT8250_DEV_BOCA ,PLAT8250_DEV_EXAR_ST16C554 ,PLAT8250_DEV_HUB6 , -PLAT8250_DEV_MCA ,PLAT8250_DEV_AU1X00 , PLAT8250_DEV_SM501, };
Signature · 1 line
1.7.9.1
Re: [PATCH 3/5] serial: delete the MCA specific 8250 support.
Quoted 10 lines · Paul Gortmaker
The support for
CONFIG_MCAis being removed, since the 20 year old hardware simply isn't capable of meeting today's software demands on CPU and memory resources.This commit removes the MCA specific 8250 UART code.
Cc Alan Cox <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>
Do you want me to take this through my tty tree, or are you sending this through some other means?
thanks,
greg k-h
Re: [PATCH 3/5] serial: delete the MCA specific 8250 support.
Quoted 12 lines · [Re: [PATCH 3/5] serial: delete the MCA specific 8250 support.] On 17/05/2012…
Quoted 10 lines · Paul Gortmaker
The support for
CONFIG_MCAis being removed, since the 20 year old hardware simply isn't capable of meeting today's software demands on CPU and memory resources.This commit removes the MCA specific 8250 UART code.
Cc Alan Cox <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>
Quoted 4 lines
Do you want me to take this through my tty tree, or are you sending this through some other means?
Since it depends on Linus pulling net-next 1st (otherwise we'll get allyesconfig fails in tokenring), it probably makes sense for me to just sit on all of it and then feed it to Linus after I've seen him pull Dave's net-next with the token ring removal.
Unless someone has a better plan?
Thanks,
Paul.
--
Quoted 4 lines
thanks,
greg k-h
David Miller
maintainerRe: [PATCH 3/5] serial: delete the MCA specific 8250 support.
From: Paul Gortmaker <[email protected]>
Date: Thu, 17 May 2012 12:59:06 -0400
Quoted 6 lines
Since it depends on Linus pulling net-next 1st (otherwise we'll get allyesconfig fails in tokenring), it probably makes sense for me to just sit on all of it and then feed it to Linus after I've seen him pull Dave's net-next with the token ring removal.
Unless someone has a better plan?
Sounds good.
Meanwhile, Paul, if you respin patch #2 I can toss that directly into my net-next tree since that's all networking stuff anyways.
Thanks.
Re: [PATCH 3/5] serial: delete the MCA specific 8250 support.
Quoted 8 lines · [Re: [PATCH 3/5] serial: delete the MCA specific 8250 support.] On 17/05/2012…
From: Paul Gortmaker <[email protected]>
Date: Thu, 17 May 2012 12:59:06 -0400Quoted 5 lines
Since it depends on Linus pulling net-next 1st (otherwise we'll get allyesconfig fails in tokenring), it probably makes sense for me to just sit on all of it and then feed it to Linus after I've seen him pull Dave's net-next with the token ring removal.
Quoted 6 lines
Quoted 1 line
Unless someone has a better plan?
Sounds good.
Meanwhile, Paul, if you respin patch #2 I can toss that directly into my net-next tree since that's all networking stuff anyways.
OK. I'm just double checking with an allyesconfig on the respin of the #2 in isolation and then I'll follow up in the #2 thread with it.
Thanks,
Paul.
Quoted 2 lines
Thanks.
PATCH 4/5 scsi: delete the MCA specific drivers and driver code
In reply to Paul GortmakerThe support for CONFIG_MCA is being removed, since the 20 year old hardware simply isn't capable of meeting today's software demands on CPU and memory resources.
This commit removes the MCA specific SCSI drivers, and the MCA specific portions of code in dual role ISA/MCA drivers. Also, the MCA specific SCSI documentation is removed.
--- Documentation/scsi/00-INDEX | 2 - Documentation/scsi/ibmmca.txt | 1402 ------------------ Documentation/scsi/scsi-parameters.txt | 6 - Documentation/scsi/scsi_mid_low_api.txt | 2 +- drivers/scsi/Kconfig | 83 -- drivers/scsi/Makefile | 2 - drivers/scsi/aha1542.c | 66 +- drivers/scsi/fd_mcs.c | 1354 ------------------ drivers/scsi/ibmmca.c | 2379 ------------------------------- drivers/scsi/sim710.c | 124 +-- 10 files changed, 6 insertions(+), 5414 deletions(-) delete mode 100644 Documentation/scsi/ibmmca.txt delete mode 100644 drivers/scsi/fd_mcs.c delete mode 100644 drivers/scsi/ibmmca.c
Documentation/scsi/00-INDEX +0 -2
@@ -56,8 +56,6 @@ g_NCR5380.txt - info on driver for NCR5380 and NCR53c400 based adapters hptiop.txt - HIGHPOINT ROCKETRAID 3xxx RAID DRIVER -ibmmca.txt - - info on driver for IBM adapters with MCA bus in2000.txt - info on in2000 driver libsas.txt
Documentation/scsi/ibmmca.txt deleted +0 -0
Documentation/scsi/scsi-parameters.txt +0 -6
@@ -37,9 +37,6 @@ parameters may be changed at runtime by the command eata= [HW,SCSI] - fd_mcs= [HW,SCSI] - See header of drivers/scsi/fd_mcs.c. - fdomain= [HW,SCSI] See header of drivers/scsi/fdomain.c.
@@ -48,9 +45,6 @@ parameters may be changed at runtime by the command gvp11= [HW,SCSI] - ibmmcascsi= [HW,MCA,SCSI] IBM MicroChannel SCSI adapter - See Documentation/mca.txt. - in2000= [HW,SCSI] See header of drivers/scsi/in2000.c.
Documentation/scsi/scsi_mid_low_api.txt +1 -1
@@ -30,7 +30,7 @@ the motherboard (or both). Some aic7xxx based HBAs are dual controllers and thus represent two hosts. Like most modern HBAs, each aic7xxx host has its own PCI device address. [The one-to-one correspondence between a SCSI host and a PCI device is common but not required (e.g. with -ISA or MCA adapters).] +ISA adapters).] The SCSI mid level isolates an LLD from other layers such as the SCSI upper layer drivers and the block layer.
drivers/scsi/Kconfig +0 -83
95 lines not on this page · raw message
drivers/scsi/Makefile +0 -2
@@ -75,7 +75,6 @@ obj-$(CONFIG_SCSI_AIC94XX) += aic94xx/ obj-$(CONFIG_SCSI_PM8001) += pm8001/ obj-$(CONFIG_SCSI_ISCI) += isci/ obj-$(CONFIG_SCSI_IPS) += ips.o -obj-$(CONFIG_SCSI_FD_MCS) += fd_mcs.o obj-$(CONFIG_SCSI_FUTURE_DOMAIN)+= fdomain.o obj-$(CONFIG_SCSI_IN2000) += in2000.o obj-$(CONFIG_SCSI_GENERIC_NCR5380) += g_NCR5380.o
@@ -100,7 +99,6 @@ obj-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2/ obj-$(CONFIG_SCSI_ZALON) += zalon7xx.o obj-$(CONFIG_SCSI_EATA_PIO) += eata_pio.o obj-$(CONFIG_SCSI_7000FASST) += wd7000.o -obj-$(CONFIG_SCSI_IBMMCA) += ibmmca.o obj-$(CONFIG_SCSI_EATA) += eata.o obj-$(CONFIG_SCSI_DC395x) += dc395x.o obj-$(CONFIG_SCSI_DC390T) += tmscsim.o
drivers/scsi/aha1542.c +2 -64
90 lines not on this page · raw message
drivers/scsi/fd_mcs.c deleted +0 -0
drivers/scsi/ibmmca.c deleted +0 -0
drivers/scsi/sim710.c +3 -121
166 lines not on this page · raw message
Signature · 1 line
1.7.9.1
PATCH 5/5 MCA: delete all remaining traces of microchannel bus support.
In reply to Paul GortmakerHardware with MCA bus is limited to 386 and 486 class machines that are now 20+ years old and typically with less than 32MB of memory. A quick search on the internet, and you see that even the MCA hobbyist/enthusiast community has lost interest in the early 2000 era and never really even moved ahead from the 2.4 kernels to the 2.6 series.
This deletes anything remaining related to CONFIG_MCA from core kernel code and from the x86 architecture. There is no point in carrying this any further into the future.
One complication to watch for is inadvertently scooping up stuff relating to machine check, since there is overlap in the TLA name space (e.g. arch/x86/boot/mca.c).
--- Documentation/00-INDEX | 2 - Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/kernel-api.tmpl | 13 - Documentation/DocBook/mcabook.tmpl | 107 -------- Documentation/devices.txt | 8 +- Documentation/eisa.txt | 2 +- Documentation/kernel-parameters.txt | 1 - Documentation/mca.txt | 313 ---------------------- MAINTAINERS | 13 - arch/frv/include/asm/processor.h | 1 - arch/x86/Kconfig | 10 - arch/x86/include/asm/mca.h | 43 --- arch/x86/include/asm/mca_dma.h | 201 -------------- arch/x86/include/asm/mpspec.h | 2 +- arch/x86/include/asm/mpspec_def.h | 3 +- arch/x86/kernel/Makefile | 1 - arch/x86/kernel/acpi/boot.c | 2 +- arch/x86/kernel/apic/io_apic.c | 17 +- arch/x86/kernel/mca_32.c | 476 --------------------------------- arch/x86/kernel/mpparse.c | 11 +- arch/x86/kernel/nmi.c | 12 - arch/x86/kernel/setup.c | 8 - arch/x86/kernel/time.c | 6 - arch/x86/kernel/traps.c | 4 - drivers/Makefile | 1 - drivers/mca/Kconfig | 14 - drivers/mca/Makefile | 7 - drivers/mca/mca-bus.c | 169 ------------ drivers/mca/mca-device.c | 218 --------------- drivers/mca/mca-driver.c | 63 ----- drivers/mca/mca-legacy.c | 329 ----------------------- drivers/mca/mca-proc.c | 249 ----------------- drivers/message/i2o/i2o_proc.c | 13 - include/linux/i2o-dev.h | 2 +- include/linux/mca-legacy.h | 66 ----- include/linux/mca.h | 148 ---------- scripts/kconfig/mconf.c | 2 +- scripts/kconfig/nconf.c | 2 +- 38 files changed, 15 insertions(+), 2526 deletions(-) delete mode 100644 Documentation/DocBook/mcabook.tmpl delete mode 100644 Documentation/mca.txt delete mode 100644 arch/x86/include/asm/mca.h delete mode 100644 arch/x86/include/asm/mca_dma.h delete mode 100644 arch/x86/kernel/mca_32.c delete mode 100644 drivers/mca/Kconfig delete mode 100644 drivers/mca/Makefile delete mode 100644 drivers/mca/mca-bus.c delete mode 100644 drivers/mca/mca-device.c delete mode 100644 drivers/mca/mca-driver.c delete mode 100644 drivers/mca/mca-legacy.c delete mode 100644 drivers/mca/mca-proc.c delete mode 100644 include/linux/mca-legacy.h delete mode 100644 include/linux/mca.h
Documentation/00-INDEX +0 -2
@@ -218,8 +218,6 @@ m68k/ - directory with info about Linux on Motorola 68k architecture. magic-number.txt - list of magic numbers used to mark/protect kernel data structures. -mca.txt - - info on supporting Micro Channel Architecture (e.g. PS/2) systems. md.txt - info on boot arguments for the multiple devices driver. memory-barriers.txt
Documentation/DocBook/Makefile +1 -1
@@ -6,7 +6,7 @@ # To add a new book the only step required is to add the book to the # list of DOCBOOKS. -DOCBOOKS := z8530book.xml mcabook.xml device-drivers.xml \ +DOCBOOKS := z8530book.xml device-drivers.xml \ kernel-hacking.xml kernel-locking.xml deviceiobook.xml \ writing_usb_driver.xml networking.xml \ kernel-api.xml filesystems.xml lsm.xml usb.xml kgdb.xml \
Documentation/DocBook/kernel-api.tmpl +0 -13
@@ -212,19 +212,6 @@ X!Edrivers/pci/hotplug.c <sect1><title>PCI Hotplug Support Library</title> !Edrivers/pci/hotplug/pci_hotplug_core.c </sect1> - <sect1><title>MCA Architecture</title> - <sect2><title>MCA Device Functions</title> - <para> - Refer to the file arch/x86/kernel/mca_32.c for more information. - </para> -<!-- FIXME: Removed for now since no structured comments in source -X!Earch/x86/kernel/mca_32.c ---> - </sect2> - <sect2><title>MCA Bus DMA</title> -!Iarch/x86/include/asm/mca_dma.h - </sect2> - </sect1> </chapter> <chapter id="firmware">
Documentation/DocBook/mcabook.tmpl deleted +0 -0
Documentation/devices.txt +1 -7
@@ -846,13 +846,7 @@ Your cooperation is appreciated. ... 31 = /dev/tap15 16th Ethertap device - 36 block MCA ESDI hard disk - 0 = /dev/eda First ESDI disk whole disk - 64 = /dev/edb Second ESDI disk whole disk - ... - - Partitions are handled in the same way as IDE disks - (see major number 3). + 36 block OBSOLETE (was MCA ESDI hard disk) 37 char IDE tape 0 = /dev/ht0 First IDE tape
Documentation/eisa.txt +1 -1
@@ -179,7 +179,7 @@ CONFIG_ALPHA_JENSEN or CONFIG_EISA_VLB_PRIMING are set. Converting an EISA driver to the new API mostly involves *deleting* code (since probing is now in the core EISA code). Unfortunately, most -drivers share their probing routine between ISA, MCA and EISA. Special +drivers share their probing routine between ISA, and EISA. Special care must be taken when ripping out the EISA code, so other busses won't suffer from these surgical strikes...
Documentation/kernel-parameters.txt +0 -1
@@ -70,7 +70,6 @@ parameter is applicable: M68k M68k architecture is enabled. These options have more detailed description inside of Documentation/m68k/kernel-options.txt. - MCA MCA bus support is enabled. MDA MDA console support is enabled. MIPS MIPS architecture is enabled. MOUSE Appropriate mouse support is enabled.
Documentation/mca.txt deleted +0 -0
MAINTAINERS +0 -13
@@ -3317,12 +3317,6 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git S: Maintained F: arch/ia64/ -IBM MCA SCSI SUBSYSTEM DRIVER -M: Michael Lang <[email protected]> -W: http://www.uni-mainz.de/~langm000/linux.html -S: Maintained -F: drivers/scsi/ibmmca.c - IBM Power Linux RAID adapter M: Brian King <[email protected]> S: Supported
@@ -4418,13 +4412,6 @@ T: git git://git.monstr.eu/linux-2.6-microblaze.git S: Supported F: arch/microblaze/ -MICROCHANNEL ARCHITECTURE (MCA) -M: James Bottomley <[email protected]> -S: Maintained -F: Documentation/mca.txt -F: drivers/mca/ -F: include/linux/mca* - MICROTEK X6 SCANNER M: Oliver Neukum <[email protected]> S: Maintained
arch/frv/include/asm/processor.h +0 -1
@@ -54,7 +54,6 @@ extern struct cpuinfo_frv __nongprelbss boot_cpu_data;* Bus types */ #define EISA_bus 0 -#define MCA_bus 0struct thread_struct {struct pt_regs *frame;/* [GR28] exception frame ptr for this thread */
arch/x86/Kconfig +0 -10
@@ -2023,16 +2023,6 @@ config EISA source "drivers/eisa/Kconfig" -config MCA - bool "MCA support" - ---help--- - MicroChannel Architecture is found in some IBM PS/2 machines and - laptops. It is a bus system similar to PCI or ISA. See - <file:Documentation/mca.txt> (and especially the web page given - there) before attempting to build an MCA bus kernel. - -source "drivers/mca/Kconfig" - config SCx200 tristate "NatSemi SCx200 support" ---help---
arch/x86/include/asm/mca.h deleted +0 -0
arch/x86/include/asm/mca_dma.h deleted +0 -0
arch/x86/include/asm/mpspec.h +1 -1
@@ -40,7 +40,7 @@ extern int quad_local_to_mp_bus_id [NR_CPUS/4][4];#endif /* CONFIG_X86_64 */ -#if defined(CONFIG_MCA ) || defined(CONFIG_EISA ) +#ifdef CONFIG_EISA extern int mp_bus_id_to_type[MAX_MP_BUSSES ];#endif
arch/x86/include/asm/mpspec_def.h +1 -2
@@ -84,7 +84,7 @@ struct mpc_bus {#define BUSTYPE_EISA "EISA"#define BUSTYPE_ISA "ISA"#define BUSTYPE_INTERN "INTERN"/* Internal BUS */ -#define BUSTYPE_MCA "MCA" +#define BUSTYPE_MCA "MCA"/* Obsolete */ #define BUSTYPE_VL "VL"/* Local bus */ #define BUSTYPE_PCI "PCI"#define BUSTYPE_PCMCIA "PCMCIA"
@@ -169,6 +169,5 @@ enum mp_bustype {MP_BUS_ISA =1 ,MP_BUS_EISA , MP_BUS_PCI, - MP_BUS_MCA, };#endif /* _ASM_X86_MPSPEC_DEF_H */
arch/x86/kernel/Makefile +0 -1
@@ -49,7 +49,6 @@ obj-y += cpu/ obj-y += acpi/ obj-y += reboot.o obj-$(CONFIG_X86_32) += reboot_32.o -obj-$(CONFIG_MCA) += mca_32.o obj-$(CONFIG_X86_MSR) += msr.o obj-$(CONFIG_X86_CPUID) += cpuid.o obj-$(CONFIG_PCI) += early-quirks.o
arch/x86/kernel/acpi/boot.c +1 -1
@@ -990,7 +990,7 @@ void __init mp_config_acpi_legacy_irqs(void)int i;struct mpc_intsrc mp_irq; -#if defined (CONFIG_MCA ) || defined (CONFIG_EISA ) +#ifdef CONFIG_EISA /* * Fabricate the legacy ISA bus (bus #31). */
arch/x86/kernel/apic/io_apic.c +3 -14
@@ -142,7 +142,7 @@ int mp_irq_entries;/* GSI interrupts */ static int nr_irqs_gsi =NR_IRQS_LEGACY ; -#if defined (CONFIG_MCA ) || defined (CONFIG_EISA ) +#ifdef CONFIG_EISA int mp_bus_id_to_type[MAX_MP_BUSSES ];#endif
@@ -875,7 +875,7 @@ static int __init find_isa_irq_apic(int irq, int type)return -1 ; } -#if defined(CONFIG_EISA ) || defined(CONFIG_MCA ) +#ifdef CONFIG_EISA /* * EISA Edge/Level control register, ELCR */
@@ -912,12 +912,6 @@ static int EISA_ELCR(unsigned int irq)#define default_PCI_trigger (idx) (1)#define default_PCI_polarity (idx) (1) -/* MCA interrupts are always polarity zero level triggered, -* when listed as conforming in the MP table. */ - -#define default_MCA_trigger (idx) (1) -#define default_MCA_polarity (idx) default_ISA_polarity(idx) -static int irq_polarity (int idx) {int bus = mp_irqs[idx].srcbus;
@@ -975,7 +969,7 @@ static int irq_trigger(int idx) trigger =default_ISA_trigger (idx); else trigger =default_PCI_trigger (idx); -#if defined(CONFIG_EISA ) || defined(CONFIG_MCA ) +#ifdef CONFIG_EISA switch (mp_bus_id_to_type[bus]) {case MP_BUS_ISA :/* ISA pin */ {
@@ -992,11 +986,6 @@ static int irq_trigger(int idx)/* set before the switch */ break ; } -case MP_BUS_MCA :/* MCA pin */ - { - trigger =default_MCA_trigger (idx); -break ; - }default : {printk (KERN_WARNING "broken BIOS!!\n" );
arch/x86/kernel/mca_32.c deleted +0 -0
arch/x86/kernel/mpparse.c +3 -8
@@ -97,7 +97,7 @@ static void __init MP_bus_info(struct mpc_bus *m)set_bit (m->busid, mp_bus_not_pci);if (strncmp (str,BUSTYPE_ISA ,sizeof (BUSTYPE_ISA ) -1 ) ==0 ) { -#if defined(CONFIG_EISA ) || defined(CONFIG_MCA ) +#ifdef CONFIG_EISA mp_bus_id_to_type[m->busid] =MP_BUS_ISA ;#endif }else if (strncmp (str,BUSTYPE_PCI ,sizeof (BUSTYPE_PCI ) -1 ) ==0 ) {
@@ -105,12 +105,10 @@ static void __init MP_bus_info(struct mpc_bus *m) x86_init.mpparse.mpc_oem_pci_bus (m);clear_bit (m->busid, mp_bus_not_pci); -#if defined(CONFIG_EISA ) || defined(CONFIG_MCA ) +#ifdef CONFIG_EISA mp_bus_id_to_type[m->busid] = MP_BUS_PCI; }else if (strncmp (str,BUSTYPE_EISA ,sizeof (BUSTYPE_EISA ) -1 ) ==0 ) { mp_bus_id_to_type[m->busid] =MP_BUS_EISA ; - }else if (strncmp (str,BUSTYPE_MCA ,sizeof (BUSTYPE_MCA ) -1 ) ==0 ) { - mp_bus_id_to_type[m->busid] =MP_BUS_MCA ;#endif }else printk (KERN_WARNING "Unknown bustype %s - ignoring\n" , str);
@@ -368,9 +366,6 @@ static void __init construct_ioapic_table(int mpc_default_type)case 3 :memcpy (bus.bustype,"EISA " ,6 );break ; -case 4 : -case 7 : -memcpy (bus.bustype,"MCA " ,6 ); }MP_bus_info (&bus);if (mpc_default_type >4 ) {
@@ -623,7 +618,7 @@ void __init default_find_smp_config(void)return ;/* * If it is an SMP machine we should know now, unless the -* configuration is in an EISA/MCA bus machine with an +* configuration is in an EISA bus machine with an * extended bios data area. * * there is a real-mode segmented pointer pointing to the
arch/x86/kernel/nmi.c +0 -12
@@ -19,8 +19,6 @@#include <linux/slab.h> #include <linux/export.h> -#include <linux/mca.h> -#if defined(CONFIG_EDAC )#include <linux/edac.h> #endif
@@ -282,16 +280,6 @@ unknown_nmi_error(unsigned char reason, struct pt_regs *regs)__this_cpu_add (nmi_stats.unknown,1 ); -#ifdef CONFIG_MCA -/* -* Might actually be able to figure out what the guilty party -* is: -*/ -if (MCA_bus) { -mca_handle_nmi (); -return ; - } -#endif pr_emerg ("Uhhuh. NMI received for unknown reason %02x on CPU %d.\n" , reason,smp_processor_id ());
arch/x86/kernel/setup.c +0 -8
@@ -34,7 +34,6 @@#include <linux/memblock.h> #include <linux/seq_file.h> #include <linux/console.h> -#include <linux/mca.h> #include <linux/root_dev.h> #include <linux/highmem.h> #include <linux/module.h>
@@ -179,12 +178,6 @@ struct cpuinfo_x86 new_cpu_data __cpuinitdata = {0, 0, 0, 0, -1, 1, 0, 0, -1};/* common cpu data for all cpus */ struct cpuinfo_x86 boot_cpu_data__read_mostly = {0 ,0 ,0 ,0 ,-1 ,1 ,0 ,0 ,-1 };EXPORT_SYMBOL (boot_cpu_data); -static void set_mca_bus (int x) -{ -#ifdef CONFIG_MCA - MCA_bus = x; -#endif -}unsigned int def_to_bigsmp;
@@ -717,7 +710,6 @@ void __init setup_arch(char **cmdline_p) apm_info.bios = boot_params.apm_bios_info; ist_info = boot_params.ist_info;if (boot_params.sys_desc_table.length !=0 ) { -set_mca_bus (boot_params.sys_desc_table.table[3 ] &0x2 ); machine_id = boot_params.sys_desc_table.table[0 ]; machine_submodel_id = boot_params.sys_desc_table.table[1 ]; BIOS_revision = boot_params.sys_desc_table.table[2 ];
arch/x86/kernel/time.c +0 -6
@@ -14,7 +14,6 @@#include <linux/i8253.h> #include <linux/time.h> #include <linux/export.h> -#include <linux/mca.h> #include <asm/vsyscall.h> #include <asm/x86_init.h>
@@ -58,11 +57,6 @@ EXPORT_SYMBOL(profile_pc);static irqreturn_t timer_interrupt (int irq,void *dev_id) { global_clock_event->event_handler (global_clock_event); - -/* MCA bus quirk: Acknowledge irq0 by setting bit 7 in port 0x61 */ -if (MCA_bus) -outb_p (inb_p (0x61 )|0x80 ,0x61 ); -return IRQ_HANDLED ; }
arch/x86/kernel/traps.c +0 -4
@@ -37,10 +37,6 @@#include <linux/eisa.h> #endif -#ifdef CONFIG_MCA -#include <linux/mca.h> -#endif -#if defined(CONFIG_EDAC )#include <linux/edac.h> #endif
drivers/Makefile +0 -1
@@ -92,7 +92,6 @@ obj-$(CONFIG_BT) += bluetooth/ obj-$(CONFIG_ACCESSIBILITY) += accessibility/ obj-$(CONFIG_ISDN) += isdn/ obj-$(CONFIG_EDAC) += edac/ -obj-$(CONFIG_MCA) += mca/ obj-$(CONFIG_EISA) += eisa/ obj-y += lguest/ obj-$(CONFIG_CPU_FREQ) += cpufreq/
drivers/mca/Kconfig deleted +0 -0
drivers/mca/Makefile deleted +0 -0
drivers/mca/mca-bus.c deleted +0 -0
drivers/mca/mca-device.c deleted +0 -0
drivers/mca/mca-driver.c deleted +0 -0
drivers/mca/mca-legacy.c deleted +0 -0
drivers/mca/mca-proc.c deleted +0 -0
drivers/message/i2o/i2o_proc.c +0 -13
@@ -283,7 +283,6 @@ static char *bus_strings[] = {"Local Bus" ,"ISA" ,"EISA" , -"MCA" ,"PCI" ,"PCMCIA" , "NUBUS",
@@ -351,18 +350,6 @@ static int i2o_seq_show_hrt(struct seq_file *seq, void *v) EisaSlotNumber);break ; -case I2O_BUS_MCA : -seq_printf (seq," IOBase: %0#6x," , - hrt->hrt_entry[i].bus.mca_bus. - McaBaseIOPort); -seq_printf (seq," MemoryBase: %0#10x," , - hrt->hrt_entry[i].bus.mca_bus. - McaBaseMemoryAddress); -seq_printf (seq," Slot: %0#4x," , - hrt->hrt_entry[i].bus.mca_bus. - McaSlotNumber); -break ; -case I2O_BUS_PCI : seq_printf(seq, " Bus: %0#4x", hrt->hrt_entry[i].bus.pci_bus.
include/linux/i2o-dev.h +1 -1
@@ -124,7 +124,7 @@ typedef struct i2o_sg_io_hdr {#define I2O_BUS_LOCAL 0#define I2O_BUS_ISA 1#define I2O_BUS_EISA 2 -#define I2O_BUS_MCA 3 +/* was I2O_BUS_MCA 3 */ #define I2O_BUS_PCI 4#define I2O_BUS_PCMCIA 5#define I2O_BUS_NUBUS 6
include/linux/mca-legacy.h deleted +0 -0
include/linux/mca.h deleted +0 -0
scripts/kconfig/mconf.c +1 -1
@@ -240,7 +240,7 @@ search_help[] = N_("Defined at drivers/pci/Kconfig:47\n" "Depends on: X86_LOCAL_APIC && X86_IO_APIC || IA64\n" "Location:\n" -" -> Bus options (PCI, PCMCIA, EISA, MCA, ISA)\n" +" -> Bus options (PCI, PCMCIA, EISA, ISA)\n" " -> PCI support (PCI [=y])\n" " -> PCI access mode (<choice> [=y])\n" "Selects: LIBCRC32\n"
scripts/kconfig/nconf.c +1 -1
@@ -223,7 +223,7 @@ search_help[] = N_("Defined at drivers/pci/Kconfig:47\n" "Depends on: X86_LOCAL_APIC && X86_IO_APIC || IA64\n" "Location:\n" -" -> Bus options (PCI, PCMCIA, EISA, MCA, ISA)\n" +" -> Bus options (PCI, PCMCIA, EISA, ISA)\n" " -> PCI support (PCI [ = y])\n" " -> PCI access mode (<choice> [ = y])\n" "Selects: LIBCRC32\n"
Signature · 1 line
1.7.9.1
Re: [PATCH 5/5] MCA: delete all remaining traces of microchannel bus support.
Quoted 7 lines · Paul Gortmaker
Hardware with MCA bus is limited to 386 and 486 class machines that are now 20+ years old and typically with less than 32MB of memory. A quick search on the internet, and you see that even the MCA hobbyist/enthusiast community has lost interest in the early 2000 era and never really even moved ahead from the 2.4 kernels to the 2.6 series.
Quoted 7 lines
This deletes anything remaining related to
CONFIG_MCAfrom core kernel code and from the x86 architecture. There is no point in carrying this any further into the future.One complication to watch for is inadvertently scooping up stuff relating to machine check, since there is overlap in the TLA name space (e.g.
arch/x86/boot/mca.c).
Thanks,
Ingo
Re: [PATCH 5/5] MCA: delete all remaining traces of microchannel bus support.
In reply to Paul GortmakerQuoted 7 lines · Paul Gortmaker
Hardware with MCA bus is limited to 386 and 486 class machines that are now 20+ years old and typically with less than 32MB of memory. A quick search on the internet, and you see that even the MCA hobbyist/enthusiast community has lost interest in the early 2000 era and never really even moved ahead from the 2.4 kernels to the 2.6 series.
Quoted 7 lines
This deletes anything remaining related to
CONFIG_MCAfrom core kernel code and from the x86 architecture. There is no point in carrying this any further into the future.One complication to watch for is inadvertently scooping up stuff relating to machine check, since there is overlap in the TLA name space (e.g.
arch/x86/boot/mca.c).
Enthusiastically
-hpa
Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
Quoted 2 lines · Paul Gortmaker
It was good that we could support MCA machines back in the day, but realistically, nobody is using them anymore.
Yeah, I think I can ack this. Looks like 3.5 will be a nice "remove stupid hardware support" release.
Maybe we could some day remove EISA support too..
Linus
Quoted 7 lines · On Thu, 17 May 2012 09:53:16 -0700 Linus Torvalds…
Quoted 2 lines · Paul Gortmaker
It was good that we could support MCA machines back in the day, but realistically, nobody is using them anymore.
Yeah, I think I can ack this. Looks like 3.5 will be a nice "remove stupid hardware support" release.
I have a PS/2 in the cellar if anyone needs one 8)
But yes I think the MCA bus code (and the PS/2 in the cellar) can both go.
Quoted 4 lines · Paul Gortmaker
It was good that we could support MCA machines back in the day, but realistically, nobody is using them anymore. They were limited to 386-sx 16MHz CPU and some 486 class machines and never more than 64MB of RAM.
This is complete rubbish. The MCA machines go up to 686 class with up to 4GB of memory (admittedly, this is with the NCR MCA extensions).
Quoted 3 lines
Even the enthusiast hobbyist community seems to have dried up
close to ten years ago, based on what you can find searching various websites dedicated to the relatively short lived hardware.
Well, it's used in obsolete systems, yes. It wasn't really that short lived, since it did penetrate quite widely for a while before EISA and eventually PCI took over.
Quoted 4 lines
So lets remove the support relating to
CONFIG_MCA. There is no point carrying this forward, wasting cycles doing routine maintenance on it; wasting allyesconfig build time on validating it, wasting I/O on git grep'ping over it, and so on.
So what actual problems has it had that are causing these issues. I'm still listed as MCA maintainer and I haven't seen any. As far as I thought, it was nice and cleanly separated and builds just fine for me.
James
���{.n�+�������+%�����ݶ��w��{.n�+����{��G�����{ay�ʇڙ�,j��f���h��������z_�(�階�ݢj"���m������G������?����&���~��iO��z��v�^�m����������?�I�