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:
parent
cb39a2a520
commit
4693f9cbd5
@ -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[] = {
|
||||
|
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user