Hi,

here are the sources of the floppy driver.
The archive should be extracted from the root of the kernel source tree.
It will replace Conifg.in and Makefile in "drivers/block".
Config.in and Makefile are needed to being able to select the swim driver in the kernel configuration. Until now it wouldn't make sense to compile the driver into the kernel because there is no code in "drivers/block/ll_rw_blk.c" to call the init function of the swim2 driver. "swim_asm.S" contains the PPC assembler version, "swim_asm_68kmac.c" the C version without the PPC I/O functions and "swim_asm_nbpmac.c" the version with PPC I/O functions. In order to change between the versions there has to be ONE file with the name "swim_asm.S" (PPC assembler with some C elements, i.e. comments, defines), "swim_asm.s" (pure PPC assembler) or "swim_asm.c".

I also changed the INT_ON and INT_OFF macros to use spinlocks - with no difference. "saveflags cli" should also work as far as I know.

Happy debugging,

Tobias

Attachment: swim.tar.bz2
Description: Binary data

Reply via email to