Subject: Re: VT82C586A IDE Controller mode 5 problem
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jay Nelson <jnelson@newsstand.com>
List: port-i386
Date: 07/22/2002 20:09:12
On Mon, Jul 22, 2002 at 11:03:51PM +0200, Manuel Bouyer wrote:
> On Mon, Jul 22, 2002 at 06:07:19PM +0200, Manuel Bouyer wrote:
> > OK. Can you please send the whole dmesg ? I need pci ID of other
> > VIA parts to fix it.
> 
> In fact this may already be supported in current. Please try
> the attached patch for 1.6 (you need to run make -f Makefile.pcidevs
> in sys/dev/pci after applying the patch).

The patch worked perfectly, thanks. 'dmesg' output is below. 

-- jay

NetBSD 1.6_BETA4 (ACP) #0: Mon Jul 22 19:40:42 CDT 2002
    jdn@acp.bga.com:/usr/src/sys/arch/i386/compile/ACP
cpu0: AMD Duron (686-class), 899.41 MHz
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 64 KB 64b/line 16-way
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
total memory = 127 MB
avail memory = 115 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfb450
mainbus0 (root)
pnpbios0 at mainbus0: nodes 17, max len 98
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1106 product 0x3099 (rev. 0x00)
agp0 at pchb0: aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: vendor 0x1106 product 0xb099 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x10de product 0x002d (rev. 0x15)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
adw0 at pci0 dev 8 function 0: AdvanSys ASB-3940UW-00 SCSI adapter
adw0: interrupting at irq 15
scsibus0 at adw0: 16 targets, 7 luns per target
siop0 at pci0 dev 9 function 0: Symbios Logic 53c815 (fast scsi)
siop0: interrupting at irq 11
scsibus1 at siop0: 8 targets, 8 luns per target
ex0 at pci0 dev 10 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x30)
ex0: interrupting at irq 5
ex0: MAC address 00:01:02:63:b7:fb
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 17 function 0
pcib0: vendor 0x1106 product 0x3147 (rev. 0x00)
pciide0 at pci0 dev 17 function 1: VIA Technologies VT8233A ATA133 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <WDC WD400BB-00CAA0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 32253 MB, 4092 cyl, 16 head, 63 sec, 512 bytes/sect x 66055248 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel ignored (disabled)
vendor 0x1106 product 0x3059 (audio multimedia, revision 0x40) at pci0 dev 17 function 5 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
mpu0 at isa0 port 0x330-0x331 irq 9

midi0 at mpu0: Roland MPU-401 MIDI UART
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask ed45 netmask ed65 ttymask fde7
scsibus0: waiting 2 seconds for devices to settle...
adw0: target 0 using 8-bits wide, 20.8 MHz synchronous transfers
sd0 at scsibus0 target 0 lun 0: <QUANTUM, ATLAS_V__9_WLS, 0230> SCSI3 0/direct fixed
sd0: 8755 MB, 20907 cyl, 2 head, 428 sec, 512 bytes/sect x 17930694 sectors
scsibus1: waiting 2 seconds for devices to settle...
st0 at scsibus1 target 5 lun 0: <WANGTEK, 5525ES SCSI REV7, 3R4> SCSI1 1/sequential removable
st0: rogue, drive empty
st0: async, 8-bit transfers
cd0 at scsibus1 target 6 lun 0: <SONY, CD-ROM CDU-55S, 1.0t> SCSI2 5/cdrom removable
cd0: async, 8-bit transfers
IPsec: Initialized Security Association Processing.
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)