Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2004 08:16:08 +0200
From:      Poul-Henning Kamp <phk@phk.freebsd.dk>
To:        current@freebsd.org
Subject:   kernel dev_t elimination patch for review
Message-ID:  <69020.1086934568@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

	http://phk.freebsd.dk/patch/dev_t.patch

This patch changes "dev_t" in the kernel to "struct cdev *"
and is 337K of boredom like:

	-static dev_t perfdev;
	+static struct cdev *perfdev;

People who maintain cross-platform or cross-version source code in
the kernel, should take a close look at this patch.

If you don't like the way I have done it (which is mostly automated)
you are more than welcome to commit your own patch, all you have
to do is use "struct cdev *" instead of "dev_t", and you can do
that already now.

In about a week or so, I will commit the remaining bits of this
patch.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.



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