diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-01-23 23:22:17 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-01-23 23:22:17 +0000 |
commit | 6811103a8771bdcb0e91dc0ba9616ef6f6d92246 (patch) | |
tree | 864c080033e3a11383f792f3f25e3f7c032db6e2 /sys/pci/if_fxpvar.h | |
parent | 45daa2e3ce5127d3a90b289e0f3628ed66f7bce8 (diff) | |
download | FreeBSD-src-6811103a8771bdcb0e91dc0ba9616ef6f6d92246.zip FreeBSD-src-6811103a8771bdcb0e91dc0ba9616ef6f6d92246.tar.gz |
Allow fxp to configure in I/O space if the user wants it and specifies
an override as a loader settable variable (fxp_iomap). fxp_iomap is
a bitmap of fxp units that should be configured to use PCI I/O space
in stead of PCI Memory space.
Reviewed by: Kees Jan Koster <dutchman@tccn.cs.kun.nl>, dg@freebsd.org
Diffstat (limited to 'sys/pci/if_fxpvar.h')
-rw-r--r-- | sys/pci/if_fxpvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_fxpvar.h b/sys/pci/if_fxpvar.h index fce6dce..aee009c 100644 --- a/sys/pci/if_fxpvar.h +++ b/sys/pci/if_fxpvar.h @@ -38,6 +38,8 @@ struct fxp_softc { struct arpcom arpcom; /* per-interface network data */ struct resource *mem; /* resource descriptor for registers */ + int rtp; /* register resource type */ + int rgd; /* register descriptor in use */ struct resource *irq; /* resource descriptor for interrupt */ void *ih; /* interrupt handler cookie */ struct mtx sc_mtx; |