<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/led, branch release/8.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-11-21T06:13:29Z</updated>
<entry>
<title>Create release/8.0.0 for the 8.0-RELEASE.</title>
<updated>2009-11-21T06:13:29Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2009-11-21T06:13:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a4d3b78df842614c46b116fc5a6f470be637dccd'/>
<id>urn:sha1:a4d3b78df842614c46b116fc5a6f470be637dccd</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 8.0-RELEASE image.
</content>
</entry>
<entry>
<title>Remove unit2minor() use from kernel code.</title>
<updated>2008-09-26T14:19:52Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-09-26T14:19:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d3ce8327194c0bcf742f2e03b5b0dc8f8cfe7f6b'/>
<id>urn:sha1:d3ce8327194c0bcf742f2e03b5b0dc8f8cfe7f6b</id>
<content type='text'>
When I changed kern_conf.c three months ago I made device unit numbers
equal to (unneeded) device minor numbers. We used to require
bitshifting, because there were eight bits in the middle that were
reserved for a device major number. Not very long after I turned
dev2unit(), minor(), unit2minor() and minor2unit() into macro's.
The unit2minor() and minor2unit() macro's were no-ops.

We'd better not remove these four macro's from the kernel, because there
is a lot of (external) code that may still depend on them. For now it's
harmless to remove all invocations of unit2minor() and minor2unit().

Reviewed by:	kib
</content>
</entry>
<entry>
<title>Add sbuf_new_auto as a shortcut for the very common case of creating a</title>
<updated>2008-08-09T11:14:05Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-08-09T11:14:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2616144e4345e4cdab56fd7c673fbb69074a9ce2'/>
<id>urn:sha1:2616144e4345e4cdab56fd7c673fbb69074a9ce2</id>
<content type='text'>
completely dynamic sbuf.

Obtained from:	Varnish
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove the distinction between device minor and unit numbers.</title>
<updated>2008-05-29T12:50:46Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-05-29T12:50:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=06d425f92e7dd0dc8f8e705c6d76b78989a496ab'/>
<id>urn:sha1:06d425f92e7dd0dc8f8e705c6d76b78989a496ab</id>
<content type='text'>
Even though we got rid of device major numbers some time ago, device
drivers still need to provide unique device minor numbers to make_dev().
These numbers are only used inside the kernel. They are not related to
device major and minor numbers which are visible in devfs. These are
actually based on the inode number of the device.

It would eventually be nice to remove minor numbers entirely, but we
don't want to be too agressive here.

Because the 8-15 bits of the device number field (si_drv0) are still
reserved for the major number, there is no 1:1 mapping of the device
minor and unit numbers. Because this is now unused, remove the
restrictions on these numbers.

The MAXMAJOR definition was actually used for two purposes. It was used
to convert both the userspace and kernelspace device numbers to their
major/minor pair, which is why it is now named UMINORMASK.

minor2unit() and unit2minor() have now become useless. Both minor() and
dev2unit() now serve the same purpose. We should eventually remove some
of them, at least turning them into macro's. If devfs would become
completely minor number unaware, we could consider using si_drv0 directly,
just like si_drv1 and si_drv2.

Approved by:	philip (mentor)
</content>
</entry>
<entry>
<title>Make it possible to specify an initial state for the LED.</title>
<updated>2007-04-23T12:42:15Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2007-04-23T12:42:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ea60845d09e6bcb73038858af28bd191219b610b'/>
<id>urn:sha1:ea60845d09e6bcb73038858af28bd191219b610b</id>
<content type='text'>
Requested by:	Henrik Brix Andersen &lt;henrik@brixandersen.dk&gt;
PR:	112008
</content>
</entry>
<entry>
<title>Add placeholder mutex argument to new_unrhdr().</title>
<updated>2005-03-07T11:05:47Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-03-07T11:05:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3b3f38ed7d68ed7d6b61fa152b4f0e7e4c2c298a'/>
<id>urn:sha1:3b3f38ed7d68ed7d6b61fa152b4f0e7e4c2c298a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make a bunch of malloc types static.</title>
<updated>2005-02-10T12:02:37Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-02-10T12:02:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c711aea6cae4409bc957bf327fd5b23ada7fdf21'/>
<id>urn:sha1:c711aea6cae4409bc957bf327fd5b23ada7fdf21</id>
<content type='text'>
Found by:	src/tools/tools/kernxref
</content>
</entry>
<entry>
<title>Better locking.</title>
<updated>2005-01-29T16:33:51Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-01-29T16:33:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b0a5fd8e7a144a1159bee1b0132e231b91e36e07'/>
<id>urn:sha1:b0a5fd8e7a144a1159bee1b0132e231b91e36e07</id>
<content type='text'>
Add 'u' and 'U' "wait for next UTC second" in sequence mode.
</content>
</entry>
<entry>
<title>Remove a pointless check.</title>
<updated>2004-07-10T15:38:27Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-07-10T15:38:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=72118ea9fd2bb9615194121d25322e61ef52e1a1'/>
<id>urn:sha1:72118ea9fd2bb9615194121d25322e61ef52e1a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Second half of the dev_t cleanup.</title>
<updated>2004-06-17T17:16:53Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-06-17T17:16:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f3732fd15b5a493a090a0453f937a78949c65f7d'/>
<id>urn:sha1:f3732fd15b5a493a090a0453f937a78949c65f7d</id>
<content type='text'>
The big lines are:
	NODEV -&gt; NULL
	NOUDEV -&gt; NODEV
	udev_t -&gt; dev_t
	udev2dev() -&gt; findcdev()

Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
</content>
</entry>
</feed>
