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
..
2008-07-24 10:47:41 -07:00
2008-08-19 18:47:56 +02:00
2008-07-25 10:53:30 -07:00
2008-10-13 21:39:30 +02:00
2008-10-13 09:51:44 -07:00
2008-08-26 00:19:28 +10:00
2008-10-09 15:33:57 +02:00
2008-10-13 09:51:44 -07:00
2008-09-03 15:55:32 -07:00
2008-08-04 12:51:06 +09:00
2008-10-03 10:04:10 +02:00
2008-08-13 17:33:00 -07:00