linux-mips-fnet
[Top] [All Lists]

Floppies

To: Linux/MIPS Mailing List <linux-mips@fnet.fr>
Subject: Floppies
From: Warner Losh <imp@village.org>
Date: Mon, 19 Feb 1996 19:01:32 -0700
OK.  I feel silly.  One line change and the floppy read completes (I
get a kernel panic, but that is because I don't have fat compiled into
the kernel).  Time to create a ext2fs disk with /bin/sh on it...

Here's the diff.  It won't help people that don't have TYNE or RPC44
machines.  After reading it, I think you'll understand why I feel
silly.

Warner

Index: tyne-c.c
===================================================================
RCS file: /home/imp/Repository/linux/arch/mips/kernel/tyne-c.c,v
retrieving revision 1.2
diff -c -r1.2 tyne-c.c
*** tyne-c.c    1996/02/09 07:14:59     1.2
--- tyne-c.c    1996/02/20 01:49:59
***************
*** 32,38 ****
  #include <asm/io.h>
  
  /* KLUDGE TO GET IT TO COMPILE */
! #define FLOPPY_DMA 0
  #define FLOPPY_IRQ 5
  
  /*
--- 32,38 ----
  #include <asm/io.h>
  
  /* KLUDGE TO GET IT TO COMPILE */
! #define FLOPPY_DMA 2
  #define FLOPPY_IRQ 5
  
  /*

<Prev in Thread] Current Thread [Next in Thread>