Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH] Non-DMA mode for floppy on PowerPC

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


sonic_amiga at rambler

Feb 14, 2005, 12:20 AM

Post #1 of 4 (1188 views)
Permalink
[PATCH] Non-DMA mode for floppy on PowerPC

This patch allows to use floppy drive in non-DMA mode on PegasosPPC machines. To use it:
1. Do not build floppy driver as a module, link it statically. Transferring parameters to it from insmod is still problematic, at least it doesn't work properly on my system. May be i'll clean it up in future.
2. Specify floppy=nodma in kernel's arguments. Also you'll need to specify your drive type here using floppy=<Drive number>,<Drive type>,cmos. For example, floppy=0,4,cmos specifies type 4 (1.44 mb 3.5") for drive 0 on my system.
This patch does not affect operation of the driver in DMA mode so it's safe to use on any platform.

--
Best regards,
Pavel Fedin, mailto:sonic_amiga [at] rambler
Attachments: ppc_floppy-vdma.diff (5.35 KB)


sonic_amiga at rambler

Feb 14, 2005, 12:20 AM

Post #2 of 4 (1163 views)
Permalink
Re: [PATCH] Non-DMA mode for floppy on PowerPC [In reply to]

Sorry for the inconvenience, i missed kernel version number. The patch is written for 2.6.8 kernel.

--
Best regards,
Pavel Fedin, mailto:sonic_amiga [at] rambler
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


sonic_amiga at rambler

Feb 16, 2005, 12:20 AM

Post #3 of 4 (1157 views)
Permalink
[PATCH] Non-DMA mode for floppy on PowerPC [In reply to]

Was posted with wrong content-type and i got no reply, so i decided to repost

This patch allows to use floppy drive in non-DMA mode on PegasosPPC machines. To use it:
1. Do not build floppy driver as a module, link it statically. Transferring parameters to it from insmod is still problematic, at least it doesn't work properly on my system. May be i'll clean it up in future.
2. Specify floppy=nodma in kernel's arguments. Also you'll need to specify your drive type here using floppy=<Drive number>,<Drive type>,cmos. For example, floppy=0,4,cmos specifies type 4 (1.44 mb 3.5") for drive 0 on my system.
This patch does not affect operation of the driver in DMA mode so it's safe to use on any platform.
The patch is written for kernel version 2.6.8.

--
Best regards,
Pavel Fedin, mailto:sonic_amiga [at] rambler
Attachments: ppc_floppy-vdma.diff (5.55 KB)


sonic_amiga at rambler

Feb 21, 2005, 6:20 AM

Post #4 of 4 (1163 views)
Permalink
[PATCH] Non-DMA mode for floppy on PowerPC [In reply to]

Nobody answered, repost again.

This patch allows to use floppy drive in non-DMA mode on PegasosPPC machines. To use it:
1. Do not build floppy driver as a module, link it statically. Transferring parameters to it from insmod is still problematic, at least it doesn't work properly on my system. May be i'll clean it up in future.
2. Specify floppy=nodma in kernel's arguments. Also you'll need to specify your drive type here using floppy=<Drive number>,<Drive type>,cmos. For example, floppy=0,4,cmos specifies type 4 (1.44 mb 3.5") for drive 0 on my system.
This patch does not affect operation of the driver in DMA mode so it's safe to use on any platform.
The patch is written for kernel version 2.6.8. Please merge it with -p0 argument, i already know it's wrong and will be more correct in the future.

--
Best regards,
Pavel Fedin, mailto:sonic_amiga [at] rambler
Attachments: ppc_floppy-vdma.diff (5.35 KB)

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.