<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/dpt/dpt_control.c, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2001-11-06T07:24:54Z</updated>
<entry>
<title>This file is a 2.2 vintage pre-CAM file of no current value.</title>
<updated>2001-11-06T07:24:54Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2001-11-06T07:24:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05a0d068887179f2e0a609cf75151579fd7cb32e'/>
<id>urn:sha1:05a0d068887179f2e0a609cf75151579fd7cb32e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>o dpt_control.c is not compiled into the system (commented out in</title>
<updated>2001-11-05T21:02:26Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2001-11-05T21:02:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=28bcc53bf7f22f215a1e7046f3554aa2554425ae'/>
<id>urn:sha1:28bcc53bf7f22f215a1e7046f3554aa2554425ae</id>
<content type='text'>
  conf/files) and as a result appears to have been missed in the bulk
  KSE update of drivers.  This change replaces references to proc
  with thread.  It has not been compile-tested.
</content>
</entry>
<entry>
<title>Send the remains (such as I have located) of "block major numbers" to</title>
<updated>2001-03-26T12:41:29Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2001-03-26T12:41:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f83880518b12341c0e6c9decc990ade59c9eb911'/>
<id>urn:sha1:f83880518b12341c0e6c9decc990ade59c9eb911</id>
<content type='text'>
the bit-bucket.
</content>
</entry>
<entry>
<title>Separate the struct bio related stuff out of &lt;sys/buf.h&gt; into</title>
<updated>2000-05-05T09:59:14Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2000-05-05T09:59:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9626b608de4a43ec9984c3ee95b2ce624b3c0924'/>
<id>urn:sha1:9626b608de4a43ec9984c3ee95b2ce624b3c0924</id>
<content type='text'>
&lt;sys/bio.h&gt;.

&lt;sys/bio.h&gt; is now a prerequisite for &lt;sys/buf.h&gt; but it shall
not be made a nested include according to bdes teachings on the
subject of nested includes.

Diskdrivers and similar stuff below specfs::strategy() should no
longer need to include &lt;sys/buf.&gt; unless they need caching of data.

Still a few bogus uses of struct buf to track down.

Repocopy by:    peter
</content>
</entry>
<entry>
<title>Remove five now unused fields from struct cdevsw.  They should never</title>
<updated>1999-09-25T18:24:47Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-09-25T18:24:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d6a0e38a1bffb551c7a3159a072a0ac3b30abccb'/>
<id>urn:sha1:d6a0e38a1bffb551c7a3159a072a0ac3b30abccb</id>
<content type='text'>
have been there in the first place.  A GENERIC kernel shrinks almost 1k.

Add a slightly different safetybelt under nostop for tty drivers.

Add some missing FreeBSD tags
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T01:08:13Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T01:08:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c3aac50f284c6cca5b4f2eb46aaa13812cb8b630'/>
<id>urn:sha1:c3aac50f284c6cca5b4f2eb46aaa13812cb8b630</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify cdevsw registration.</title>
<updated>1999-05-31T11:29:30Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-05-31T11:29:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2447bec8293649f281b5f9926a7cd4097ccaf4bf'/>
<id>urn:sha1:2447bec8293649f281b5f9926a7cd4097ccaf4bf</id>
<content type='text'>
The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it.  cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.

cdevsw_add() will print an message if the d_maj field looks bogus.

Remove nblkdev and nchrdev variables.  Most places they were used
bogusly.  Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.

Move bdevsw() and devsw() functions to kern/kern_conf.c

Bump __FreeBSD_version to 400006

This commit removes:
        72 bogus makedev() calls
        26 bogus SYSINIT functions

if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.

I4b and vinum not changed.  Patches emailed to authors.  LINT
probably broken until they catch up.
</content>
</entry>
<entry>
<title>This commit should be a extensive NO-OP:</title>
<updated>1999-05-30T16:53:49Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-05-30T16:53:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4e2f199e0c9ada1b226f685a848abb1420a1ff8f'/>
<id>urn:sha1:4e2f199e0c9ada1b226f685a848abb1420a1ff8f</id>
<content type='text'>
        Reformat and initialize correctly all "struct cdevsw".

        Initialize the d_maj and d_bmaj fields.

        The d_reset field was not removed, although it is never used.

I used a program to do most of this, so all the files now use the
same consistent format.  Please keep it that way.

Vinum and i4b not modified, patches emailed to respective authors.
</content>
</entry>
<entry>
<title>I'm told by the PR author that this page_size increment was in</title>
<updated>1999-05-13T05:24:53Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1999-05-13T05:24:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0dfcd4a9c43bfef552f7bc4460c1e68d2ce04fc9'/>
<id>urn:sha1:0dfcd4a9c43bfef552f7bc4460c1e68d2ce04fc9</id>
<content type='text'>
the wrong place; back it out.
</content>
</entry>
<entry>
<title>During probe, the page lockdown code in dpt_control.c does some</title>
<updated>1999-05-11T11:03:18Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1999-05-11T11:03:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8cb43731419823c76deec4e0793d1bb6967737bd'/>
<id>urn:sha1:8cb43731419823c76deec4e0793d1bb6967737bd</id>
<content type='text'>
bad math: it does not handle page-boundary conditions, and will not
end up mapping all of the requested addresses.  This will cause a panic:
page fault during probe on some systems.  I have a machine that will
panic every time (when using the dpt driver) on kernel probe when there
are 5 drives installed.  When there are 4 drives, it is fine.
Fix is to always allocate/deallocate an extra page.
There is also a bonus splx() fix on an early error return.

Submitted by:	Mark J. Taylor &lt;mtaylor@cybernet.com&gt;
PR:		9367
</content>
</entry>
</feed>
