Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2006 00:21:57 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95914 for review
Message-ID:  <200604230021.k3N0LvxB046215@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95914

Change 95914 by jb@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604230021.k3N0LvxB046215>