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
672f51ca44
commit
5b7782e8c0
@ -158,8 +158,8 @@ static int dm_list_tx_init __P((struct dm_softc *));
|
|||||||
#define DM_RES SYS_RES_IOPORT
|
#define DM_RES SYS_RES_IOPORT
|
||||||
#define DM_RID DM_PCI_LOIO
|
#define DM_RID DM_PCI_LOIO
|
||||||
#else
|
#else
|
||||||
#define DM_RES SYS_RES_IOPORT
|
#define DM_RES SYS_RES_MEMORY
|
||||||
#define DM_RID DM_PCI_LOIO
|
#define DM_RID DM_PCI_LOMEM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static device_method_t dm_methods[] = {
|
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_RES SYS_RES_IOPORT
|
||||||
#define SIS_RID SIS_PCI_LOIO
|
#define SIS_RID SIS_PCI_LOIO
|
||||||
#else
|
#else
|
||||||
#define SIS_RES SYS_RES_IOPORT
|
#define SIS_RES SYS_RES_MEMORY
|
||||||
#define SIS_RID SIS_PCI_LOIO
|
#define SIS_RID SIS_PCI_LOMEM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static device_method_t sis_methods[] = {
|
static device_method_t sis_methods[] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user