From 58e9b024832300d4c0f6d0ec6dc431bcbdb7fa23 Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 10 Dec 2010 00:38:49 +0000 Subject: When attaching a PCI bus, the pci chipset is not optional. --- sys/dev/ic/cpc700.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/cpc700.c b/sys/dev/ic/cpc700.c index bac02851fcb..f0f22a8ea0b 100644 --- a/sys/dev/ic/cpc700.c +++ b/sys/dev/ic/cpc700.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpc700.c,v 1.16 2009/05/12 14:25:17 cegger Exp $ */ +/* $NetBSD: cpc700.c,v 1.17 2010/12/10 00:38:49 matt Exp $ */ /* * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -50,7 +50,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cpc700.c,v 1.16 2009/05/12 14:25:17 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpc700.c,v 1.17 2010/12/10 00:38:49 matt Exp $"); #include "pci.h" #include "opt_pci.h" @@ -173,7 +173,7 @@ cpc_attach(device_t self, pci_chipset_tag_t pc, bus_space_tag_t mem, aa.pba.pba_iot = pciio; aa.pba.pba_memt = mem; aa.pba.pba_dmat = dma; - aa.pba.pba_pc = 0; + aa.pba.pba_pc = pc; aa.pba.pba_flags = PCI_FLAGS_MEM_ENABLED | PCI_FLAGS_IO_ENABLED; aa.pba.pba_bus = 0; -- cgit