new pcidevs and W83627DHG-P attach

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

new pcidevs and W83627DHG-P attach

Mitja Muženič
While testing a new machine I came across some new pcidevs (apologies if
tabs change to spaces):

Index: pcidevs
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1563
diff -u -r1.1563 pcidevs
--- pcidevs     1 Jul 2010 23:09:39 -0000       1.1563
+++ pcidevs     18 Jul 2010 11:25:52 -0000
@@ -3031,6 +3031,7 @@
 product INTEL 82801JD_PCIE_5   0x3a78  82801JD PCIE
 product INTEL 82801JD_PCIE_6   0x3a7a  82801JD PCIE
 product INTEL 82801JD_LAN      0x3a7c  82801JD LAN
+product INTEL 3400_LPC_3       0x3b00  3400 LPC
 product INTEL P55_LPC          0x3b02  P55 LPC
 product INTEL 3400_LPC_1       0x3b07  3400 LPC
 product INTEL 3400_LPC_2       0x3b10  3400 LPC
@@ -4530,6 +4531,7 @@
 product PLX PEX_8533           0x8533  PEX 8533
 product PLX PEX_8547           0x8547  PEX 8547
 product PLX PEX_8548           0x8548  PEX 8548
+product PLX PEX_8616           0x8616  PEX 8616
 product PLX PEX_8624           0x8624  PEX 8624
 product PLX PEX_8648           0x8648  PEX 8648
 product PLX 9016               0x9016  I/O 9016


There's a third one, but I have no idea what it is - some sort of PCIe
bridge?

        ppb5 at pci0 dev 6 function 0 vendor "Intel", unknown product 0x0043
rev 0x12: apic 6 int 16 (irq 10)

Also, the following makes the wbsio attach and the sensors show up:

Index: sys/dev/isa/wbsio.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/wbsio.c,v
retrieving revision 1.5
diff -u -r1.5 wbsio.c
--- sys/dev/isa/wbsio.c 29 Mar 2009 21:53:52 -0000      1.5
+++ sys/dev/isa/wbsio.c 18 Jul 2010 11:31:09 -0000
@@ -47,6 +47,7 @@
 #define WBSIO_ID_W83627THF     0x82
 #define WBSIO_ID_W83627EHF     0x88
 #define WBSIO_ID_W83627DHG     0xa0
+#define WBSIO_ID_W83627DHGP    0xb0
 #define WBSIO_ID_W83627SF      0x59
 #define WBSIO_ID_W83637HF      0x70
 #define WBSIO_ID_W83697HF      0x60
@@ -135,6 +136,7 @@
        case WBSIO_ID_W83627THF:
        case WBSIO_ID_W83627EHF:
        case WBSIO_ID_W83627DHG:
+       case WBSIO_ID_W83627DHGP:
        case WBSIO_ID_W83637HF:
        case WBSIO_ID_W83697HF:
                ia->ipa_nio = 1;
@@ -182,6 +184,9 @@
                break;
        case WBSIO_ID_W83627DHG:
                printf(": W83627DHG");
+               break;
+       case WBSIO_ID_W83627DHGP:
+               printf(": W83627DHG-P");
                break;
        case WBSIO_ID_W83637HF:
                printf(": W83637HF");


I get:

        wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
        lm1 at wbsio0 port 0xa10/8: W83627DHG

and

# sysctl hw.sensors
hw.sensors.cpu0.temp0=44.00 degC
hw.sensors.lm1.temp0=57.00 degC
hw.sensors.lm1.temp1=45.50 degC
hw.sensors.lm1.temp2=41.00 degC
hw.sensors.lm1.fan2=84375 RPM
hw.sensors.lm1.volt0=0.92 VDC (VCore)
hw.sensors.lm1.volt1=5.02 VDC (+12V)
hw.sensors.lm1.volt2=3.33 VDC (+3.3V)
hw.sensors.lm1.volt3=3.33 VDC (+3.3V)
hw.sensors.lm1.volt4=-16.73 VDC (-12V)
hw.sensors.lm1.volt5=1.11 VDC
hw.sensors.lm1.volt6=1.51 VDC
hw.sensors.lm1.volt7=3.34 VDC (3.3VSB)
hw.sensors.lm1.volt8=1.64 VDC (VBAT)

