Hello misc,

the mainboard I am currently using has a Winbond W83627EHF Super-I/O chip which is accessed via address 0xa10 on the isa bus. This patch brings that chip into the kernel config files for i386 and amd64, below is the dmesg output (amd64, if needed I could provide the i386 dmesg for -current) and the output of sysctl hw.sensors.lm3.

Best regards,
  Markus

Index: amd64/conf/GENERIC
===================================================================
RCS file: /var/cvs/src/sys/arch/amd64/conf/GENERIC,v
retrieving revision 1.211
diff -u -p -r1.211 GENERIC
--- amd64/conf/GENERIC  31 Dec 2007 19:29:46 -0000      1.211
+++ amd64/conf/GENERIC  2 Jan 2008 11:59:37 -0000
@@ -70,6 +70,7 @@ agp*  at pchb?                # AGP bridge
 lm0    at isa? port 0x290
 #lm1   at isa? port 0x280
 #lm2   at isa? port 0x310
+lm3    at isa? port 0xa10

 it0    at isa? port 0x290      # ITE IT8705F, IT8712F, IT8716F, IT8718F,
 it1    at isa? port 0xc00      # IT8726F and SiS SiS950 monitors and
Index: i386/conf/GENERIC
===================================================================
RCS file: /var/cvs/src/sys/arch/i386/conf/GENERIC,v
retrieving revision 1.599
diff -u -p -r1.599 GENERIC
--- i386/conf/GENERIC   31 Dec 2007 19:29:46 -0000      1.599
+++ i386/conf/GENERIC   2 Jan 2008 11:59:38 -0000
@@ -99,6 +99,7 @@ pwdog0        at pci?                 # Quancom PWDOG1 watchd
 lm0    at isa? port 0x290
 #lm1   at isa? port 0x280
 #lm2   at isa? port 0x310
+lm3    at isa? port 0xa10
 nsclpcsio* at isa? port 0x2e           # NS PC87366 LPC Super I/O
 nsclpcsio* at isa? port 0x4e
 gpio*  at nsclpcsio?




$ sysctl hw.sensors.lm3
hw.sensors.lm3.temp0=44.00 degC
hw.sensors.lm3.temp1=51.00 degC
hw.sensors.lm3.temp2=50.50 degC
hw.sensors.lm3.fan0=907 RPM
hw.sensors.lm3.fan1=2136 RPM
hw.sensors.lm3.volt0=1.09 VDC (VCore)
hw.sensors.lm3.volt1=12.36 VDC (+12V)
hw.sensors.lm3.volt2=3.31 VDC (+3.3V)
hw.sensors.lm3.volt3=3.31 VDC (+3.3V)
hw.sensors.lm3.volt4=-9.18 VDC (-12V)
hw.sensors.lm3.volt5=1.46 VDC
hw.sensors.lm3.volt6=1.46 VDC
hw.sensors.lm3.volt7=3.30 VDC (3.3VSB)
hw.sensors.lm3.volt8=1.64 VDC (VBAT)
hw.sensors.lm3.volt9=1.63 VDC

$ dmesg
OpenBSD 4.2-current (GENERIC.MP) #1: Wed Jan  2 12:38:52 CET 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3489067008 (3327MB)
avail mem = 3373764608 (3217MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfc7c0 (54 entries)
bios0: vendor American Megatrends Inc. version "V1.7" date 09/13/2007
bios0: MSI MS-7280
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices SBAZ(S0) PS2K(S0) PS2M(S0) P0PC(S0) AC97(S0) MC97(S0) 
USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EUSB(S0) PCE2(S0) PCE3(S0) 
PCE4(S0) PCE5(S0) PCE6(S0) PCE7(S0) PWRB(S0)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+, 2613.38 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 201MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+, 2613.07 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 21, 24 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P0PC)
acpiprt2 at acpi0: bus 1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus 2 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: PowerNow! K8 2613 MHz: speeds: 2600 2400 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "ATI RD580 Host" rev 0x00
ppb0 at pci0 dev 2 function 0 "ATI RX480 PCIE" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7600 GT" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 6 function 0 "ATI RX480 PCIE" rev 0x00
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), apic 
2 int 18 (irq 10), address 00:19:db:60:e4:a2
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ahci0 at pci0 dev 18 function 0 "ATI IXP600 SATA" rev 0x00: apic 2 int 22 (irq 
11), AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, SAMSUNG SP2004C, VM10> SCSI3 0/direct fixed
sd0: 190782MB, 24321 cyl, 255 head, 63 sec, 512 bytes/sec, 390721968 sec total
sd1 at scsibus0 targ 1 lun 0: <ATA, SAMSUNG SP2004C, VM10> SCSI3 0/direct fixed
sd1: 190782MB, 24321 cyl, 255 head, 63 sec, 512 bytes/sec, 390721968 sec total
ohci0 at pci0 dev 19 function 0 "ATI IXP600 USB" rev 0x00: apic 2 int 16 (irq 
5), version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 "ATI IXP600 USB" rev 0x00: apic 2 int 17 (irq 
15), version 1.0, legacy support
ohci2 at pci0 dev 19 function 2 "ATI IXP600 USB" rev 0x00: apic 2 int 18 (irq 
10), version 1.0, legacy support
ohci3 at pci0 dev 19 function 3 "ATI IXP600 USB" rev 0x00: apic 2 int 17 (irq 
15), version 1.0, legacy support
ohci4 at pci0 dev 19 function 4 "ATI IXP600 USB" rev 0x00: apic 2 int 18 (irq 
10), version 1.0, legacy support
ehci0 at pci0 dev 19 function 5 "ATI IXP600 USB2" rev 0x00: apic 2 int 19 (irq 
10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI IXPX00 SMBus" rev 0x13: SMI
iic0 at piixpm0
iic0: addr 0x2f 00=c2 01=0f 02=00 03=02 04=07 05=20 06=18 07=00 08=00 14=14 
15=62 16=02 17=05 words 00=c2ff 01=0fff 02=00ff 03=02ff 04=07ff 05=20ff 06=18ff 
07=00ff 08=00ff 09=ffff 0a=ffff 0b=ffff 0c=ffff 0d=ffff 0e=ffff 0f=ffff
admtemp0 at iic0 addr 0x4c: gl523sm
spdmem0 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x53: 2GB DDR2 SDRAM non-parity PC2-5300CL5
pciide0 at pci0 dev 20 function 1 "ATI IXP600 IDE" rev 0x00: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <PIONEER, DVD-RW DVR-109, 1.58> SCSI0 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
azalia0 at pci0 dev 20 function 2 "ATI IXP600 HD Audio" rev 0x00: apic 2 int 16 
(irq 5)
azalia0: codec[s]: Realtek ALC883
audio0 at azalia0
pcib0 at pci0 dev 20 function 3 "ATI IXP600 LPC" rev 0x00
ppb2 at pci0 dev 20 function 4 "ATI IXP600 PCI" rev 0x00
pci3 at ppb2 bus 3
re1 at pci3 dev 3 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd 
(0x1800), apic 2 int 21 (irq 9), address 00:19:db:4e:7f:1a
rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 2
pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb5 at ohci4: USB revision 1.0
uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lm3 at isa0 port 0xa10/8: W83627EHF
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
uhidev0 at uhub1 port 2 configuration 1 interface 0 "Logitech USB-PS/2 Optical 
Mouse" rev 2.00/20.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
softraid0 at root
root on sd1a swap on sd1b dump on sd1b

Reply via email to