From 0b49145263c46c1e4aa29c0ebced4a1fcb9908d0 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 12 Feb 2006 12:03:55 +0000 Subject: [PATCH] Add hardware RNG support for Intel i945G/P and i955X chipsets. --- sys/arch/i386/pci/pchb_rnd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/pci/pchb_rnd.c b/sys/arch/i386/pci/pchb_rnd.c index 2f48b26e3c05..f51309323121 100644 --- a/sys/arch/i386/pci/pchb_rnd.c +++ b/sys/arch/i386/pci/pchb_rnd.c @@ -1,4 +1,4 @@ -/* $NetBSD: pchb_rnd.c,v 1.16 2006/01/16 22:59:36 christos Exp $ */ +/* $NetBSD: pchb_rnd.c,v 1.17 2006/02/12 12:03:55 tron Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pchb_rnd.c,v 1.16 2006/01/16 22:59:36 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pchb_rnd.c,v 1.17 2006/02/12 12:03:55 tron Exp $"); #include #include @@ -77,6 +77,8 @@ pchb_attach_rnd(struct pchb_softc *sc, struct pci_attach_args *pa) case PCI_PRODUCT_INTEL_82875P_HB: case PCI_PRODUCT_INTEL_82915G_HB: case PCI_PRODUCT_INTEL_82915GM_HB: + case PCI_PRODUCT_INTEL_82945P_MCH: + case PCI_PRODUCT_INTEL_82955X_MCH: sc->sc_st = pa->pa_memt; if (bus_space_map(sc->sc_st, I82802_IOBASE, I82802_IOSIZE, 0, &sc->sc_sh) != 0) {