From: Bartlomiej Zolnierkiewicz Date: Wed, 23 Jul 2008 17:55:49 +0000 (+0200) Subject: ide-pmac: move ide_find_port() call to pmac_ide_setup_device() (take 2) X-Git-Tag: v2.6.27-rc1~854^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b36ba53218e164e49623e36fa3a2fec9f08cf70a;p=pandora-kernel.git ide-pmac: move ide_find_port() call to pmac_ide_setup_device() (take 2) Move ide_find_port() call to pmac_ide_setup_device(). While at it: - fix return value (s/-ENODEV/-ENOENT/) - add DRV_NAME define and use it to set name field of pmac_port_info - use ide_find_port_slot() instead of ide_find_port() - remove superfluous error message (ide_find_port_slot() takes care of it) - drop IDE interface number from driver banner message (but include bus type) v2: * Build fix (thanks to Stephen Rothwell for noticing the issue). Cc: Benjamin Herrenschmidt Cc: Stephen Rothwell Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed