Blame view

drivers/ide/ide-floppy.h 1.08 KB
0127854d7   Bartlomiej Zolnierkiewicz   ide-floppy: move ...
1
2
  #ifndef __IDE_FLOPPY_H
  #define __IDE_FLOPPY_H
806f80a6f   Bartlomiej Zolnierkiewicz   ide: add generic ...
3
  #include "ide-gd.h"
c84d9bbe7   Bartlomiej Zolnierkiewicz   ide-floppy: facto...
4

806f80a6f   Bartlomiej Zolnierkiewicz   ide: add generic ...
5
  #ifdef CONFIG_IDE_GD_ATAPI
0127854d7   Bartlomiej Zolnierkiewicz   ide-floppy: move ...
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  /*
   * Pages of the SELECT SENSE / MODE SENSE packet commands.
   * See SFF-8070i spec.
   */
  #define	IDEFLOPPY_CAPABILITIES_PAGE	0x1b
  #define IDEFLOPPY_FLEXIBLE_DISK_PAGE	0x05
  
  /* IOCTLs used in low-level formatting. */
  #define	IDEFLOPPY_IOCTL_FORMAT_SUPPORTED	0x4600
  #define	IDEFLOPPY_IOCTL_FORMAT_GET_CAPACITY	0x4601
  #define	IDEFLOPPY_IOCTL_FORMAT_START		0x4602
  #define IDEFLOPPY_IOCTL_FORMAT_GET_PROGRESS	0x4603
  
  /* ide-floppy.c */
806f80a6f   Bartlomiej Zolnierkiewicz   ide: add generic ...
20
  extern const struct ide_disk_ops ide_atapi_disk_ops;
0127854d7   Bartlomiej Zolnierkiewicz   ide-floppy: move ...
21
22
  void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *, u8);
  void ide_floppy_create_read_capacity_cmd(struct ide_atapi_pc *);
0127854d7   Bartlomiej Zolnierkiewicz   ide-floppy: move ...
23
24
  
  /* ide-floppy_ioctl.c */
badf8082c   Al Viro   [PATCH] switch id...
25
26
  int ide_floppy_ioctl(ide_drive_t *, struct block_device *, fmode_t,
  		     unsigned int, unsigned long);
0127854d7   Bartlomiej Zolnierkiewicz   ide-floppy: move ...
27

b9103da46   Bartlomiej Zolnierkiewicz   ide-floppy: move ...
28
29
30
31
32
  #ifdef CONFIG_IDE_PROC_FS
  /* ide-floppy_proc.c */
  extern ide_proc_entry_t ide_floppy_proc[];
  extern const struct ide_proc_devset ide_floppy_settings[];
  #endif
806f80a6f   Bartlomiej Zolnierkiewicz   ide: add generic ...
33
34
35
36
  #else
  #define ide_floppy_proc		NULL
  #define ide_floppy_settings	NULL
  #endif
b9103da46   Bartlomiej Zolnierkiewicz   ide-floppy: move ...
37

0127854d7   Bartlomiej Zolnierkiewicz   ide-floppy: move ...
38
  #endif /*__IDE_FLOPPY_H */