On 2011/04/06 23:52, Alexandr Shadchin wrote:
> Hi!
> 
> Merge viapm and viaenv
> 
> Pluse:
> - Add support SMBus for VT82C596, VT82C596B, VT82C686A, VT8231
> - Add support ACPI timer for all VIA South Bridges
> 
> Tested on:
> - VT82C596B (Gigabyte GA-6VXE7+)
> - VT82C686A (Neoware CA2)
> - VT8231 (HP T5700)
> - VT8235 (Neoware CA10)

Works for me on EPIA 500 (another VT8231). Sensors work just as well
as they did before, spdmem now also works.

viapm0 at pci0 dev 17 function 4 "VIA VT8231 PMG" rev 0x10: SMI

hw.sensors.viapm0.temp0=19.68 degC
hw.sensors.viapm0.temp1=63.70 degC
hw.sensors.viapm0.temp2=2.38 degC
hw.sensors.viapm0.fan0=0 RPM
hw.sensors.viapm0.fan1=0 RPM
hw.sensors.viapm0.volt0=2.52 VDC (VSENS1)
hw.sensors.viapm0.volt1=2.47 VDC (VSENS2)
hw.sensors.viapm0.volt2=1.98 VDC (Vcore)
hw.sensors.viapm0.volt3=5.40 VDC (VSENS3)
hw.sensors.viapm0.volt4=12.43 VDC (VSENS4)

OpenBSD 4.9 (GENERIC) #0: Sun Apr 10 18:56:12 BST 2011
    sthen@mx1-pl7:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Samuel 2 ("CentaurHauls" 686-class) 534 MHz
cpu0: FPU,DE,TSC,MSR,MTRR,PGE,MMX
real mem  = 534278144 (509MB)
avail mem = 515407872 (491MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/14/02, BIOS32 rev. 0 @ 0xfb370, SMBIOS 
rev. 2.2 @ 0xf0800 (29 entries)
bios0: vendor Award Software International, Inc. version "6.00 PG" date 
11/14/2002
bios0: VIA TECHNOLOGIES, INC. EPIA
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdce4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdc70/112 (5 entries)
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8231 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x4000!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8601 PCI" rev 0x05
viaagp0 at pchb0: v2
agp0 at viaagp0: aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0 "VIA VT82C601 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade i1" rev 0x6a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 17 function 0 "VIA VT8231 ISA" rev 0x10
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC35L120AVV207-0>
wd0: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 17 function 2 "VIA VT83C572 USB" rev 0x1e: irq 12
uhci1 at pci0 dev 17 function 3 "VIA VT83C572 USB" rev 0x1e: irq 12
viapm0 at pci0 dev 17 function 4 "VIA VT8231 PMG" rev 0x10: SMI
iic0 at viapm0
iic0: addr 0x20 06=80 0e=03 0f=05 10=20 13=05 14=21 15=04 1b=02 86=80 8e=03 
8f=05 90=20 93=05 94=21 95=04 9b=02 words 00=0000 01=0000 02=0000 03=0000 
04=0000 05=0080 06=8000 07=0000
spdmem0 at iic0 addr 0x50: 512MB SDRAM non-parity PC133CL2
viapm0: 24-bit timer at 3579545Hz
auvia0 at pci0 dev 17 function 5 "VIA VT82C686 AC97" rev 0x40: irq 10
ac97: codec id 0x56494161 (VIA Technologies VT1612A)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x51: irq 11, address 
00:40:63:c0:a4:1e
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 5: OUI 0x004063, 
model 0x0032
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
biomask f36d netmask fb6d ttymask fbff
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
carp87: state transition: BACKUP -> MASTER
arp_rtrequest: bad gateway value

Reply via email to