patch-2.4.7 linux/drivers/ieee1394/hosts.h

Next file: linux/drivers/ieee1394/ieee1394_core.c
Previous file: linux/drivers/ieee1394/hosts.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/drivers/ieee1394/hosts.h linux/drivers/ieee1394/hosts.h
@@ -56,6 +56,7 @@
 /* fields readable and writeable by the hosts */
 
         void *hostdata;
+	struct pci_dev *pdev;
         int embedded_hostdata[0];
 };
 
@@ -94,6 +95,16 @@
          * listen on unrequested channels. */
         ISO_LISTEN_CHANNEL,
         ISO_UNLISTEN_CHANNEL
+};
+
+enum reset_types {
+        /* 166 microsecond reset -- only type of reset available on
+           non-1394a capable IEEE 1394 controllers */
+        LONG_RESET,
+
+        /* Short (arbitrated) reset -- only available on 1394a capable
+           IEEE 1394 capable controllers */
+        SHORT_RESET
 };
 
 struct hpsb_host_template {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)