Re: [PATCH] eth1394: dev file [Report about error: unknown bus]
Brought to you by:
aeb,
bencollins
From: Paul B. <pa...@bl...> - 2004-10-21 04:09:47
|
On Wed, 2004-10-20 at 16:26 -0700, Randy.Dunlap wrote: > Kay Sievers wrote: > > On Wed, Oct 20, 2004 at 01:44:58PM -0400, Paul Blazejowski wrote: > >=20 > >>On Wed, 2004-10-20 at 15:17 +0200, Kay Sievers wrote: > >> > >> > >>>>'/class/net/eth1' properly (no device symlink) or the sysfs-support o= f > >>>>your device's driver needs to be fixed > >>> > >>>What driver creates the eth1 device? It needs to crete the "device" sy= mlink > >>>and the maintainer should know. > >> > >>eth1 Link encap:UNSPEC HWaddr > >>8A-1C-C7-FF-FF-00-20-ED-00-00-00-00-00-00-00-00 > >> > >>is created by the eth1394 driver. > >=20 > >=20 > > [CC: to the 1394 devel-list] > >=20 > > The eth1394.c driver needs to create the symlinks in its sysfs > > representation to get support for modern userspace integration. > > Most networkd drivers use: > >=20 > > SET_NETDEV_DEV(dev, &pdev->dev); > >=20 > > to do that. >=20 > Paul, > Can you test this patch, please? >=20 > Thanks, Randy applied the patch to kernel 2.6.9 and now eth1394 creates symlink under /sys/class/net/eth2 lrwxrwxrwx 1 root root 0 2004-10-20 23:58 device -> ../../../devices/pci0000:00/0000:00:0d.0/fw-host0/ Thank you, Paul --=20 FreeBSD -- The Power to Serve! |