Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef __IDE_FLOPPY_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define __IDE_FLOPPY_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include "ide-gd.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #ifdef CONFIG_IDE_GD_ATAPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  * Pages of the SELECT SENSE / MODE SENSE packet commands.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  * See SFF-8070i spec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define	IDEFLOPPY_CAPABILITIES_PAGE	0x1b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define IDEFLOPPY_FLEXIBLE_DISK_PAGE	0x05
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) /* IOCTLs used in low-level formatting. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define	IDEFLOPPY_IOCTL_FORMAT_SUPPORTED	0x4600
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define	IDEFLOPPY_IOCTL_FORMAT_GET_CAPACITY	0x4601
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define	IDEFLOPPY_IOCTL_FORMAT_START		0x4602
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define IDEFLOPPY_IOCTL_FORMAT_GET_PROGRESS	0x4603
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) /* ide-floppy.c */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) extern const struct ide_disk_ops ide_atapi_disk_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *, u8);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) void ide_floppy_create_read_capacity_cmd(struct ide_atapi_pc *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) /* ide-floppy_ioctl.c */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) int ide_floppy_ioctl(ide_drive_t *, struct block_device *, fmode_t,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		     unsigned int, unsigned long);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) int ide_floppy_compat_ioctl(ide_drive_t *, struct block_device *, fmode_t,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 			    unsigned int, unsigned long);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #ifdef CONFIG_IDE_PROC_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) /* ide-floppy_proc.c */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) extern ide_proc_entry_t ide_floppy_proc[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) extern const struct ide_proc_devset ide_floppy_settings[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #define ide_floppy_proc		NULL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) #define ide_floppy_settings	NULL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #endif /*__IDE_FLOPPY_H */