1 diff -urN linux.orig/drivers/ide/ide-pmac.c linux/drivers/ide/ide-pmac.c
2 --- linux.orig/drivers/ide/ide-pmac.c Fri May 3 19:43:16 2002
3 +++ linux/drivers/ide/ide-pmac.c Sat May 4 11:05:36 2002
5 * because of a pending unit attention. The problem if that if I
6 * clear the error, the filesystem dies.
8 - if (used_dma && !ide_spin_wait_hwgroup(drive, &flags)) {
9 + if (used_dma && !ide_spin_wait_hwgroup(drive)) {
11 HWGROUP(drive)->busy = 1;
12 pmac_ide_dma_onoff(drive, 1);
16 /* Wait for HW group to complete operations */
17 - if (ide_spin_wait_hwgroup(drive, &flags)) {
18 + if (ide_spin_wait_hwgroup(drive)) {
19 // What can we do here ? Wake drive we had already
20 // put to sleep and return an error ?