summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-12-07 22:00:05 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2005-12-07 22:00:05 (GMT)
commitf3aef1a78eeb80f9234eb39d22965ad1f6e94b5d (patch)
tree83b2dff562d3c575b8d313b815b65e4dc680c546
parentca93c2c6c4daee82c45c15dd321a38357d26586e (diff)
add parisc support to path_id
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379 path_id doesn't work too well for parisc boxes. This patch from Jeroen Roovers <jer@gentoo.org> fixes that. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rwxr-xr-xextras/path_id5
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/path_id b/extras/path_id
index 4ac7187..dfb997b 100755
--- a/extras/path_id
+++ b/extras/path_id
@@ -235,6 +235,11 @@ handle_block_scsi () {
adapter="`echo $controller_dev | sed -e 's@/[^/]\{1,\}$@@;s@^.*/@@;s@^.*:@@'`"
bus="gc"
;;
+ # PARISC devices
+ *parisc*)
+ adapter="${controler_dev##*/}"
+ bus=parisc;
+ ;;
*)
adapter="${controller_dev##*/}"
bus="pci"