Modern Linux Floppy Driver
Here is a floppy driver from the Linux Kernel 2.4.30(2005).
A lot of the code has been extracted to show you the core components.
Here is the original linux floppy driver, do a comparisonFloppy Driver from Linux - 0.11
(Note: the following drivers are released under the GPL license)
Floppy Driver for the GazTek Operating System
Floppy Driver from MiniRighi
Language and VM Oriented