Olaf Hering b0b8dab288 [PATCH] mv643xx_eth: provide sysfs class device symlink
On Sat, Mar 11, Olaf Hering wrote:
> Why is the /sys/class/net/eth0/device symlink not created for the
> mv643xx_eth driver? Does this work for other platform device drivers?
> Seems to work for the ps2 keyboard at least.

The SET_NETDEV_DEV has to be done before a call to register_netdev.  With
the new patch below, the device symlink for the platform device was
created.  Unfortunately, after the 4 ls commands, the network connection
died.  No idea if the box crashed or if something else broke, lost remote
access.

Provide sysfs 'device' in /class/net/ethN Also, set module owner field,
like pcnet32 driver does.

Signed-off-by: Olaf Hering <olh@suse.de>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-05-02 15:18:54 -04:00
..
2006-02-13 15:53:41 -08:00
2006-03-24 12:10:55 -05:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-03-03 21:33:57 -05:00
2006-03-24 07:33:24 -08:00
2006-03-21 16:00:53 -05:00
2006-03-29 13:24:50 +11:00
2006-04-02 13:52:48 +02:00
2006-01-28 21:42:31 -05:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-04-12 18:04:32 -04:00
2006-03-03 21:33:57 -05:00
2006-03-25 08:22:52 -08:00
2006-03-20 22:34:09 -08:00
2006-03-11 13:35:31 -05:00
2006-03-16 19:27:08 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-04-02 13:52:48 +02:00
2006-03-03 21:33:57 -05:00
2006-04-20 17:55:06 -04:00
2006-04-20 17:55:06 -04:00
2006-04-20 17:55:06 -04:00
2006-03-25 08:22:52 -08:00
2006-03-03 21:33:57 -05:00
2006-02-09 14:17:05 -05:00
2006-03-31 12:18:51 -08:00
2006-03-25 08:22:52 -08:00
2006-02-01 08:53:10 -08:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-03-22 20:28:04 -05:00
2006-03-25 08:22:52 -08:00
2006-04-02 13:52:48 +02:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-04-02 13:52:48 +02:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-03-04 12:07:07 -05:00
2006-03-02 14:26:30 -05:00
2005-11-11 08:31:35 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-03-28 09:16:08 -08:00
2006-04-26 06:19:46 -04:00
2006-04-26 06:19:45 -04:00
2006-01-10 08:01:59 -08:00
2006-03-25 08:22:52 -08:00
2006-03-03 22:22:45 -05:00
2006-04-19 15:42:28 -07:00
2006-03-20 22:34:25 -08:00
2006-03-20 22:34:25 -08:00
2006-04-29 19:01:06 -07:00
2006-04-29 18:56:34 -07:00
2006-03-11 18:49:13 -08:00