Add amdpm -- without this, we're throwing away a good hardware random

number source on a huge set of machines.  Also, now that amdpm has
support for the SMBus controller, add (commented-out, since we don't
always know what address the sensors are at) iic at amdpm and adt7463c
at iic, which is the configuration used on the Tyan S2881 and S2882-D
server boards.  This should work in either 64-bit or 32-bit mode; it's
been tested in 64-bit mode.  Addresses PR kern/32463 submitted by
Anil Gopinath.
This commit is contained in:
tls 2006-02-19 02:55:21 +00:00
parent b69125454c
commit adc9550318
3 changed files with 26 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.86 2006/02/09 20:13:43 kleink Exp $
# $NetBSD: GENERIC,v 1.87 2006/02/19 02:55:21 tls Exp $
#
# GENERIC machine description file
#
@ -22,7 +22,7 @@ include "arch/amd64/conf/std.amd64"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.86 $"
#ident "GENERIC-$Revision: 1.87 $"
maxusers 32 # estimated number of users
@ -365,6 +365,13 @@ lpt1 at isa? port 0x278
# LM7[89] and compatible hardware monitors
#lm0 at isa? port 0x290 # other common ports: 0x280, 0x310
# AMD 768 and 8111 power/ACPI controllers
amdpm* at pci? dev ? function ? # RNG and SMBus 1.0 interface
#iic* at amdpm? # sensors below are on this bus
#adt7463c* at iic? addr 0x2C # Unknown other motherboard(s)
#adt7463c* at iic? addr 0x2D # Tyan S2881
#adt7463c* at iic? addr 0x2E # Tyan S2882-D
# I2O devices
iop* at pci? dev ? function ? # I/O processor
iopsp* at iop? tid ? # SCSI/FC-AL ports

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.726 2006/02/18 19:15:19 jmcneill Exp $
# $NetBSD: GENERIC,v 1.727 2006/02/19 02:55:21 tls Exp $
#
# GENERIC machine description file
#
@ -22,7 +22,7 @@ include "arch/i386/conf/std.i386"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.726 $"
#ident "GENERIC-$Revision: 1.727 $"
maxusers 32 # estimated number of users
@ -577,6 +577,13 @@ lpt2 at isa? port 0x3bc
# Hardware monitors
# AMD 768 and 8111 power/ACPI controllers
amdpm* at pci? dev ? function ? # RNG and SMBus 1.0 interface
#iic* at amdpm? # sensors below are on this bus
#adt7463c* at iic? addr 0x2C # Unknown other motherboard(s)
#adt7463c* at iic? addr 0x2D # Tyan S2881
#adt7463c* at iic? addr 0x2E # Tyan S2882-D
# LM7[89] and compatible hardware monitors
#lm0 at isa? port 0x290 # other common: 0x280, 0x310, 0xc00

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN0,v 1.31 2006/02/05 17:06:38 jmmv Exp $
# $NetBSD: XEN0,v 1.32 2006/02/19 02:55:21 tls Exp $
include "arch/xen/conf/std.xen"
@ -242,6 +242,13 @@ lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
# Hardware monitors
# AMD 768 and 8111 power/ACPI controllers
amdpm* at pci? dev ? function ? # RNG and SMBus 1.0 interface
#iic* at amdpm? # sensors below are on this bus
#adt7463c* at iic? addr 0x2C # Unknown other motherboard(s)
#adt7463c* at iic? addr 0x2D # Tyan S2881
#adt7463c* at iic? addr 0x2E # Tyan S2882-D
# LM7[89] and compatible hardware monitors
#lm0 at isa? port 0x290 # other common: 0x280, 0x310, 0xc00