linux-stable/drivers/ide/pci
Sergei Shtylylov 9b5a18e19f sgiioc4: fix messages
Fix several issues with the log messages printed by ide_dma_sgiioc4() and
sgiioc4_ide_setup_pci_device():

- IOC4 registers are memory-mapped but the "BM-DMA at" format corresponds to
  I/O  mapped registers;

- "%p" format specifiers and type casts used to print non-pointer values;

- using KERN_INFO log level for the error message;

- 'hwif->name' printed as drive's name.

While at it, also:

- return more fitting -EBUSY if request_mem_region() fails;

- make the error message style consistent;

- fix indentation, put the printk() facility and message on the same line;

- use comparisions with NULL instead of ! operator..

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: jeremy@sgi.com
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-13 21:39:30 +02:00
..
aec62xx.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
alim15x3.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
amd74xx.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
atiixp.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cmd64x.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cmd640.c cmd640: add __set_prefetch_mode() 2008-10-10 22:39:28 +02:00
cs5520.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cs5530.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cs5535.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
cy82c693.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
delkin_cb.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
generic.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
hpt34x.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
hpt366.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
it821x.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
it8213.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
jmicron.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
Makefile ide-pci-generic: kill the unused ifdef/endif/MODULE code 2008-02-06 02:57:49 +01:00
ns87415.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
opti621.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
pdc202xx_new.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
pdc202xx_old.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
piix.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
rz1000.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
sc1200.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
scc_pata.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
serverworks.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
sgiioc4.c sgiioc4: fix messages 2008-10-13 21:39:30 +02:00
siimage.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
sis5513.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
sl82c105.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
slc90e66.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
tc86c001.c drivers/ide/pci/: use __devexit_p() 2008-08-18 21:40:03 +02:00
triflex.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00
trm290.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
via82cxxx.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00