From: Alexandre Bounine Date: Thu, 13 Jan 2011 01:00:38 +0000 (-0800) Subject: rapidio: use common destid storage for endpoints and switches X-Git-Tag: v2.6.38-rc1~307 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a93192a5d245a262dc52fa426de5b20467308a77;p=pandora-kernel.git rapidio: use common destid storage for endpoints and switches Change code to use one storage location common for switches and endpoints. This eliminates unnecessary device type checks during basic access operations. Logic that assigns destid to RIO devices stays unchanged - as before, switches use an associated destid because they do not have their own. Signed-off-by: Alexandre Bounine Cc: Kumar Gala Cc: Matt Porter Cc: Li Yang Cc: Thomas Moll Cc: Micha Nelissen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed