patch-2.4.20 linux-2.4.20/drivers/ieee1394/hosts.h
Next file: linux-2.4.20/drivers/ieee1394/ieee1394_core.c
Previous file: linux-2.4.20/drivers/ieee1394/hosts.c
Back to the patch index
Back to the overall index
- Lines: 55
- Date:
Thu Nov 28 15:53:13 2002
- Orig file:
linux-2.4.19/drivers/ieee1394/hosts.h
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/ieee1394/hosts.h linux-2.4.20/drivers/ieee1394/hosts.h
@@ -15,7 +15,6 @@
struct hpsb_host {
struct list_head host_list;
- struct hpsb_host_operations *ops;
void *hostdata;
atomic_t generation;
@@ -59,7 +58,6 @@
struct csr_control csr;
struct hpsb_host_driver *driver;
- struct list_head driver_list;
struct pci_dev *pdev;
};
@@ -113,7 +111,9 @@
SHORT_RESET
};
-struct hpsb_host_operations {
+struct hpsb_host_driver {
+ const char *name;
+
/* This function must store a pointer to the configuration ROM into the
* location referenced to by pointer and return the size of the ROM. It
* may not fail. If any allocation is required, it must be done
@@ -149,18 +149,6 @@
quadlet_t data, quadlet_t compare);
};
-struct hpsb_host_driver {
- struct list_head list;
-
- struct list_head hosts;
-
- int number_of_hosts;
- const char *name;
-
- struct hpsb_host_operations *ops;
-};
-
-
/* core internal use */
void register_builtin_lowlevels(void);
@@ -184,8 +172,4 @@
void hpsb_add_host(struct hpsb_host *host);
void hpsb_remove_host(struct hpsb_host *h);
-struct hpsb_host_driver *hpsb_register_lowlevel(struct hpsb_host_operations *op,
- const char *name);
-void hpsb_unregister_lowlevel(struct hpsb_host_driver *drv);
-
#endif /* _IEEE1394_HOSTS_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)