On Tue, Jan 03, 2012 at 12:56:46PM -0500, Loganaden Velvindron wrote: > Switching to IDE mode on the Asus P5SD2-VM activates > a weird chipset known as the SiS 1183. > > pciide1 at pci0 dev 5 function 0 vendor "SiS", unknown product 0x1183 rev > 0x03: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to > native-PCI > pciide1: using apic 1 int 17 for native-PCI interrupt > wd0 at pciide1 channel 0 drive 0: <Hitachi HDP725025GLA380> > wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors > pciide1: channel 1 ignored (not responding; disabled or no drives?) > > The best thing I could find that resembles programming > documentation is this: > http://old.nabble.com/-PATCH--sata_sis%3A-support-for-SiS-966-chipset-td6095608.html > > It says that the 0x1183 (and the 0x1182, 0x1180) behave > almost exactly as the SiS 180. > > There are some differences between the OpenBSD's sis 180 > support and Linux. > > OpenBSD uses a generic sata_chip_map whereas Linux > uses quirks for power management & port status. > > Using sata_chip_map() is enough to get UDMA 6 support > and speed disk transfers without any hangup up to now. > > The SiS 1183 is weird in the sense that it shows as an > IDE device when in fact, it's a SATA controller. I don't > see any reason why this is necessary. > > dmesg: > pciide1 at pci0 dev 5 function 0 "SiS 1183 SATA" rev 0x03: DMA > pciide1: using apic 1 int 17 for native-PCI interrupt > wd0 at pciide1 channel 0 drive 0: <Hitachi HDP725025GLA380> > wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors > wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
Thanks, I've committed this. I considered adding the 1182 as well but Linux has some additional link init code that is only used on the 1182, so I've omitted it for now.