Server IP : 127.0.0.2 / Your IP : 52.15.154.142 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/modules/4.4.0-1084-aws/build/include/linux/ |
Upload File : |
#ifndef _AMIFD_H #define _AMIFD_H /* Definitions for the Amiga floppy driver */ #include <linux/fd.h> #define FD_MAX_UNITS 4 /* Max. Number of drives */ #define FLOPPY_MAX_SECTORS 22 /* Max. Number of sectors per track */ #ifndef ASSEMBLER struct fd_data_type { char *name; /* description of data type */ int sects; /* sectors per track */ #ifdef __STDC__ int (*read_fkt)(int); void (*write_fkt)(int); #else int (*read_fkt)(); /* read whole track */ void (*write_fkt)(); /* write whole track */ #endif }; /* ** Floppy type descriptions */ struct fd_drive_type { unsigned long code; /* code returned from drive */ char *name; /* description of drive */ unsigned int tracks; /* number of tracks */ unsigned int heads; /* number of heads */ unsigned int read_size; /* raw read size for one track */ unsigned int write_size; /* raw write size for one track */ unsigned int sect_mult; /* sectors and gap multiplier (HD = 2) */ unsigned int precomp1; /* start track for precomp 1 */ unsigned int precomp2; /* start track for precomp 2 */ unsigned int step_delay; /* time (in ms) for delay after step */ unsigned int settle_time; /* time to settle after dir change */ unsigned int side_time; /* time needed to change sides */ }; struct amiga_floppy_struct { struct fd_drive_type *type; /* type of floppy for this unit */ struct fd_data_type *dtype; /* type of floppy for this unit */ int track; /* current track (-1 == unknown) */ unsigned char *trackbuf; /* current track (kmaloc()'d */ int blocks; /* total # blocks on disk */ int changed; /* true when not known */ int disk; /* disk in drive (-1 == unknown) */ int motor; /* true when motor is at speed */ int busy; /* true when drive is active */ int dirty; /* true when trackbuf is not on disk */ int status; /* current error code for unit */ struct gendisk *gendisk; }; #endif #endif