Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic When attaching a PCI bus, the pci chipset is not ...



details:   https://anonhg.NetBSD.org/src/rev/d5a055b9e6ad
branches:  trunk
changeset: 759458:d5a055b9e6ad
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Dec 10 00:38:49 2010 +0000

description:
When attaching a PCI bus, the pci chipset is not optional.

diffstat:

 sys/dev/ic/cpc700.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 02a6e2ef21b0 -r d5a055b9e6ad sys/dev/ic/cpc700.c
--- a/sys/dev/ic/cpc700.c       Fri Dec 10 00:37:23 2010 +0000
+++ b/sys/dev/ic/cpc700.c       Fri Dec 10 00:38:49 2010 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
        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;
 



Home | Main Index | Thread Index | Old Index