summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2008-07-02 05:21:09 +0000
committeryongari <yongari@FreeBSD.org>2008-07-02 05:21:09 +0000
commit31d44ce02d9145b4036bf1623d725f9bd0ffdf19 (patch)
treef6c48e2a01124f2673c0f7724344865fe70ad8d4 /sys/pci
parent124e2b3fa07e98d7bd26ce68b3fe6f0e59aa1a34 (diff)
downloadFreeBSD-src-31d44ce02d9145b4036bf1623d725f9bd0ffdf19.zip
FreeBSD-src-31d44ce02d9145b4036bf1623d725f9bd0ffdf19.tar.gz
Switch to memory space register mapping over IO space. If that
mapping fails fall back to traditional IO space access.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_rlreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h
index d822a2a..7d10dcf 100644
--- a/sys/pci/if_rlreg.h
+++ b/sys/pci/if_rlreg.h
@@ -775,6 +775,8 @@ struct rl_softc {
bus_space_tag_t rl_btag; /* bus space tag */
device_t rl_dev;
struct resource *rl_res;
+ int rl_res_id;
+ int rl_res_type;
struct resource *rl_irq[RL_MSI_MESSAGES];
void *rl_intrhand[RL_MSI_MESSAGES];
device_t rl_miibus;
OpenPOWER on IntegriCloud