Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=48db7b7c50cdb06c85f0ff01b5c19ac34903048b Commit: 48db7b7c50cdb06c85f0ff01b5c19ac34903048b Parent: da68e0814a83649f7063c33562f535b60396b566 Author: Fabio Massimo Di Nitto <[EMAIL PROTECTED]> AuthorDate: Wed Jul 18 14:37:26 2007 -0700 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Thu Jul 19 21:27:10 2007 -0700
[SPARC64]: Fix device type matching in VIO's devspec_show(). with the recent renames, we forgot to update the matches for devspec. This is required to keep udev working and autoload modules. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- arch/sparc64/kernel/vio.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sparc64/kernel/vio.c b/arch/sparc64/kernel/vio.c index 8d3cc4f..7e65b5a 100644 --- a/arch/sparc64/kernel/vio.c +++ b/arch/sparc64/kernel/vio.c @@ -103,9 +103,9 @@ static ssize_t devspec_show(struct device *dev, struct vio_dev *vdev = to_vio_dev(dev); const char *str = "none"; - if (!strcmp(vdev->type, "network")) + if (!strcmp(vdev->type, "vnet-port")) str = "vnet"; - else if (!strcmp(vdev->type, "block")) + else if (!strcmp(vdev->type, "vdc-port")) str = "vdisk"; return sprintf(buf, "%s\n", str); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html