Here is the AppleALiATA-6 I have revised. It is based on AppleVIAATA-6 source code. It supports ALi/ULi pata/sata chipsets. I have tested it on the ASUS K8U-X motherboard. Drives are UDMA enabled and fully working on PATA Controller (M5229). I have tested the SATA Controller (M1689/M1567) and it works, too.
In addition, AppleVIAATA and AppleOnboardPCATA should be removed or at least ALi/ULi ID inside of it to avoid conflicts. If you have ALi/ULi motherboard, you can give it a try.
Chun-Nan
P.S. I have not tested this driver under Tiger, but it should work.
CODE
| | | | +-o AppleALiATADriver
| | | | | {
| | | | | "IOProviderClass" = "AppleALiATAChannel"
| | | | | "IOProbeScore" = 0x0
| | | | | "Drive 1 Ultra DMA Mode" = 0x6
| | | | | "Drive 0 PIO Mode" = 0x4
| | | | | "CFBundleIdentifier" = "com.apple.driver.AppleALiATA"
| | | | | "Drive 0 Ultra DMA Mode" = 0x5
| | | | | "Physical Interconnect" = "ATA"
| | | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | | "IOPowerManagement" = {"ChildrenPowerState"=0x2,"CurrentPowerState"=0x2}
| | | | | "IOClass" = "AppleALiATADriver"
| | | | | "Drive 1 PIO Mode" = 0x4
| | | | | }
| | | | |
| | | | | {
| | | | | "IOProviderClass" = "AppleALiATAChannel"
| | | | | "IOProbeScore" = 0x0
| | | | | "Drive 1 Ultra DMA Mode" = 0x6
| | | | | "Drive 0 PIO Mode" = 0x4
| | | | | "CFBundleIdentifier" = "com.apple.driver.AppleALiATA"
| | | | | "Drive 0 Ultra DMA Mode" = 0x5
| | | | | "Physical Interconnect" = "ATA"
| | | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | | "IOPowerManagement" = {"ChildrenPowerState"=0x2,"CurrentPowerState"=0x2}
| | | | | "IOClass" = "AppleALiATADriver"
| | | | | "Drive 1 PIO Mode" = 0x4
| | | | | }
| | | | |
==========
Source code:
==========
Update: 10/15/2008
1. Complied under Tiger and it should work both with Tiger and Leopard.
2. Replaced "createChannelCommands" with codes from AppleIntelPIIXPATA.
Click to view attachment
