PERFORCE change 95914 for review

John Birrell jb at FreeBSD.org
Sun Apr 23 00:21:59 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=95914

Change 95914 by jb at jb_freebsd2 on 2006/04/23 00:21:56

	On FreeBSD, track the device via it's struct cdev pointer.
	
	(And since my previous submit included a lot of work-in-progress
	updates by mistake... and since it looks awkward to backout that
	change... why doesn't perforce have a 'p4 backout xyz' command?
	... this completes my work-in-progress update... all this code
	should build and run)

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace_impl.h#4 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace_impl.h#4 (text) ====

@@ -1101,7 +1101,11 @@
  * dtrace_state structure.
  */
 struct dtrace_state {
+#if defined(sun)
 	dev_t dts_dev;				/* device */
+#else
+	struct cdev *dts_dev;			/* device */
+#endif
 	int dts_necbs;				/* total number of ECBs */
 	dtrace_ecb_t **dts_ecbs;		/* array of ECBs */
 	dtrace_epid_t dts_epid;			/* next EPID to allocate */


More information about the p4-projects mailing list