Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8e4dc400b7659691abdd92b3fc01ef094fc8a1e7
Commit:     8e4dc400b7659691abdd92b3fc01ef094fc8a1e7
Parent:     a0e857eeffba8976be6bdb9f4bb011c18eb2aff7
Author:     Stefan Richter <[EMAIL PROTECTED]>
AuthorDate: Sun May 27 23:14:05 2007 +0200
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 00:07:40 2007 +0200

    ieee1394: eth1394: revert parent device to that in 2.6.20
    
    After ieee1394 was converted away from class_device like the networking
    subsystem was already in 2.6.21, eth1394's device may point to the
    fw-host device as its parent again like in 2.6.20.
    
    This affects userspace tools which examine the sysfs representation of
    eth1394's device.
    
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 drivers/ieee1394/eth1394.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c
index 7c13fb3..93362ee 100644
--- a/drivers/ieee1394/eth1394.c
+++ b/drivers/ieee1394/eth1394.c
@@ -599,9 +599,7 @@ static void ether1394_add_host(struct hpsb_host *host)
        }
 
        SET_MODULE_OWNER(dev);
-
-       /* This used to be &host->device in Linux 2.6.20 and before. */
-       SET_NETDEV_DEV(dev, host->device.parent);
+       SET_NETDEV_DEV(dev, &host->device);
 
        priv = netdev_priv(dev);
        INIT_LIST_HEAD(&priv->ip_node_list);
-
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

Reply via email to