From 4693f9cbd5f1228d326d1434f3d2cebb1a98692d Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Mon, 6 Sep 1999 18:42:27 +0000 Subject: Fix definitions for RID and RES if we're not using IOSPACE. I copied the two lines and forgot to change them for the !IOSPACE case. Not a big deal since PCI memory mapped mode is off by default, but I still feel silly. --- sys/pci/if_dm.c | 4 ++-- sys/pci/if_sis.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/pci/if_dm.c b/sys/pci/if_dm.c index 7847d6801b46..9338bf7f6459 100644 --- a/sys/pci/if_dm.c +++ b/sys/pci/if_dm.c @@ -158,8 +158,8 @@ static int dm_list_tx_init __P((struct dm_softc *)); #define DM_RES SYS_RES_IOPORT #define DM_RID DM_PCI_LOIO #else -#define DM_RES SYS_RES_IOPORT -#define DM_RID DM_PCI_LOIO +#define DM_RES SYS_RES_MEMORY +#define DM_RID DM_PCI_LOMEM #endif static device_method_t dm_methods[] = { diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index aea10953b87a..00c3a23f4b19 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -153,8 +153,8 @@ static int sis_list_tx_init __P((struct sis_softc *)); #define SIS_RES SYS_RES_IOPORT #define SIS_RID SIS_PCI_LOIO #else -#define SIS_RES SYS_RES_IOPORT -#define SIS_RID SIS_PCI_LOIO +#define SIS_RES SYS_RES_MEMORY +#define SIS_RID SIS_PCI_LOMEM #endif static device_method_t sis_methods[] = { -- cgit v1.3