<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/macppc/pci, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/macppc/pci?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/macppc/pci?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>If you use sys/param.h, you don't need sys/types.h</title>
<updated>2017-09-08T05:36:51Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2017-09-08T05:36:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b27348b2082c02cb5227e0e4933400ad6739ec5a'/>
<id>urn:sha1:b27348b2082c02cb5227e0e4933400ad6739ec5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>On Quad-G5 make hpb(4) attach first when iterating PCI buses.</title>
<updated>2016-07-04T09:30:18Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2016-07-04T09:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df9e84cc2c120c2c5f239a647bed5feec014eb28'/>
<id>urn:sha1:df9e84cc2c120c2c5f239a647bed5feec014eb28</id>
<content type='text'>
This allows openpic(4) to properly map interrupt for the devices
instead of possibly dereferencing garbage.

Found the hardway by and ok jmatthew@
</content>
</entry>
<entry>
<title>Map the whole config1 space based on the size read from the</title>
<updated>2015-08-30T09:48:39Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-08-30T09:48:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ded3bfd1fdf1be1bb41f57bdfd2592c52ca3ad9c'/>
<id>urn:sha1:ded3bfd1fdf1be1bb41f57bdfd2592c52ca3ad9c</id>
<content type='text'>
device-tree.

With this change, supplementary PCIe cards are now properly
detected.

This should prevents the kernel from faulting when reading
unmapped PCI addresses as reported by Donovan Watteau on ppc@.

ok kettenis@
</content>
</entry>
<entry>
<title>OF_getprop() returns an int, so comparing its return value against sizeof casts</title>
<updated>2015-06-25T18:08:53Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2015-06-25T18:08:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c16de97916f202751bdece1e7da35c270d8c316b'/>
<id>urn:sha1:c16de97916f202751bdece1e7da35c270d8c316b</id>
<content type='text'>
it to unsigned, and we need to also check for negative values.
All users of OF_getprop() did this but that one.

ok mpi@
</content>
</entry>
<entry>
<title>Support for U4, missed in previous.</title>
<updated>2015-06-03T08:41:43Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-06-03T08:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f6cf1346cdc1d2d80177012b446595fc9e9ee19d'/>
<id>urn:sha1:f6cf1346cdc1d2d80177012b446595fc9e9ee19d</id>
<content type='text'>
ok kettenis@, miod@, dlg@
</content>
</entry>
<entry>
<title>Add a new HT-PCI bridge driver and the necessary glue to openpic(4)</title>
<updated>2015-06-02T13:53:43Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-06-02T13:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ba99a0ed9a190d694621c8af1f241c30ba0378b3'/>
<id>urn:sha1:ba99a0ed9a190d694621c8af1f241c30ba0378b3</id>
<content type='text'>
to get interrupts working on U4 machines.

With this OpenBSD can run on PowerMac11,2 (Quad G5).

With inputs from and ok kettenis@, miod@, dlg@
</content>
</entry>
<entry>
<title>One function pointer per pic function is enough.</title>
<updated>2015-04-02T11:12:24Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-04-02T11:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0030dec3a54a47ed89d071f25240d6eaeccc7dd0'/>
<id>urn:sha1:0030dec3a54a47ed89d071f25240d6eaeccc7dd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always use the first value of the "interrupts" property the others do</title>
<updated>2015-03-30T13:54:14Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-03-30T13:54:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e98ae4cb439aa8b7ac292897b52589f7627c81c5'/>
<id>urn:sha1:e98ae4cb439aa8b7ac292897b52589f7627c81c5</id>
<content type='text'>
not correspond to the PCI function.

Hopefully the first device that I find hitting this case is the second
bge(4) interface of my PowerMac11,2.
</content>
</entry>
</feed>
