Hello, I wrote:
would always evaluate as true:
The driver performs a number of checks on the virtual/physical
addresses which
Oops, s/true/false/, of course -- except in sgiioc4_read_status()
I got totally muddled. :-/
The checks indeed evaluate as true except in ide_dma_sgiioc4().
guarantees that 'ctrl_port' and 'irq_port' parameters are never 0;
- in sgiioc4_read_status(), we always read the IDE status register,
so there's
no need to check the register's address (must be a leftover from
the times
when this function implemented the INB() method);
- in ide_dma_sgiioc4(), 'dma_base' can never be 0 as IOC4_DMA_OFFSET
is not 0.
Signed-off-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>
- for sgiioc4_init_hwif_ports(), its caller,
sgiioc4_ide_setup_pci_device(),
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html