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.
This commit is contained in:
Bill Paul 1999-09-06 18:42:27 +00:00
parent cb39a2a520
commit 4693f9cbd5
2 changed files with 4 additions and 4 deletions

View File

@ -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[] = {

View File

@ -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[] = {