NetBSD/sys/arch/i386/conf/CARDBUS
sekiya 0919f4d283 Rework the configuration scheme for PCI fixups:
* bus enumeration fixups are not PCIBIOS-specific, interrupt fixups are done
  by both PCIBIOS and ACPI.  The redundancy is very redundant.  Therefore,
  rename PCIBIOS_*_FIXUP to PCI_*_FIXUP, use PCI_INTR_FIXUP in place of
  ACPI_PCI_FIXUP, and change code refences to match.

* move the fixup defines from opt_pcibios.h to opt_pcifixup.h to reflect
  the above.

* fix up the PCI bus numbering in mainbus_attach(), right after we detect the
  configuration mode.  This probably renders the fixup in pcibios.c
  redundant -- but it should be harmless.

These changes make cardbus work in ACPI-only machines, when PCI_BUS_FIXUP
and PCI_INTR_FIXUP are defined.
2005-06-21 08:19:25 +00:00

60 lines
1.9 KiB
Plaintext

# $NetBSD: CARDBUS,v 1.74 2005/06/21 08:19:25 sekiya Exp $
#
# CARDBUS: GENERIC + CardBus support
include "arch/i386/conf/GENERIC"
# Following makes ARMADA M700's happy
#options RBUS_MIN_START=0x20000000
#options RBUS_IO_BASE=0x600
#options RBUS_IO_SIZE=0x100
# Configure PCI using BIOS information
options PCIBIOS # PCI BIOS support
#options PCIBIOSVERBOSE # PCI BIOS verbose info
#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
options PCIBIOS_INTR_GUESS # see pcibios(4)
#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup
# PCI fixups, for both PCIBIOS and ACPI
options PCI_ADDR_FIXUP # fixup PCI I/O addresses
options PCI_BUS_FIXUP # fixup PCI bus numbering
options PCI_INTR_FIXUP # fixup PCI interrupt routing
# Cardbus bridges
ppb* at cardbus? dev ? function ? # Cardbus-PCI bridges (www.magma.com)
# CardBus bridge support
cbb* at pci? dev ? function ?
cardslot* at cbb?
# CardBus bus support
cardbus* at cardslot?
pcmcia* at cardslot?
# CardBus serial interfaces
com* at cardbus? dev ? function ? # Modems and serial cards
# CardBus SCSI cards
adv* at cardbus? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
ahc* at cardbus? dev ? function ? # Adaptec ADP-1480
njs* at cardbus? dev ? function ? # Workbit NinjaSCSI-32
# CardBus network cards
ath* at cardbus? dev ? function ? # Atheros 5210/5211/5212 802.11
atw* at cardbus? dev ? function ? # ADMtek ADM8211 (802.11)
ex* at cardbus? dev ? function ? # 3Com 3C575TX
fxp* at cardbus? dev ? function ? # Intel i8255x
rtk* at cardbus? dev ? function ? # Realtek 8129/8139
tlp* at cardbus? dev ? function ? # DECchip 21143
# CardBus USB controllers
ehci* at cardbus? dev ? function ? # Enhanced Host Controller
ohci* at cardbus? dev ? function ? # Open Host Controller
# PCMCIA audio devices
esl* at pcmcia? function ? # ESS 1688 AudioDrive
# OPL[23] FM synthesizers
opl* at esl?