On Fri, Feb 24, 2012 at 04:12:13PM -0700, Duncan Patton a Campbell wrote:
> This is not an old board, but admittedly ATAPI CDs are.

They're still quite common, but this is a problem with the controller,
not the drive.

> there's no evidence of the device in the dmesgs, either.

Hmm?

> OpenBSD 4.9 (RAMDISK_CD) #858: Wed Mar  2 07:04:48 MST 2011
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
> ...
> pciide0 at pci2 dev 0 function 1 vendor "VIA", unknown product 0x0415 rev 
> 0xa0: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to 
> native-PCI
> pciide0: using apic 4 int 17 (irq 10) for native-PCI interrupt
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, RW/DVD GCC-H20N, 1.05> ATAPI 5/cdrom 
> removable
> pciide0: channel 1 ignored (not responding; disabled or no drives?)
> ..

Before 5.0 this device wasn't in the pcidevs file so it was using
default_chip_map (..generic PCI IDE controller support).

That seems to have worked for you.

> OpenBSD 5.0 (RAMDISK_CD) #53: Wed Aug 17 10:17:43 MDT 2011
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
> ...
> pciide0 at pci2 dev 0 function 1 "VIA VT6415 IDE" rev 0xa0: ATA133, channel 0 
> wired to native-PCI, channel 1 wired to native-PCI
> pciide0: channel 0 ignored (disabled)
> pciide0: channel 1 ignored (disabled)
> ..

1.326 of pciide.c added "support" for your device.

VIA's website seems to indicate this is a single-channel PCIe IDE
controller. I'm guessing apollo_setup_channel isn't doing the right
thing for this chip, but I can't find a datasheet.

> -- 
> Duncan Patton a Campbell is Dhu >>> Ne obliviscaris, vix ea nostro voco.

-Bryan.

Reply via email to