diff options
| author | rin <rin@NetBSD.org> | 2022-10-15 04:47:37 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2022-10-15 04:47:37 +0000 |
| commit | 55bd2edf31eeb91543adfb98d9db5e5775bee93f (patch) | |
| tree | 45efd16660f44e309389d0cb1098aeadc1f164b0 /sys/arch/evbppc | |
| parent | a48e4a98ffaa29f9bcbc0df8a67930425e3594e8 (diff) | |
DHT Walnut: Fix failure to attach on-board pdcide(4) for cold boot.
U-Boot seems to initialize pdcide(4) to compatible mode. Therefore, we
need to reinitialize it to native-PCI mode in pci_conf_hook(). Otherwise,
we will fail to configure IO registers for native-PCI mode during
PCI_NETBSD_CONFIGURE.
Diffstat (limited to 'sys/arch/evbppc')
| -rw-r--r-- | sys/arch/evbppc/conf/DHT | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/evbppc/conf/DHT b/sys/arch/evbppc/conf/DHT index f047b08ecfd..147dd354105 100644 --- a/sys/arch/evbppc/conf/DHT +++ b/sys/arch/evbppc/conf/DHT @@ -1,4 +1,4 @@ -# $NetBSD: DHT,v 1.3 2022/08/07 02:52:25 simonb Exp $ +# $NetBSD: DHT,v 1.4 2022/10/15 04:47:37 rin Exp $ # # DHT --- DHT Walnut 405GP Evaluation Board # (Digital Home Technologies PCB 01070201 Rev. 1.1) @@ -8,7 +8,7 @@ include "arch/evbppc/conf/std.dht" options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "DHT-$Revision: 1.3 $" +#ident "DHT-$Revision: 1.4 $" maxusers 32 @@ -160,6 +160,7 @@ options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever #options PCI_CONFIGURE_VERBOSE # Show PCI config information pdcide* at pci? dev ? function ? # Promise IDE controllers +options DHT_FIXUP_PDCIDE # Initialize pdcide to native-PCI mode # ATA (IDE) bus support atabus* at ata? |