Full dmesg for the archives:

OpenBSD 4.7-current (GENERIC.MP) #1: Sun Jul 18 13:26:37 CEST 2010
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz ("GenuineIntel" 686-class) 3.06
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
SH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSS
E3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
real mem  = 2071158784 (1975MB)
avail mem = 2027278336 (1933MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/22/10, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.6 @ 0xfc880 (66 entries)
bios0: vendor American Megatrends Inc. version "080015" date 02/22/2010
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG OEMB GSCI SSDT
acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) BR1E(S4)
USB0(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) USB6(S4) GBE_(S4)
BR20(S4) BR21(S4) BR22(S4) BR23(S4) BR24(S4) BR25(S4) BR26(S4) BR27(S4)
EUSB(S1) USBE(S1) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz ("GenuineIntel" 686-class) 3.06
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
SH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSS
E3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz ("GenuineIntel" 686-class) 3.06
GHz
cpu2:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
SH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSS
E3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz ("GenuineIntel" 686-class) 3.06
GHz
cpu3:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
SH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSS
E3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
ioapic0 at mainbus0: apid 6 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 1, remapped to apid 6
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 15 (BR1E)
acpiprt2 at acpi0: bus 7 (BR20)
acpiprt3 at acpi0: bus 8 (BR21)
acpiprt4 at acpi0: bus 9 (BR22)
acpiprt5 at acpi0: bus 10 (BR23)
acpiprt6 at acpi0: bus 11 (BR24)
acpiprt7 at acpi0: bus 12 (BR25)
acpiprt8 at acpi0: bus 13 (BR26)
acpiprt9 at acpi0: bus 14 (BR27)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpicpu2 at acpi0: C3, C2, C1, PSS
acpicpu3 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xcc00!
cpu0: Enhanced SpeedStep 3059 MHz: speeds: 3067, 2933, 2800, 2667, 2533,
2400, 2267, 2133, 2000, 1867, 1733, 1600, 1467, 1333, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x12
ppb0 at pci0 dev 1 function 0 "Intel Core PCIE" rev 0x12: apic 6 int 16 (irq
10)
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "PLX PEX 8616" rev 0xbb
pci2 at ppb1 bus 2
ppb2 at pci2 dev 4 function 0 "PLX PEX 8616" rev 0xbb: apic 6 int 16 (irq
10)
pci3 at ppb2 bus 3
ppb3 at pci2 dev 5 function 0 "PLX PEX 8616" rev 0xbb: apic 6 int 17 (irq 5)
pci4 at ppb3 bus 4
em0 at pci4 dev 0 function 0 "Intel PRO/1000 PF (82571EB)" rev 0x06: apic 6
int 17 (irq 5), address 00:90:0b:15:2d:02
em1 at pci4 dev 0 function 1 "Intel PRO/1000 PF (82571EB)" rev 0x06: apic 6
int 18 (irq 11), address 00:90:0b:15:2d:03
ppb4 at pci2 dev 6 function 0 "PLX PEX 8616" rev 0xbb: apic 6 int 18 (irq
11)
pci5 at ppb4 bus 5
em2 at pci5 dev 0 function 0 "Intel PRO/1000 PF (82571EB)" rev 0x06: apic 6
int 18 (irq 11), address 00:90:0b:15:2d:00
em3 at pci5 dev 0 function 1 "Intel PRO/1000 PF (82571EB)" rev 0x06: apic 6
int 19 (irq 15), address 00:90:0b:15:2d:01
vga1 at pci0 dev 2 function 0 "Intel HD graphics" rev 0x12
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 6 int 16 (irq 10)
drm0 at inteldrm0
ppb5 at pci0 dev 6 function 0 vendor "Intel", unknown product 0x0043 rev
0x12: apic 6 int 16 (irq 10)
pci6 at ppb5 bus 6
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x04: apic 6 int 16
(irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x04: apic 6 int 17
(irq 5)
pci7 at ppb6 bus 7
em4 at pci7 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 6
int 16 (irq 10), address 00:90:0b:14:fc:b8
ppb7 at pci0 dev 28 function 1 "Intel 3400 PCIE" rev 0x04: apic 6 int 16
(irq 10)
pci8 at ppb7 bus 8
em5 at pci8 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 6
int 17 (irq 5), address 00:90:0b:14:fc:b9
ppb8 at pci0 dev 28 function 2 "Intel 3400 PCIE" rev 0x04: apic 6 int 18
(irq 11)
pci9 at ppb8 bus 9
em6 at pci9 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 6
int 18 (irq 11), address 00:90:0b:14:fc:ba
ppb9 at pci0 dev 28 function 3 "Intel 3400 PCIE" rev 0x04: apic 6 int 19
(irq 15)
pci10 at ppb9 bus 10
em7 at pci10 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 6
int 19 (irq 15), address 00:90:0b:14:fc:bb
ppb10 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x04: apic 6 int 17
(irq 5)
pci11 at ppb10 bus 11
em8 at pci11 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 6
int 16 (irq 10), address 00:90:0b:14:fc:bc
ppb11 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x04: apic 6 int 16
(irq 10)
pci12 at ppb11 bus 12
em9 at pci12 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 6
int 17 (irq 5), address 00:90:0b:14:fc:bd
ppb12 at pci0 dev 28 function 6 "Intel 3400 PCIE" rev 0x04: apic 6 int 18
(irq 11)
pci13 at ppb12 bus 13
em10 at pci13 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 6
int 18 (irq 11), address 00:90:0b:14:fc:be
ppb13 at pci0 dev 28 function 7 "Intel 3400 PCIE" rev 0x04: apic 6 int 19
(irq 15)
pci14 at ppb13 bus 14
em11 at pci14 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 6
int 19 (irq 15), address 00:90:0b:14:fc:bf
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x04: apic 6 int 23
(irq 14)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb14 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa4
pci15 at ppb14 bus 15
pcib0 at pci0 dev 31 function 0 "Intel 3400 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x04: apic 6 int 19
(irq 15), AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 1 lun 0: <ATA, FUJITSU MHV2040B, 0000> SCSI3 0/direct
fixed
sd0: 38154MB, 512 bytes/sec, 78140160 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x04: apic 6 int 18
(irq 11)
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 2GB DDR3 SDRAM ECC PC3-10600 with thermal sensor
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
lm1 at wbsio0 port 0xa10/8: W83627DHG
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b

Reply | Threaded
Open this post in threaded view
|

Re: new pcidevs and W83627DHG-P attach

Mark Kettenis
> From: =?iso-8859-2?Q?Mitja_Mu=BEeni=E8?= <[hidden email]>
> Date: Sun, 18 Jul 2010 13:37:16 +0200
>
> While testing a new machine I came across some new pcidevs (apologies if
> tabs change to spaces):
>
> Index: pcidevs
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/pcidevs,v
> retrieving revision 1.1563
> diff -u -r1.1563 pcidevs
> --- pcidevs     1 Jul 2010 23:09:39 -0000       1.1563
> +++ pcidevs     18 Jul 2010 11:25:52 -0000
> @@ -3031,6 +3031,7 @@
>  product INTEL 82801JD_PCIE_5   0x3a78  82801JD PCIE
>  product INTEL 82801JD_PCIE_6   0x3a7a  82801JD PCIE
>  product INTEL 82801JD_LAN      0x3a7c  82801JD LAN
> +product INTEL 3400_LPC_3       0x3b00  3400 LPC

Given that the LPC bridge can be used to identify the exact chipset
(as opposed to just 5-series/3400 family), so I'm going to fix things
in a slightly different way.

> Also, the following makes the wbsio attach and the sensors show up:

Thanks, I committed that bit.