patch-2.1.125 linux/arch/m68k/mac/adb-bus.c
Next file: linux/arch/m68k/mac/config.c
Previous file: linux/arch/m68k/kernel/traps.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Oct 5 13:54:39 1998
- Orig file:
v2.1.124/linux/arch/m68k/mac/adb-bus.c
- Orig date:
Wed Aug 26 11:37:33 1998
diff -u --recursive --new-file v2.1.124/linux/arch/m68k/mac/adb-bus.c linux/arch/m68k/mac/adb-bus.c
@@ -245,13 +245,16 @@
via_write(via1, vIFR, SR_INT);
/* get those pesky clock ticks we missed while booting */
- for ( i = 0; i < 30; i++) {
+ for ( i = 0; i < 60; i++) {
udelay(ADB_DELAY);
adb_hw_setup_IIsi();
udelay(ADB_DELAY);
if (via_read(via1, vBufB) & TREQ)
break;
}
+ if (i == 60)
+ printk("adb_IIsi: maybe bus jammed ??\n");
+
/*
* Ok we probably ;) have a ready to use adb bus. Its also
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov