]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] ieee1394: eth1394: bring back a parent device
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 30 May 2007 05:33:47 +0000 (07:33 +0200)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:36:46 +0000 (11:36 -0700)
commit89f518f161a04e825e9143778521afe8c4c1adf0
treeedbf8624e92f495ca8053c5c9c3573446628545b
parent6f27f35162b8bcdcc598b49449b2801fa80084c7
[PATCH] ieee1394: eth1394: bring back a parent device

This adds a real parent device to eth1394's ethX device like in Linux
2.6.20 and older.  However, due to unfinished conversion of the ieee1394
away from class_device, we now refer to the FireWire controller's PCI
device as the parent, not to the ieee1394 driver's fw-host device.

Having a real parent device instead of a virtual one allows udev scripts
to distinguish eth1394 interfaces from networking bridges, bondings and
the likes.

Fixes a regression since 2.6.21:
https://bugs.gentoo.org/show_bug.cgi?id=177199

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ieee1394/eth1394.c