kernel_optimize_test/drivers/ide
Borislav Petkov b642201326 ide-tape: remove struct idetape_capabilities_page_t
All those 2-byte values denoting the different capabilities are being written to
the local copy of the caps buffer without being converted to big endian for
simplicity of usage and shorter code later.  Also, we add some comments stating
which are the fields of the caps page in question in order to alleviate the
cryptic pointer casting exercises as in e.g. idetape_get_mode_sense_results().

There should be no functional changes resulting from this patch.

Bart:
- remove two needless "!!"

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-02 19:56:49 +01:00
..
arm ide: fix ide_unregister() usage in host drivers 2008-02-02 19:56:39 +01:00
cris ide-cris: use ide_execute_command() 2008-02-02 19:56:44 +01:00
h8300 ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
legacy ide-cs: use ide_std_init_ports() 2008-02-02 19:56:47 +01:00
mips ide: add IDE_HFLAG_NO_{IO32_BIT,UNMASK_IRQS} host flags 2008-02-02 19:56:40 +01:00
pci ide: remove SATA_*_REG macros 2008-02-02 19:56:45 +01:00
ppc ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
ide-acpi.c ide: factor out devices setup from ide_acpi_init() 2008-02-02 19:56:43 +01:00
ide-cd_ioctl.c ide-cd: move the remaining cdrom.c ioctl handling code to ide-cd_ioctl.c 2008-02-01 23:09:29 +01:00
ide-cd_verbose.c ide-cd: move VERBOSE_IDE_CD_ERRORS code to ide-cd_verbose.c 2008-02-01 23:09:23 +01:00
ide-cd.c ide-floppy: use an xfer_func_t and io_buf_t typedefs in order to unify rw 2008-02-02 19:56:36 +01:00
ide-cd.h ide: delete filenames/versions from comments 2008-02-01 23:09:33 +01:00
ide-disk.c ide: update/add my Copyrights 2008-02-01 23:09:33 +01:00
ide-dma.c ide: move check_dma_crc() to ide-dma.c 2008-02-02 19:56:47 +01:00
ide-floppy.c ide-floppy: bump driver version number 2008-02-02 19:56:38 +01:00
ide-generic.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
ide-io.c ide: fix ide_intr() for non-PCI devices and CONFIG_BLK_DEV_IDEPCI=y 2008-02-01 23:09:31 +01:00
ide-iops.c ide: move check_dma_crc() to ide-dma.c 2008-02-02 19:56:47 +01:00
ide-lib.c ide: keep pointer to struct device instead of struct pci_dev in ide_hwif_t 2008-02-01 23:09:31 +01:00
ide-pnp.c ide: fix ide_unregister() usage in host drivers 2008-02-02 19:56:39 +01:00
ide-probe.c ide-probe: remove needless Status register reads 2008-02-02 19:56:45 +01:00
ide-proc.c ide: move create_proc_ide_drives() call to ide_device_add_all() 2008-02-02 19:56:43 +01:00
ide-scan-pci.c ide: small ide-scan-pci.c cleanup 2008-02-01 23:09:16 +01:00
ide-tape.c ide-tape: remove struct idetape_capabilities_page_t 2008-02-02 19:56:49 +01:00
ide-taskfile.c ide: remove ide_ata66_check() 2008-02-02 19:56:46 +01:00
ide-timing.h ide: delete filenames/versions from comments 2008-02-01 23:09:33 +01:00
ide.c ide: remove ->nice0 and ->nice2 fields from ide_drive_t 2008-02-02 19:56:45 +01:00
Kconfig ide-cd: move VERBOSE_IDE_CD_ERRORS code to ide-cd_verbose.c 2008-02-01 23:09:23 +01:00
Makefile ide-cd: move code handling cdrom.c IOCTLs to ide-cd_ioctl.c 2008-02-01 23:09:25 +01:00
setup-pci.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00