Go to the documentation of this file. 1 #ifndef _LINUX_AMIFDREG_H
2 #define _LINUX_AMIFDREG_H
8 #define DSKRDY (0x1<<5)
9 #define DSKTRACK0 (0x1<<4)
10 #define DSKPROT (0x1<<3)
11 #define DSKCHANGE (0x1<<2)
17 #define DSKMOTOR (0x1<<7)
18 #define DSKSEL3 (0x1<<6)
19 #define DSKSEL2 (0x1<<5)
20 #define DSKSEL1 (0x1<<4)
21 #define DSKSEL0 (0x1<<3)
22 #define DSKSIDE (0x1<<2)
23 #define DSKDIREC (0x1<<1)
30 #define DSKBYT (1<<15)
32 #define DISKWRITE (1<<13)
33 #define WORDEQUAL (1<<12)
41 #define ADK_SETCLR (1<<15)
43 #define ADK_PRECOMP1 (1<<14)
44 #define ADK_PRECOMP0 (1<<13)
45 #define ADK_MFMPREC (1<<12)
46 #define ADK_WORDSYNC (1<<10)
47 #define ADK_MSBSYNC (1<<9)
48 #define ADK_FAST (1<<8)
54 #define DSKLEN_DMAEN (1<<15)
55 #define DSKLEN_WRITE (1<<14)
61 #define DSKINDEX (0x1<<4)
67 #define MFM_SYNC 0x4489
70 #define FD_RECALIBRATE 0x07
74 #define FD_SENSEI 0x08
75 #define FD_SPECIFY 0x03
76 #define FD_FORMAT 0x4D
77 #define FD_VERSION 0x10
78 #define FD_CONFIGURE 0x13
79 #define FD_PERPENDICULAR 0x12