hello, I was wondering if this patch would make the wind bond device in my computer work. here is a dmesg from a month old -current install
OpenBSD 4.1-current (GENERIC.MP) #1238: Wed Mar 21 17:32:34 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel" 686-class) 3.22 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR real mem = 2146725888 (2096412K) avail mem = 1951940608 (1906192K) using 4278 buffers containing 107458560 bytes (104940K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 03/23/05, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xf04d0 (79 entries) bios0: ASUSTeK Computer INC. P5AD2-E-Premium apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8160/352 (20 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc0000/0xee00! 0xcf000/0x4800 acpi at mainbus0 not configured mainbus0: Intel MP Specification (Version 1.4) cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 200 MHz mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 4 is type PCI mainbus0: bus 5 is type PCI mainbus0: bus 6 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82925X MCH Host" rev 0x0e ppb0 at pci0 dev 1 function 0 "Intel 82925X PCIE" rev 0x0e pci1 at ppb0 bus 5 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 6800 GT" rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04: apic 2 int 16 (irq 10) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: CMedia CMI9880 (rev. 0.2), HDA version 0.9 azalia0: /usr/src/sys/dev/pci/azalia.c/1159 invalid PCM format: 0x00000000 delete_encodings... ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04 pci2 at ppb1 bus 4 ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04 pci3 at ppb2 bus 3 mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x15, Yukon-2 EC rev. A2 (0x1): apic 2 int 17 (irq 11) msk0 at mskc0 port A, address 00:11:d8:55:58:e8 eephy0 at msk0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2 ppb3 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x04 pci4 at ppb3 bus 2 mskc1 at pci4 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x15, Yukon-2 EC rev. A2 (0x1): apic 2 int 18 (irq 5) msk1 at mskc1 port A, address 00:11:d8:55:55:64 eephy1 at msk1 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2 uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 2 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 2 int 19 (irq 3) uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 2 int 18 (irq 5) uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 2 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 2 int 23 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub0: 8 ports with 8 removable, self powered ppb4 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd4 pci5 at ppb4 bus 1 malo0 at pci5 dev 0 function 0 "Marvell Libertas 88W8310" rev 0x07: apic 2 int 20 (irq 6), address 00:00:00:00:00:00 vendor "TI", unknown product 0x8025 (class serial bus subclass Firewire, rev 0x01) at pci5 dev 3 function 0 not configured pciide0 at pci5 dev 4 function 0 "ITExpress IT8212F" rev 0x13: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 2 int 23 (irq 11) for native-PCI interrupt pciide1 at pci5 dev 5 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA pciide1: using apic 2 int 22 (irq 11) for native-PCI interrupt ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04: PM disabled pciide2 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide2 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SONY, DVD RW DW-D22A, BYS2> SCSI0 5/cdrom removable atapiscsi1 at pciide2 channel 0 drive 1 scsibus1 at atapiscsi1: 2 targets cd1 at scsibus1 targ 0 lun 0: <SONY, CD-RW CRX320E, NYK5> SCSI0 5/cdrom removable cd0(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 4 cd1(pciide2:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide2: channel 1 disabled (no drives) pciide3 at pci0 dev 31 function 2 "Intel 82801FR SATA" rev 0x04: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide3: using apic 2 int 19 (irq 3) for native-PCI interrupt wd0 at pciide3 channel 0 drive 0: <HDS722580VLSA80> wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors wd0(pciide3:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide3 channel 1 drive 0: <HDS722580VLSA80> wd1: 16-sector PIO, LBA48, 78533MB, 160836480 sectors wd1(pciide3:1:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic 2 int 19 (irq 0) iic0 at ichiic0 lm1 at iic0 addr 0x2f: W83791SD iic0: addr 0x4e 05=80 06=0f 0a=ff usb1 at uhci0: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered usb2 at uhci1: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered usb3 at uhci2: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered usb4 at uhci3: USB revision 1.0 uhub4 at usb4 uhub4: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered isa0 at ichpcib0 isadma0 at isa0 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: unknown Winbond chip (ID 0x88) npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 syncing disks... On 4/27/07, Stuart Henderson <[EMAIL PROTECTED]> wrote:
On 2007/04/27 12:30, Jon Steel wrote: > I have created a driver for the watchdog on the W83627HF. It would be > very easy to support other Winbond watchdogs with this driver but I > didnt bother to because I dont have access to any other chips. I have > tested it on both the SuperMicro 5013G-M and 5015M-MT, and with OpenBSD > 3.6, 4.0, and 4.1. it looks like some of the newer VIA boards have similar watchdog timers as part of the south bridge (VT8237 and others). If someone has one they could try modifying the driver to also attach to device id 0x60 (taken from the WB83697HF datasheet).
Sam Fourman Jr.