diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2007-09-13 12:31:48 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2007-09-13 12:31:48 +0000 |
commit | 5959167e672aac9bbcd6b6337fe8a3041d43a7a1 (patch) | |
tree | f5aee8dffef068e3b30ebfb04d1af5d3fc5920f8 /sys/dev/pci | |
parent | 127342f8f91c0ef89e0b6fb5641619bffaab5316 (diff) |
Forgot to set psc->psc_pcitag. Replace all PCI/Cardbus config space
functions with our new one. Attachment seems to work now mainly.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_bwi_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_bwi_pci.c b/sys/dev/pci/if_bwi_pci.c index 3a84aee7bcc..1b03a390a96 100644 --- a/sys/dev/pci/if_bwi_pci.c +++ b/sys/dev/pci/if_bwi_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bwi_pci.c,v 1.2 2007/09/13 08:28:37 mglocker Exp $ */ +/* $OpenBSD: if_bwi_pci.c,v 1.3 2007/09/13 12:31:47 mglocker Exp $ */ /* * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> @@ -108,6 +108,7 @@ bwi_pci_attach(struct device *parent, struct device *self, void *aux) sc->sc_dmat = pa->pa_dmat; psc->psc_pc = pa->pa_pc; + psc->psc_pcitag = pa->pa_tag; /* map control / status registers */ error = pci_mapreg_map(pa, BWI_PCI_BAR0, |