patch-2.1.79 linux/drivers/macintosh/valkyrie.c
Next file: linux/drivers/macintosh/via-cuda.c
Previous file: linux/drivers/macintosh/pmac-cons.h
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Mon Jan 12 15:18:14 1998
- Orig file:
v2.1.78/linux/drivers/macintosh/valkyrie.c
- Orig date:
Mon Aug 18 18:19:46 1997
diff -u --recursive --new-file v2.1.78/linux/drivers/macintosh/valkyrie.c linux/drivers/macintosh/valkyrie.c
@@ -16,6 +16,7 @@
#include <linux/nvram.h>
#include <asm/prom.h>
#include <asm/io.h>
+#include <asm/adb.h>
#include <asm/cuda.h>
#include <linux/selection.h>
#include "pmac-cons.h"
@@ -209,13 +210,13 @@
static void
set_valkyrie_clock(unsigned char *params)
{
- struct cuda_request req;
+ struct adb_request req;
int i;
for (i = 0; i < 3; ++i) {
cuda_request(&req, NULL, 5, CUDA_PACKET, CUDA_GET_SET_IIC,
0x50, i + 1, params[i]);
- while (!req.got_reply)
+ while (!req.complete)
cuda_poll();
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov