parisc: Makefile: Adjust order in which drivers should be loaded
authorHelge Deller <deller@gmx.de>
Sun, 27 Aug 2023 06:37:01 +0000 (08:37 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 27 Aug 2023 07:17:37 +0000 (09:17 +0200)
This is the order in which the drivers are initialized in setup.c.
The order is important when the drivers are convertet to use the
initcall_*() startup framework.

Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/Makefile

index 99fa6a8..69860a6 100644 (file)
@@ -1,25 +1,27 @@
 # SPDX-License-Identifier: GPL-2.0
 #
-# Makefile for most of the non-PCI devices in PA-RISC machines
+# Makefile PCI and non-PCI devices in PA-RISC machines
+#
+# Keep the order below, e.g.
+# - ccio before any potential subdevices
+# - gsc is required before lasi and wax
+# - asp and wax before the EISA adapters for the IRQ regions
+# - EISA must come before PCI to be sure it gets IRQ region
 #
 
-# I/O SAPIC is also on IA64 platforms.
-# The two could be merged into a common source some day.
 obj-$(CONFIG_IOSAPIC)          += iosapic.o
 obj-$(CONFIG_IOMMU_SBA)                += sba_iommu.o
 obj-$(CONFIG_PCI_LBA)          += lba_pci.o
 obj-$(CONFIG_IOMMU_CCIO)       += ccio-dma.o
 
 obj-$(CONFIG_GSC)              += gsc.o
-
-obj-$(CONFIG_HPPB)             += hppb.o
-obj-$(CONFIG_GSC_DINO)         += dino.o
 obj-$(CONFIG_GSC_LASI)         += lasi.o asp.o
 obj-$(CONFIG_GSC_WAX)          += wax.o
 obj-$(CONFIG_EISA)             += eisa.o eisa_enumerator.o eisa_eeprom.o
+obj-$(CONFIG_HPPB)             += hppb.o
+obj-$(CONFIG_GSC_DINO)         += dino.o
 
 obj-$(CONFIG_SUPERIO)          += superio.o
 obj-$(CONFIG_CHASSIS_LCD_LED)  += led.o
 obj-$(CONFIG_PDC_STABLE)       += pdc_stable.o
 obj-y                          += power.o
-