linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] put config info in db for netdev
@ 2004-04-02  9:33 Kay Sievers
  2004-04-02 17:11 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2004-04-02  9:33 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

Small change, to put the config informations for handled network
interfaces into the database.

thanks,
Kay

[-- Attachment #2: 03-netdev-db.patch --]
[-- Type: text/plain, Size: 580 bytes --]

===== namedev.c 1.138 vs edited =====
--- 1.138/namedev.c	Sun Mar 28 21:35:32 2004
+++ edited/namedev.c	Fri Apr  2 09:55:14 2004
@@ -850,13 +850,13 @@
 
 found:
 	apply_format(udev, udev->name, sizeof(udev->name), class_dev, sysfs_device);
+	strfieldcpy(udev->config_file, dev->config_file);
+	udev->config_line = dev->config_line;
 
 	if (udev->type == 'n')
 		goto done;
 
 	udev->partitions = dev->partitions;
-	strfieldcpy(udev->config_file, dev->config_file);
-	udev->config_line = dev->config_line;
 
 	/* get permissions given in rule */
 	set_empty_perms(udev, dev->mode,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-02 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02  9:33 [PATCH] put config info in db for netdev Kay Sievers
2004-04-02 17:11 ` Greg KH

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).