#include <linux/module.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/major.h>
#include <linux/errno.h>
#include <linux/genhd.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/ide.h>
#include <linux/spinlock.h>
#include <linux/kmod.h>
#include <linux/pci.h>
#include <linux/scatterlist.h>
#include <asm/byteorder.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/io.h>
Go to the source code of this file.
|
int | ide_dev_read_id (ide_drive_t *drive, u8 cmd, u16 *id, int irq_ctx) |
|
int | ide_busy_sleep (ide_drive_t *drive, unsigned long timeout, int altstatus) |
|
void | ide_undecoded_slave (ide_drive_t *dev1) |
|
| EXPORT_SYMBOL_GPL (ide_undecoded_slave) |
|
void | ide_register_region (struct gendisk *disk) |
|
| EXPORT_SYMBOL_GPL (ide_register_region) |
|
void | ide_unregister_region (struct gendisk *disk) |
|
| EXPORT_SYMBOL_GPL (ide_unregister_region) |
|
void | ide_init_disk (struct gendisk *disk, ide_drive_t *drive) |
|
| EXPORT_SYMBOL_GPL (ide_init_disk) |
|
struct ide_host * | ide_host_alloc (const struct ide_port_info *d, struct ide_hw **hws, unsigned int n_ports) |
|
| EXPORT_SYMBOL_GPL (ide_host_alloc) |
|
int | ide_host_register (struct ide_host *host, const struct ide_port_info *d, struct ide_hw **hws) |
|
| EXPORT_SYMBOL_GPL (ide_host_register) |
|
int | ide_host_add (const struct ide_port_info *d, struct ide_hw **hws, unsigned int n_ports, struct ide_host **hostp) |
|
| EXPORT_SYMBOL_GPL (ide_host_add) |
|
void | ide_port_unregister_devices (ide_hwif_t *hwif) |
|
| EXPORT_SYMBOL_GPL (ide_port_unregister_devices) |
|
void | ide_host_free (struct ide_host *host) |
|
| EXPORT_SYMBOL_GPL (ide_host_free) |
|
void | ide_host_remove (struct ide_host *host) |
|
| EXPORT_SYMBOL_GPL (ide_host_remove) |
|
void | ide_port_scan (ide_hwif_t *hwif) |
|
| EXPORT_SYMBOL_GPL (ide_port_scan) |
|
ide_dev_read_id - send ATA/ATAPI IDENTIFY command : drive to identify : command to use : buffer for IDENTIFY data : flag set when called from the IRQ context
Sends an ATA(PI) IDENTIFY request to a drive and waits for a response.
Returns: 0 device was identified 1 device timed-out (no response to identify request) 2 device aborted the command (refused to identify itself)
Definition at line 250 of file ide-probe.c.
ide_undecoded_slave - look for bad CF adapters : slave device
Analyse the drives on the interface and attempt to decide if we have the same drive viewed twice. This occurs with crap CF adapters and PCMCIA sometimes.
Definition at line 649 of file ide-probe.c.
void ide_unregister_region |
( |
struct gendisk * |
disk | ) |
|