aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r--drivers/ieee1394/.gitignore1
-rw-r--r--drivers/ieee1394/nodemgr.c20
2 files changed, 11 insertions, 10 deletions
diff --git a/drivers/ieee1394/.gitignore b/drivers/ieee1394/.gitignore
new file mode 100644
index 000000000000..33da10a25323
--- /dev/null
+++ b/drivers/ieee1394/.gitignore
@@ -0,0 +1 @@
oui.c
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c
index 0ec298768621..082c7fd239f5 100644
--- a/drivers/ieee1394/nodemgr.c
+++ b/drivers/ieee1394/nodemgr.c
@@ -121,8 +121,8 @@ struct host_info {
121}; 121};
122 122
123static int nodemgr_bus_match(struct device * dev, struct device_driver * drv); 123static int nodemgr_bus_match(struct device * dev, struct device_driver * drv);
124static int nodemgr_hotplug(struct class_device *cdev, char **envp, int num_envp, 124static int nodemgr_uevent(struct class_device *cdev, char **envp, int num_envp,
125 char *buffer, int buffer_size); 125 char *buffer, int buffer_size);
126static void nodemgr_resume_ne(struct node_entry *ne); 126static void nodemgr_resume_ne(struct node_entry *ne);
127static void nodemgr_remove_ne(struct node_entry *ne); 127static void nodemgr_remove_ne(struct node_entry *ne);
128static struct node_entry *find_entry_by_guid(u64 guid); 128static struct node_entry *find_entry_by_guid(u64 guid);
@@ -162,7 +162,7 @@ static void ud_cls_release(struct class_device *class_dev)
162static struct class nodemgr_ud_class = { 162static struct class nodemgr_ud_class = {
163 .name = "ieee1394", 163 .name = "ieee1394",
164 .release = ud_cls_release, 164 .release = ud_cls_release,
165 .hotplug = nodemgr_hotplug, 165 .uevent = nodemgr_uevent,
166}; 166};
167 167
168static struct hpsb_highlevel nodemgr_highlevel; 168static struct hpsb_highlevel nodemgr_highlevel;
@@ -963,7 +963,7 @@ static struct unit_directory *nodemgr_process_unit_directory
963 if (ud_child == NULL) 963 if (ud_child == NULL)
964 break; 964 break;
965 965
966 /* inherit unspecified values so hotplug picks it up */ 966 /* inherit unspecified values, the driver core picks it up */
967 if ((ud->flags & UNIT_DIRECTORY_MODEL_ID) && 967 if ((ud->flags & UNIT_DIRECTORY_MODEL_ID) &&
968 !(ud_child->flags & UNIT_DIRECTORY_MODEL_ID)) 968 !(ud_child->flags & UNIT_DIRECTORY_MODEL_ID))
969 { 969 {
@@ -1059,8 +1059,8 @@ static void nodemgr_process_root_directory(struct host_info *hi, struct node_ent
1059 1059
1060#ifdef CONFIG_HOTPLUG 1060#ifdef CONFIG_HOTPLUG
1061 1061
1062static int nodemgr_hotplug(struct class_device *cdev, char **envp, int num_envp, 1062static int nodemgr_uevent(struct class_device *cdev, char **envp, int num_envp,
1063 char *buffer, int buffer_size) 1063 char *buffer, int buffer_size)
1064{ 1064{
1065 struct unit_directory *ud; 1065 struct unit_directory *ud;
1066 int i = 0; 1066 int i = 0;
@@ -1109,8 +1109,8 @@ do { \
1109 1109
1110#else 1110#else
1111 1111
1112static int nodemgr_hotplug(struct class_device *cdev, char **envp, int num_envp, 1112static int nodemgr_uevent(struct class_device *cdev, char **envp, int num_envp,
1113 char *buffer, int buffer_size) 1113 char *buffer, int buffer_size)
1114{ 1114{
1115 return -ENODEV; 1115 return -ENODEV;
1116} 1116}
@@ -1630,8 +1630,8 @@ static int nodemgr_host_thread(void *__hi)
1630 1630
1631 /* Scan our nodes to get the bus options and create node 1631 /* Scan our nodes to get the bus options and create node
1632 * entries. This does not do the sysfs stuff, since that 1632 * entries. This does not do the sysfs stuff, since that
1633 * would trigger hotplug callbacks and such, which is a 1633 * would trigger uevents and such, which is a bad idea at
1634 * bad idea at this point. */ 1634 * this point. */
1635 nodemgr_node_scan(hi, generation); 1635 nodemgr_node_scan(hi, generation);
1636 1636
1637 /* This actually does the full probe, with sysfs 1637 /* This actually does the full probe, with sysfs