/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/floppy.h * * Copyright (C) 1996-2000 Russell King * * Note that we don't touch FLOPPY_DMA nor FLOPPY_IRQ here
*/ #ifndef __ASM_ARM_FLOPPY_H #define __ASM_ARM_FLOPPY_H
/* need to clean up dma.h */ #define DMA_FLOPPYDISK DMA_FLOPPY
/* Floppy_selects is the list of DOR's to select drive fd * * On initialisation, the floppy list is scanned, and the drives allocated * in the order that they are found. This is done by seeking the drive * to a non-zero track, and then restoring it to track 0. If an error occurs, * then there is no floppy drive present. [to be put back in again]
*/ staticunsignedchar floppy_selects[4] = { 0x10, 0x21, 0x23, 0x33 };
#define FDC1 (0x3f0)
#define FLOPPY0_TYPE 4 #define FLOPPY1_TYPE 4
#define N_FDC 1 #define N_DRIVE 4
#define CROSS_64KB(a,s) (0)
/* * This allows people to reverse the order of * fd0 and fd1, in case their hardware is * strangely connected (as some RiscPCs * and A5000s seem to be).
*/ staticvoid driveswap(int *ints, int dummy, int dummy2)
{
swap(floppy_selects[0], floppy_selects[1]);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.