#include <linux/module.h>#include <linux/kernel.h>#include <linux/sched.h>#include <linux/string.h>#include <linux/ioport.h>#include <linux/malloc.h>#include <linux/in.h>#include <linux/bios32.h>#include <linux/pci.h>#include <linux/proc_fs.h>#include <linux/delay.h>#include <asm/byteorder.h>#include <asm/types.h>#include <asm/io.h>#include <asm/dma.h>#include <asm/pgtable.h>#include <linux/blk.h>#include "scsi.h"#include "sd.h"#include "hosts.h"#include "eata_dma.h"#include "eata_dma_proc.h"#include <linux/stat.h>#include <linux/config.h>#include "eata_dma_proc.c"Include dependency graph for eata_dma.c:

Go to the source code of this file.
|
|
Definition at line 906 of file eata_dma.c. References DBG, DBG_BLINK, FALSE, htonl(), inl, printk, state, TRUE, u32, uint, and ushort. Referenced by find_EISA(), find_ISA(), and find_PCI(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 250 of file eata_dma.c. References eata_int_handler(), io_request_lock, spin_lock_irqsave, and spin_unlock_irqrestore. Referenced by eata_detect(). Here is the call graph for this function: ![]() |
|
|
Definition at line 630 of file eata_dma.c. References scsi_cmnd::abort_reason, Scsi_Host::base, CD, cli, DBG, DBG_ABNORM, DBG_DELAY, DELAY, eata_int_handler(), FREE, HA_ABUSY, HA_AIRQ, HA_RAUXSTAT, scsi_cmnd::host, Scsi_Host::host_no, HZ, inb, Scsi_Host::irq, LOCKED, loop, scsi_cmnd::lun, next, panic(), scsi_cmnd::pid, printk, RESET, restore_flags, save_flags, SCSI_ABORT_BUSY, SCSI_ABORT_ERROR, SCSI_ABORT_NOT_RUNNING, scsi_cmnd::target, u32, uint, ulong, USED, and x. Here is the call graph for this function: ![]() |
|
|
Definition at line 1528 of file eata_dma.c. References Scsi_Host::base, BUSMASTER, Scsi_Host::can_queue, DBG, DBG_DELAY, DBG_PROBE, DELAY, Scsi_Host::dma_channel, dma_scratch, do_eata_int_handler(), DPT_DEBUG, find_EISA(), find_ISA(), find_PCI(), free_irq(), Scsi_Host::host_no, Scsi_Host::irq, MAXIRQ, name, NULL, printk, SHT::proc_dir, reg_IRQ, registered_HBAs, request_irq(), revision, SA_INTERRUPT, SA_SHIRQ, scsi_init_free(), scsi_init_malloc(), SD, Scsi_Host::sg_tablesize, Scsi_Host::this_id, TRUE, u32, VER_MAJOR, VER_MINOR, and VER_SUB. Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 136 of file eata_dma.c. References DBG, DBG_INTR3, fake_int_happened, fake_int_result, HA_RSTATUS, inb, printk, TRUE, and ulong. Referenced by register_HBA(). |
|
||||||||||||||||
|
||||||||||||
|
Definition at line 172 of file eata_dma.c. References jiffies, READ, eata_ccb::rw_latency, eata_ccb::sizeindex, time(), eata_ccb::timestamp, uint, and WRITE. Referenced by eata_int_handler(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 199 of file eata_dma.c. References scsi_cmnd::cmnd, jiffies, ntohl(), ntohs(), OTHER, READ, READ_10, READ_12, READ_6, eata_ccb::rw_latency, eata_ccb::sizeindex, eata_ccb::timestamp, WRITE, WRITE_10, WRITE_12, WRITE_6, x, and z. Referenced by eata_queue(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
||||||||||||
|
Definition at line 688 of file eata_dma.c. References scsi_cmnd::abort_reason, Scsi_Host::base, cli, DBG, DBG_ABNORM, DBG_DELAY, DELAY, DID_RESET, EATA_CMD_RESET, eata_int_handler(), eata_send_command(), FALSE, FREE, HA_ABUSY, HA_AIRQ, HA_RAUXSTAT, HA_RSTATUS, HD, scsi_cmnd::host, Scsi_Host::host_no, inb, io_request_lock, Scsi_Host::irq, LOCKED, loop, scsi_cmnd::lun, next, NULL, panic(), scsi_cmnd::pid, printk, RESET, restore_flags, scsi_cmnd::result, save_flags, scsi_cmnd::scsi_done, SCSI_RESET_ERROR, SCSI_RESET_PENDING, SCSI_RESET_PUNT, sp, spin_lock_irqsave, spin_unlock_irqrestore, state, success, scsi_cmnd::target, TRUE, u32, uint, ulong, and x. Here is the call graph for this function: ![]() |
|
|
Definition at line 126 of file eata_dma.c. References NULL, scsi_cmnd::request, RQ_SCSI_DONE, request::rq_status, request::sem, and up. Referenced by eata_proc_info(). |
|
||||||||||||
|
Definition at line 811 of file eata_dma.c. References DBG, DBG_REGISTER, device, factor, IS_ISA, KERN_DEBUG, KERN_INFO, NULL, printk, SD, TYPE_DISK, TYPE_DISK_QUEUE, TYPE_MOD, TYPE_OTHER_QUEUE, TYPE_PROCESSOR, TYPE_ROM, TYPE_ROM_QUEUE, TYPE_SCANNER, TYPE_TAPE, TYPE_TAPE_QUEUE, TYPE_WORM, and UPPER_DEVICE_QUEUE_LIMIT. Referenced by register_HBA(). |
|
||||||||||||||||
|
Definition at line 405 of file eata_dma.c. References FALSE, flush_cache_all, HA_ABUSY, HA_RAUXSTAT, HA_WCOMMAND, HA_WDMAADDR, inb, loop, NULL, outb, R_LIMIT, TRUE, u32, and virt_to_bus. Referenced by eata_queue(), eata_reset(), get_board_data(), and get_conf_PIO(). |
|
||||||||||||||||||||||||
|
Definition at line 438 of file eata_dma.c. References EATA_CMD_IMMEDIATE, flush_cache_all, HA_WCODE, HA_WCODE2, HA_WCOMMAND, HA_WDMAADDR, HA_WIFC, NULL, outb, TRUE, u32, virt_to_bus, and x0. |
|
||||||||||||
|
Definition at line 1343 of file eata_dma.c. References ATT_ID1, ATT_ID2, ATT_ID3, check_blink_state(), DBG, DBG_EISA, DBG_PROBE, DPT_ID1, DPT_ID2, EISAbases, get_conf_PIO(), inb, IS_EISA, MAXEISA, NEC_ID1, NEC_ID2, NEC_ID3, printk, register_HBA(), TRUE, u16, u32, and u8. Referenced by eata_detect(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 1391 of file eata_dma.c. References check_blink_state(), DBG, DBG_ISA, get_conf_PIO(), IS_ISA, ISAbases, MAXISA, printk, register_HBA(), and TRUE. Referenced by eata_detect(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 1414 of file eata_dma.c. References ATT_ID1, ATT_ID2, ATT_ID3, check_blink_state(), DBG, DBG_PCI, DBG_PROBE, DPT_ID1, DPT_ID2, EISAbases, error, get_conf_PIO(), inb, IS_PCI, ISAbases, MAXISA, MAXPCI, NEC_ID1, NEC_ID2, NEC_ID3, PCI_BASE_ADDRESS_0, PCI_CLASS_DEVICE, PCI_CLASS_STORAGE_SCSI, PCI_COMMAND, PCI_COMMAND_IO, PCI_COMMAND_MASTER, PCI_DEVICE_ID_DPT, pci_present, PCI_VENDOR_ID_DPT, pcibios_find_device(), pcibios_read_config_dword(), pcibios_read_config_word(), printk, register_HBA(), s32, TRUE, u16, u32, u8, x, x01, x1000, and xf8. Referenced by eata_detect(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 929 of file eata_dma.c. References eata_ccb::cp_cdb, eata_ccb::cp_dataDMA, eata_ccb::cp_datalen, eata_ccb::cp_dispri, eata_ccb::cp_id, eata_ccb::cp_identify, eata_ccb::cp_lun, eata_ccb::cp_statDMA, eata_ccb::cp_viraddr, eata_ccb::DataIn, DBG, DBG_INTR3, DELAY, dma_scratch, EATA_CMD_DMA_SEND_CP, EATA_CMD_RESET, eata_send_command(), fake_int_happened, fake_int_result, FALSE, HA_RSTATUS, HA_SERROR, eata_sp::hba_stat, htonl(), HZ, inb, INQUIRY, eata_ccb::Interpret, jiffies, KERN_DEBUG, KERN_WARNING, memset, NULL, printk, scsi_init_free(), scsi_init_malloc(), eata_sp::scsi_stat, sp, time_after, time_before_eq, TRUE, u32, ulong, and virt_to_bus. Referenced by register_HBA(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 998 of file eata_dma.c. References check_region, DBG, DBG_PIO, DBG_PROBE, EATA_CMD_PIO_READ_CONFIG, eata_send_command(), EATA_SIGNATURE, fake_int_happened, fake_int_result, FALSE, HA_RDATA, HA_RSTATUS, HA_SBUSY, HA_SDRQ, HA_SERROR, htonl(), inb, inw, loop, memset, p, printk, R_LIMIT, TRUE, u16, uint, and ulong. Referenced by find_EISA(), find_ISA(), and find_PCI(). Here is the call graph for this function: ![]() |
|
|
Definition at line 1049 of file eata_dma.c. References DBG, DELAY, DPT_DEBUG, ntohl(), ntohs(), printk, and u32. Referenced by register_HBA(). Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
|
Definition at line 117 of file eata_dma.c. Referenced by eata_detect(), and get_board_data(). |
|
|
Initial value:
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
Definition at line 107 of file eata_dma.c. Referenced by find_EISA(), find_PCI(), find_pio_EISA(), and find_pio_PCI(). |
|
|
Definition at line 119 of file eata_dma.c. |
|
|
Definition at line 121 of file eata_dma.c. Referenced by eata_fake_int_handler(), get_board_data(), and get_conf_PIO(). |
|
|
Definition at line 120 of file eata_dma.c. Referenced by eata_fake_int_handler(), get_board_data(), and get_conf_PIO(). |
|
|
Definition at line 111 of file eata_dma.c. Referenced by eata_pio_proc_info(), and eata_proc_info(). |
|
|
Definition at line 123 of file eata_dma.c. Referenced by eata_int_handler(), eata_pio_int_handler(), eata_pio_proc_info(), eata_pio_queue(), and eata_proc_info(). |
|
|
Initial value:
{0x1F0, 0x170, 0x330, 0x230}
Definition at line 105 of file eata_dma.c. Referenced by find_ISA(), find_PCI(), find_pio_ISA(), find_pio_PCI(), and get_pio_conf_PIO(). |
|
|
Definition at line 110 of file eata_dma.c. |
|
|
Initial value: {
PROC_SCSI_EATA, 8, "eata_dma",
S_IFDIR | S_IRUGO | S_IXUGO, 2
}
Definition at line 100 of file eata_dma.c. |
|
|
Definition at line 124 of file eata_dma.c. Referenced by eata_pio_proc_info(), eata_pio_queue(), eata_proc_info(), and eata_queue(). |
|
|
Initial value:
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
Definition at line 112 of file eata_dma.c. Referenced by eata_detect(), eata_pio_detect(), register_HBA(), and register_pio_HBA(). |
|
|
Initial value:
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
Definition at line 114 of file eata_dma.c. Referenced by register_HBA(), and register_pio_HBA(). |
|
|
Definition at line 109 of file eata_dma.c. |