<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/sgi/dev, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/sgi/dev?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/sgi/dev?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-03-11T11:16:54Z</updated>
<entry>
<title>spelling</title>
<updated>2021-03-11T11:16:54Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2021-03-11T11:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=36fd90dcf1acf2ddb4ef5dbabe5313b3a8d46ee2'/>
<id>urn:sha1:36fd90dcf1acf2ddb4ef5dbabe5313b3a8d46ee2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.</title>
<updated>2020-07-10T13:26:36Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2020-07-10T13:26:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0cae21bd7dc539ce7833e6c95a4e4259d9044374'/>
<id>urn:sha1:0cae21bd7dc539ce7833e6c95a4e4259d9044374</id>
<content type='text'>
ok dlg@ tobhe@
</content>
</entry>
<entry>
<title>Fix previous commit.</title>
<updated>2020-06-06T10:52:30Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-06-06T10:52:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1228c36969f6da3d9ebfa17c7e30fa9ba94ade0d'/>
<id>urn:sha1:1228c36969f6da3d9ebfa17c7e30fa9ba94ade0d</id>
<content type='text'>
</content>
</entry>
<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>Use &lt;dev/clock_subr.h&gt; in dsrtc(4).</title>
<updated>2020-05-21T01:48:43Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-05-21T01:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bab4978b10a572062b67ce08011e5b824faff008'/>
<id>urn:sha1:bab4978b10a572062b67ce08011e5b824faff008</id>
<content type='text'>
Tested on IP30 with DS1687.

Looks good to miod@
</content>
</entry>
<entry>
<title>sgi: iockbc(4), mkbc(4): tsleep(9) -&gt; tsleep_nsec(9); ok kn@ visa@</title>
<updated>2019-10-17T13:42:15Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2019-10-17T13:42:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0ebfbcdd6d9c90e3bd0a12f258a79748ad092b98'/>
<id>urn:sha1:0ebfbcdd6d9c90e3bd0a12f258a79748ad092b98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove an unused variable. Spotted by clang.</title>
<updated>2019-01-15T18:33:30Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2019-01-15T18:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8539036454a46308cd7b0cbfdba4cc32a6282b68'/>
<id>urn:sha1:8539036454a46308cd7b0cbfdba4cc32a6282b68</id>
<content type='text'>
OK miod@
</content>
</entry>
<entry>
<title>Clean up the mec(4) MII read/write routines a bit.</title>
<updated>2018-12-10T05:42:34Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-12-10T05:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=44f7e5ad94bb532321c2d2592a65e624b7d050d1'/>
<id>urn:sha1:44f7e5ad94bb532321c2d2592a65e624b7d050d1</id>
<content type='text'>
The PHY register offsets are adjusted because the registers are accessed
using 64-bit loads and stores.

From miod@
</content>
</entry>
<entry>
<title>Fix phy discovery on O2 systems.</title>
<updated>2018-12-10T05:40:34Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-12-10T05:40:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a4643127405bd180ee0c8990aba2f941612044f5'/>
<id>urn:sha1:a4643127405bd180ee0c8990aba2f941612044f5</id>
<content type='text'>
After a cold boot, the mii bus appears to take some time to initialize;
the phy does not answer to address 8 but to a larger address (10 or 11),
then, after being reset, to its correct address of 8.

So the kernel would discover the phy at a wrong address, attach it, and
after it gets reset, reading from the phy at the wrong address would
return either all bits clear or all bits set, confusing the link speed
logic without any way to recover.

Work around the issue by resetting all phys found when the interface is
reset for the first time. Thus, by the time mii_attach() runs and walks
the bus again, the phy will answer at the right address.

From miod@
</content>
</entry>
</feed>
