Bug 6358

Summary: alim15x3.c driver need to update
Product: IO/Storage Reporter: KAI.HSU (windsboy)
Component: IDEAssignee: Bartlomiej Zolnierkiewicz (bzolnier)
Severity: normal CC: bunk
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: ALL Linux 2.4.x & 2.6.x Tree: Mainline
Regression: ---

Description KAI.HSU 2006-04-09 00:00:47 UTC
Most recent kernel where this bug did not occur:
Distribution: ALL Linux kernel
Hardware Environment: ULI M-1573 south Bridge chip
Software Environment: Standard Linux Kenrel
Problem Description: 
The alim15x3.c havn't been update for 3 years.
Recently when we use this "ULI M1573" south bridge chip found that can't mount 
CDROM(VCD) smoothly, must waiting for a long time.
After I check the "ULI M1573" south bridge datasheet, I found the reason.
The reason is the "ULI M1573" version in the Linux is "0xC7" not "0xC4" anymore
So I was modified the source than it was successed.

Steps to reproduce:
Origianl kerenl source as below:
        if(m5229_revision <= 0x20)
                tmpbyte = (tmpbyte & (~0x02)) | 0x01;
                tmpbyte |= 0x01;

Below is modify source:
        if(m5229_revision <= 0x20)
                tmpbyte = (tmpbyte & (~0x02)) | 0x01;
        else if(m5229_revision == 0xC7)
                tmpbyte |= 0x03;
                tmpbyte |= 0x01;
Comment 1 Adrian Bunk 2006-04-09 04:27:24 UTC
*** Bug 6359 has been marked as a duplicate of this bug. ***
Comment 2 Adrian Bunk 2006-04-09 04:27:31 UTC
*** Bug 6360 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Morton 2006-04-09 22:35:55 UTC
Please send a patch next time?

Comment 4 Adrian Bunk 2006-08-03 05:05:28 UTC
Already included in 2.6.17.