Add hardware RNG support for Intel i925X chipset.

This commit is contained in:
tron 2006-02-12 16:37:31 +00:00
parent 7e0f377097
commit bc6a85f1e9
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pchb_rnd.c,v 1.17 2006/02/12 12:03:55 tron Exp $ */
/* $NetBSD: pchb_rnd.c,v 1.18 2006/02/12 16:37:31 tron Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pchb_rnd.c,v 1.17 2006/02/12 12:03:55 tron Exp $");
__KERNEL_RCSID(0, "$NetBSD: pchb_rnd.c,v 1.18 2006/02/12 16:37:31 tron Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -77,8 +77,9 @@ 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_82925X_HB:
case PCI_PRODUCT_INTEL_82945P_MCH:
case PCI_PRODUCT_INTEL_82955X_MCH:
case PCI_PRODUCT_INTEL_82955X_HB:
sc->sc_st = pa->pa_memt;
if (bus_space_map(sc->sc_st, I82802_IOBASE,
I82802_IOSIZE, 0, &sc->sc_sh) != 0) {