diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-09-06 18:42:27 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-09-06 18:42:27 +0000 |
commit | 5b7782e8c099452cd2c9002af195a8b20be04c36 (patch) | |
tree | bd5dfd94a52ca713b408d793a896db2eeab06c6c | |
parent | 672f51ca444084bddf2d7904c68be689eac8fe4b (diff) | |
download | FreeBSD-src-5b7782e8c099452cd2c9002af195a8b20be04c36.zip FreeBSD-src-5b7782e8c099452cd2c9002af195a8b20be04c36.tar.gz |
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.
-rw-r--r-- | sys/pci/if_dm.c | 4 | ||||
-rw-r--r-- | 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 7847d68..9338bf7 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 aea1095..00c3a23 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[] = { |