]> git.pld-linux.org Git - packages/kernel.git/blame - ide.2.2.21-ppc-pmac.patch
- added description of djurban's branch
[packages/kernel.git] / ide.2.2.21-ppc-pmac.patch
CommitLineData
72ac003b
KT
1diff -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
4@@ -918,7 +918,7 @@
5 * because of a pending unit attention. The problem if that if I
6 * clear the error, the filesystem dies.
7 */
8- if (used_dma && !ide_spin_wait_hwgroup(drive, &flags)) {
9+ if (used_dma && !ide_spin_wait_hwgroup(drive)) {
10 /* Lock HW group */
11 HWGROUP(drive)->busy = 1;
12 pmac_ide_dma_onoff(drive, 1);
13@@ -1027,7 +1027,7 @@
14
15 if (drive->present) {
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 ?
21 } else {
This page took 0.219319 seconds and 4 git commands to generate.