linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fumitoshi UKAI <ukai@debian.or.jp>
To: linux-hotplug@vger.kernel.org
Subject: Re: Bug#237747: hotplug: ieee1394.agent fails to identify any FireWire device
Date: Sat, 13 Mar 2004 17:54:28 +0000	[thread overview]
Message-ID: <87y8q47huz.wl@ukai.org> (raw)

Hi,

recent version of ieee1394.agent has misplaced conversion code in
ieee1394_map_modules.  

May I apply this patch?

diff -ruN hotplug-2004_03_11.orig/etc/hotplug/ieee1394.agent hotplug-2004_03_11/etc/hotplug/ieee1394.agent
--- hotplug-2004_03_11.orig/etc/hotplug/ieee1394.agent	2004-03-12 08:18:23.000000000 +0900
+++ hotplug-2004_03_11/etc/hotplug/ieee1394.agent	2004-03-14 01:03:31.000000000 +0900
@@ -55,17 +55,16 @@
 {
     local module ignored
 
-    # convert from hex to dec
-    match_flags=$(($match_flags))
-    vendor_id=$(($vendor_id)); model_id=$(($model_id))
-    specifier_id=$(($specifier_id)); version=$(($version))
-
     # comment line lists (current) pci_device_id field names
     read ignored
 
     while read module match_flags vendor_id model_id specifier_id version
     do
 	: check match for $module
+	# convert from hex to dec
+	match_flags=$(($match_flags))
+	vendor_id=$(($vendor_id)); model_id=$(($model_id))
+	specifier_id=$(($specifier_id)); version=$(($version))
 
 	: vendor_id $vendor_id $device_vendor_id
 	if [ $(($match_flags & $MATCH_VENDOR_ID)) -ne 0 -a $vendor_id -ne $device_vendor_id ]; then

Thanks,
Fumitoshi UKAI


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

                 reply	other threads:[~2004-03-13 17:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y8q47huz.wl@ukai.org \
    --to=ukai@debian.or.jp \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).