Module Name: src Committed By: matt Date: Thu Jan 21 07:43:59 UTC 2010
Modified Files: src/sys/dev/pci [matt-nb5-mips64]: ppb.c Log Message: Support the SB1250 LDT HB. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.39.18.1 src/sys/dev/pci/ppb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/ppb.c diff -u src/sys/dev/pci/ppb.c:1.39 src/sys/dev/pci/ppb.c:1.39.18.1 --- src/sys/dev/pci/ppb.c:1.39 Sat May 3 05:44:06 2008 +++ src/sys/dev/pci/ppb.c Thu Jan 21 07:43:59 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: ppb.c,v 1.39 2008/05/03 05:44:06 cegger Exp $ */ +/* $NetBSD: ppb.c,v 1.39.18.1 2010/01/21 07:43:59 matt Exp $ */ /* * Copyright (c) 1996, 1998 Christopher G. Demetriou. All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ppb.c,v 1.39 2008/05/03 05:44:06 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ppb.c,v 1.39.18.1 2010/01/21 07:43:59 matt Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -68,6 +68,13 @@ PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_BRIDGE_PCI) return 1; +#ifdef _MIPS_PADDR_T_64BIT + /* The LDT HB acts just like a PPB. */ + if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_SIBYTE && + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SIBYTE_BCM1250_LDTHB) + return 1; +#endif + return 0; }