diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 2002-10-16 02:59:03 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 2002-10-16 02:59:03 +0000 |
| commit | ccbe423c8fcd2b4c58f0fc43cb9cbcb138852420 (patch) | |
| tree | 9203ee16a690f0225362fada4cb866bbd5e48189 | |
| parent | 9b657230819f58be0134e7570e3fa851b41ef1fe (diff) | |
Notes
| -rw-r--r-- | sys/dev/aic7xxx/ahd_pci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/ahd_pci.c b/sys/dev/aic7xxx/ahd_pci.c index 7229384f49ed..67b5459f8635 100644 --- a/sys/dev/aic7xxx/ahd_pci.c +++ b/sys/dev/aic7xxx/ahd_pci.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/ahd_pci.c#6 $ + * $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/ahd_pci.c#7 $ * * $FreeBSD$ */ @@ -156,7 +156,9 @@ ahd_pci_map_registers(struct ahd_softc *ahd) regs2 = NULL; regs_type = 0; regs_id = 0; - if ((command & PCIM_CMD_MEMEN) != 0) { + if ((command & PCIM_CMD_MEMEN) != 0 + && ((ahd->chip & AHD_BUS_MASK) != AHD_PCIX + || (ahd->bugs & AHD_PCIX_MMAPIO_BUG) == 0)) { regs_type = SYS_RES_MEMORY; regs_id = AHD_PCI_MEMADDR; |
