Add floppy controllers to "drives" list also.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 16 Aug 2009 16:09:44 +0000 (12:09 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 16 Aug 2009 16:09:44 +0000 (12:09 -0400)
commit0a0e42e98538e959fece731be9262b1a8e874c7d
treef832825c7bfdccc0fd1e257c66396d292492e660
parent669e6449565018e72e3833ff39fcf677d5a5b824
Add floppy controllers to "drives" list also.

The Drives.drives list now contains floppies, harddrives, and cdroms.
Add mapping table for external/internal drive ids for floppies.
Rename CONFIG_FLOPPY_SUPPORT to CONFIG_FLOPPY (for consistency).
Be consistent with "driveid" and "floppyid" variable names.
Replace switch statements of drive parameters into a global array.
There are some externally visible changes with this patch:
  - Some calls will now return EPARAM instead of ETIMEOUT (or ECHANGED)
  - floppy_1301/1308 are now only available when regs->dl is valid
  - floppy_1308/1315 return EPARAM on invalid drives
src/ata.c
src/block.c
src/boot.c
src/cdrom.c
src/config.h
src/disk.c
src/disk.h
src/floppy.c