<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/dev/isa, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/isa?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/isa?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-05-25T09:55:47Z</updated>
<entry>
<title>change wsdisplay attribute type from long to uint32_t</title>
<updated>2020-05-25T09:55:47Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2020-05-25T09:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e0c3e5595cd64cda848d09b1c753f51bcbadd436'/>
<id>urn:sha1:e0c3e5595cd64cda848d09b1c753f51bcbadd436</id>
<content type='text'>
miod explained it was initially a long as it was thought drivers may
need to allocate storage but in practice they don't need more than
32 bits for an attribute.

suggested and reviewed by miod@
</content>
</entry>
<entry>
<title>rename wsdisplay alloc_attr() to pack_attr()</title>
<updated>2020-05-25T06:45:25Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2020-05-25T06:45:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fc223b232cff7e51a9474209d53006b4ae5898e7'/>
<id>urn:sha1:fc223b232cff7e51a9474209d53006b4ae5898e7</id>
<content type='text'>
Suggested by John Carmack.  miod agrees a rename would make sense and
explained it was initially thought drivers may need to allocate storage
but in practice they don't need more than 32 bits for an attribute.

ok mpi@
</content>
</entry>
<entry>
<title>pcppi(4), spkr(4): ticks -&gt; milliseconds</title>
<updated>2020-04-06T17:54:50Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2020-04-06T17:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=aff96eed524fa871eebc4aed8a2099c7486bfde2'/>
<id>urn:sha1:aff96eed524fa871eebc4aed8a2099c7486bfde2</id>
<content type='text'>
In pcppi(4), convert from ticks to milliseconds.

While we're doing this, we can also convert spkr(4), too.

The spkr(4) conversion from ticks to milliseconds is trickier because
the driver is written with musical intervals (whole notes, quarter
notes, etc.), not the typical units (seconds, milliseconds, etc.) used
in most software.

I think the conversion is correct... but the code is a challenging
read, so it might be subtly incorrect.

ratchov@ intends to move spkr(4) into the attic sometime soon so I
doubt it matters much if I got it wrong.

Input from schwarze@, jsg@, and ratchov@.

Tested by schwarze@.

ok ratchov@
</content>
</entry>
<entry>
<title>spkr(4): fix compilation under SPKRDEBUG</title>
<updated>2020-03-16T04:15:19Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2020-03-16T04:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=050baa8ce3a3a53238b154c6e8eb75f06f1b1422'/>
<id>urn:sha1:050baa8ce3a3a53238b154c6e8eb75f06f1b1422</id>
<content type='text'>
uio.uio_resid is a size_t, not an int.  Change the format string
accordingly.
</content>
</entry>
<entry>
<title>16 &lt;&lt; PGSHIFT (which is &gt;= 12) is always &gt;= MAXPHYS (64 * 1024) so</title>
<updated>2020-02-16T17:39:47Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-02-16T17:39:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5e0ea1c465a83c60017d72e8a9a0cc4e9e8406c8'/>
<id>urn:sha1:5e0ea1c465a83c60017d72e8a9a0cc4e9e8406c8</id>
<content type='text'>
wds_minphys() is just duplicating what minphys() will do. Nuke it.
</content>
</entry>
<entry>
<title>fd(4): timeout_add(9) -&gt; timeout_add_msec(9), tsleep(9) -&gt; tsleep_nsec(9)</title>
<updated>2020-02-07T13:35:08Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2020-02-07T13:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=11969f5613033006096a13912e47a5d1b3db6289'/>
<id>urn:sha1:11969f5613033006096a13912e47a5d1b3db6289</id>
<content type='text'>
With input from miod@.

No complaints on tech@ after a month.
</content>
</entry>
<entry>
<title>Shuffle some names around to make reading the code less headache</title>
<updated>2020-01-26T00:53:31Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-01-26T00:53:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9f36bc9498e8cf7271235f6b5137729d669ebbfa'/>
<id>urn:sha1:9f36bc9498e8cf7271235f6b5137729d669ebbfa</id>
<content type='text'>
inducing. Rename scsi_adapter member 'scsi_minphys' to 'dev_minphys'
to reflect what it is supposed to do. Use consistent naming convention
(&lt;dev&gt;_minphys) for the actual device functions.

No functional change.
</content>
</entry>
<entry>
<title>Drivers that implement their own *minphys() don't need to call the</title>
<updated>2020-01-25T21:48:42Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-01-25T21:48:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6d832bc26091e607ccff6c00a03838065999bad0'/>
<id>urn:sha1:6d832bc26091e607ccff6c00a03838065999bad0</id>
<content type='text'>
system minphys(). scsi_minphys() will do that and cd/sd/st will call
scsi_minphys().

ok jmatthew@ as part of larger diff
</content>
</entry>
<entry>
<title>cleanup unused headers generated by config</title>
<updated>2020-01-24T05:14:51Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2020-01-24T05:14:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=854a1b2d65aecb1ec4da35222be452e85e91f3b7'/>
<id>urn:sha1:854a1b2d65aecb1ec4da35222be452e85e91f3b7</id>
<content type='text'>
ok tedu@ krw@ deraadt@
</content>
</entry>
<entry>
<title>Use a consistant idiom/format when declaring scsi_adapter structures</title>
<updated>2020-01-23T07:52:59Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-01-23T07:52:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a867c811d3320339396ef5d060738a2c7abe66c0'/>
<id>urn:sha1:a867c811d3320339396ef5d060738a2c7abe66c0</id>
<content type='text'>
in drivers. Terse one liners, NULLs instead of 0's, explicitly specify
all members, etc.

Nuke #ifdef notyet blocks related to the scsi_adapter in aic.

No intentional functional change.

ok tedu@
</content>
</entry>
</feed>
