Home
last modified time | relevance | path

Searched refs:floppy (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v5.4/drivers/ide/
Dide-floppy.c65 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_callback() local
83 floppy->sense_key = buf[2] & 0x0F; in ide_floppy_callback()
84 floppy->asc = buf[12]; in ide_floppy_callback()
85 floppy->ascq = buf[13]; in ide_floppy_callback()
86 floppy->progress_indication = buf[15] & 0x80 ? in ide_floppy_callback()
94 "ascq = %x", floppy->sense_key, in ide_floppy_callback()
95 floppy->asc, floppy->ascq); in ide_floppy_callback()
107 static void ide_floppy_report_error(struct ide_disk_obj *floppy, in ide_floppy_report_error() argument
111 if (floppy->sense_key == 0x02 && in ide_floppy_report_error()
112 floppy->asc == 0x3a && in ide_floppy_report_error()
[all …]
Dide-floppy_ioctl.c41 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_get_format_capacities() local
54 if (ide_queue_pc_tail(drive, floppy->disk, pc, pc_buf, pc->req_xfer)) { in ide_floppy_get_format_capacities()
122 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_get_sfrp_bit() local
130 if (ide_queue_pc_tail(drive, floppy->disk, pc, buf, pc->req_xfer)) in ide_floppy_get_sfrp_bit()
142 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_format_unit() local
146 if (floppy->openers > 1) { in ide_floppy_format_unit()
179 if (ide_queue_pc_tail(drive, floppy->disk, pc, buf, pc->req_xfer)) in ide_floppy_format_unit()
202 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_get_format_progress() local
208 if (ide_queue_pc_tail(drive, floppy->disk, pc, sense_buf, in ide_floppy_get_format_progress()
212 if (floppy->sense_key == 2 && in ide_floppy_get_format_progress()
[all …]
/Linux-v5.4/Documentation/admin-guide/blockdev/
Dfloppy.rst15 The floppy driver is configured using the 'floppy=' option in
22 linux-2.6.9 floppy=thinkpad
27 append = "floppy=thinkpad"
29 Several floppy related options may be given, example::
31 linux-2.6.9 floppy=daring floppy=two_fdc
32 append = "floppy=daring floppy=two_fdc"
43 If you use the floppy driver as a module, use the following syntax::
45 modprobe floppy floppy="<options>"
49 modprobe floppy floppy="omnibook messages"
51 If you need certain options enabled every time you load the floppy driver,
[all …]
Dramdisk.rst37 rescue floppy disk.
78 Consider a typical two floppy disk setup, where you will have the
82 starts at an offset of 0 kB from the beginning of the floppy.
89 sequence so that you have a chance to switch floppy disks.
141 e) Put the kernel onto the floppy::
145 f) Put the RAM disk image onto the floppy, after the kernel. Use an offset
147 (possibly larger) kernel onto the same floppy later without overlapping
150 not larger than the total space on your floppy (usually 1440 kB)::
161 That is it. You now have your boot/root compressed RAM disk floppy. Some
Dindex.rst10 floppy
/Linux-v5.4/arch/arm/include/asm/
Dfloppy.h78 int floppy, drive_count; in fd_scandrives()
86 for (floppy = 0; floppy < 4; floppy ++) { in fd_scandrives()
101 LAST_OUT(UNIT(floppy)); in fd_scandrives()
108 floppy -= 1; in fd_scandrives()
/Linux-v5.4/include/uapi/linux/
Dfd.h28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) argument
35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) argument
36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ argument
37 512 : 128 << FD_SIZECODE(floppy) )
/Linux-v5.4/arch/x86/boot/
Dmtools.conf.in5 # Actual floppy drive
9 # 1.44 MB floppy disk image
13 # 2.88 MB floppy disk image (mostly for virtual uses)
/Linux-v5.4/Documentation/ide/
Dchangelogs.rst7 Changelog for ide floppy
10 .. include:: ChangeLog.ide-floppy.1996-2002
/Linux-v5.4/drivers/block/
Dataflop.c1487 struct atari_floppy_struct *floppy = bd->rq->rq_disk->private_data; in ataflop_queue_rq() local
1488 int drive = floppy - unit; in ataflop_queue_rq()
1489 int type = floppy->type; in ataflop_queue_rq()
1518 set_capacity(floppy->disk, UDT->blocks); in ataflop_queue_rq()
1536 set_capacity(floppy->disk, UDT->blocks); in ataflop_queue_rq()
1563 struct atari_floppy_struct *floppy = disk->private_data; in fd_locked_ioctl() local
1564 int drive = floppy - unit; in fd_locked_ioctl()
1565 int type = floppy->type; in fd_locked_ioctl()
1615 if (floppy->ref != 1 && floppy->ref != -1) in fd_locked_ioctl()
1661 set_capacity(floppy->disk, UDT->blocks); in fd_locked_ioctl()
[all …]
DKconfig28 tristate "Normal floppy disk support"
31 If you want to use the floppy disk drive(s) of your PC under Linux,
34 <file:Documentation/admin-guide/blockdev/floppy.rst>.
40 module will be called floppy.
43 tristate "Amiga floppy support"
47 tristate "Atari floppy support"
51 tristate "Support for PowerMac floppy"
55 floppy controller, say Y here. Most commonly found in PowerMacs.
58 tristate "Support for SWIM Macintosh floppy"
61 You should select this option if you want floppy support
[all …]
Damiflop.c1458 static blk_status_t amiflop_rw_cur_segment(struct amiga_floppy_struct *floppy, in amiflop_rw_cur_segment() argument
1461 int drive = floppy - unit; in amiflop_rw_cur_segment()
1472 track = block / (floppy->dtype->sects * floppy->type->sect_mult); in amiflop_rw_cur_segment()
1473 sector = block % (floppy->dtype->sects * floppy->type->sect_mult); in amiflop_rw_cur_segment()
1484 memcpy(data, floppy->trackbuf + sector * 512, 512); in amiflop_rw_cur_segment()
1486 memcpy(floppy->trackbuf + sector * 512, data, 512); in amiflop_rw_cur_segment()
1495 floppy->dirty = 1; in amiflop_rw_cur_segment()
1508 struct amiga_floppy_struct *floppy = rq->rq_disk->private_data; in amiflop_queue_rq() local
1517 err = amiflop_rw_cur_segment(floppy, rq); in amiflop_queue_rq()
DMakefile11 obj-$(CONFIG_BLK_DEV_FD) += floppy.o
Dfloppy.c319 #define PH_HEAD(floppy, head) (((((floppy)->stretch & 2) >> 1) ^ head) << 2) argument
320 #define STRETCH(floppy) ((floppy)->stretch & FD_STRETCH) argument
492 #define SECTSIZE (_FD_SECTSIZE(*floppy))
2996 struct floppy_struct *floppy; in drive_name() local
2999 floppy = floppy_type + type; in drive_name()
3002 floppy = floppy_type + UDP->native_format; in drive_name()
3006 if (floppy->name) in drive_name()
3007 return floppy->name; in drive_name()
4922 static char *floppy; variable
4943 if (floppy) in floppy_module_init()
[all …]
/Linux-v5.4/arch/m68k/q40/
DREADME18 The floppy imposes a very high interrupt load on the CPU, approx 30K/s.
21 it can make the floppy very slow or practically stop. Other Q40 OS' simply
22 poll the floppy for this reason - something that can't be done in Linux.
35 floppy.c # normal PC driver, DMA emu in asm/floppy.h
85 Most interfacing like floppy, IDE, serial and parallel ports is done via ISA
/Linux-v5.4/fs/minix/
DKconfig8 partition or a floppy disk) was the original file system for Linux,
12 on older Linux floppy disks. This option will enlarge your kernel
/Linux-v5.4/fs/affs/
DKconfig10 read with this driver due to an incompatibility of the floppy
11 controller used in an Amiga and the standard floppy controller in
/Linux-v5.4/fs/adfs/
DKconfig10 and from ADFS-formatted floppy discs. If you also want to be able to
27 hard drives and ADFS-formatted floppy disks. This is experimental
/Linux-v5.4/fs/hfs/
DKconfig8 floppy disks and hard drive partitions with full read-write access.
/Linux-v5.4/drivers/zorro/
DKconfig14 floppy or kernel for an embedded system where kernel image size
/Linux-v5.4/Documentation/filesystems/nfs/
Dnfsroot.txt254 3.1) Booting from a floppy using syslinux
256 When building kernels, an easy way to create a boot floppy that uses
265 access to the floppy drive device, /dev/fd0
271 a floppy using dd, configure the boot device using rdev, and
272 boot using the resulting floppy. Linux no longer supports this
/Linux-v5.4/Documentation/filesystems/
Daffs.txt133 file system (for example, partition, floppy disk, ...). With the Amiga,
217 It's not possible to read floppy disks with a normal PC or workstation
218 due to an incompatibility with the Amiga floppy controller.
/Linux-v5.4/Documentation/admin-guide/
Dinitrd.rst108 you're building an install floppy), the root file system creation
127 - a floppy disk (works everywhere but it's painfully slow)
173 For experimenting with initrd, you may want to take a rescue floppy and
279 1) system boots from floppy or other media with a minimal kernel
319 from CD, e.g. by using a boot floppy and bootstrapping a bigger RAM disk
Dpnp.rst61 Suppose you need to activate the floppy disk controller.
68 PC standard floppy disk controller
/Linux-v5.4/drivers/eisa/
DKconfig71 you are building an installation floppy or kernel for an

123