<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/dev/ata, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/ata?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/ata?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-15T13:22:12Z</updated>
<entry>
<title>Replace simple one-line bcopy()/memcpy() of faked data into scsi_xfer with call</title>
<updated>2020-10-15T13:22:12Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-10-15T13:22:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a83ec2865aeaeb867719080e00ad0ac9752d01cc'/>
<id>urn:sha1:a83ec2865aeaeb867719080e00ad0ac9752d01cc</id>
<content type='text'>
to scsi_copy_internal_data(). Thus getting xs-&gt;resid properly set and adding the
usual uio/size sanity checks.
</content>
</entry>
<entry>
<title>Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'</title>
<updated>2020-09-22T19:32:51Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-09-22T19:32:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=664c6166bdf5ef0994a16bcce00610f942c9dc79'/>
<id>urn:sha1:664c6166bdf5ef0994a16bcce00610f942c9dc79</id>
<content type='text'>
member of 'struct scsi_xfer' has always been pointed at the 'struct scsi_generic
cmdstore' member of the same instance. So nuke 'cmdstore' and remove the '*'
from cmd. Take the address of cmd as required by the various casts.

No intentional functional change.

luna88k test by aoyama@, sparc64 test by jmatthew@

Identification of 2009's last *cmd use and ok jmatthew@
</content>
</entry>
<entry>
<title>Replace '32' with SID_SCSI2_ALEN (a.k.a. 31) when building emulated INQUIRY</title>
<updated>2020-09-05T13:05:06Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-09-05T13:05:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3ca8dabf571cb4518c56816a558429e4482a40d0'/>
<id>urn:sha1:3ca8dabf571cb4518c56816a558429e4482a40d0</id>
<content type='text'>
responses. This is what the SCSI specifications say is the correct value and
already used in several cases.
</content>
</entry>
<entry>
<title>Replace '.response_format = 2' with '.response_format = SID_SCSI2_RESPONSE'.</title>
<updated>2020-09-03T12:41:28Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-09-03T12:41:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bb4b71eb63de177b74e4e4331bd9504c28c95090'/>
<id>urn:sha1:bb4b71eb63de177b74e4e4331bd9504c28c95090</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When building emulated INQUIRY results use the SCSI_REV_* #define's to</title>
<updated>2020-09-02T21:16:29Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-09-02T21:16:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b291b595862c1a6bb4f2b79d4d334c0fda6a77b1'/>
<id>urn:sha1:b291b595862c1a6bb4f2b79d4d334c0fda6a77b1</id>
<content type='text'>
initialize the 'version' field. Not numbers.
</content>
</entry>
<entry>
<title>Rename [READ|WRITE]_BIG to [READ|WRITE]_10. Rename struct scsi_rw_big to</title>
<updated>2020-09-01T12:17:52Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-09-01T12:17:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=eccd596da5d4b5ec556691a4dcf156bb3a63111a'/>
<id>urn:sha1:eccd596da5d4b5ec556691a4dcf156bb3a63111a</id>
<content type='text'>
struct scsi_rw_10.

ok gnezdo@ jmatthew@ (who also did sparc64 compile test)
</content>
</entry>
<entry>
<title>Remove needless uses of SDEV_ONLYBIG. It was always set when SDEV_UMASS was set,</title>
<updated>2020-08-26T13:57:19Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-08-26T13:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fc548c495566271bd5d562351d18dddccdb06b8f'/>
<id>urn:sha1:fc548c495566271bd5d562351d18dddccdb06b8f</id>
<content type='text'>
and was always checked in concert with SDEV_ATAPI. Just rely on SDEV_ATAPI and
SDEV_UMASS in all but the one place sd(4) where SDEV_ONLYBIG is set
independently of SDEV_ATAPI/_UMASS.

ok jmatthew@
</content>
</entry>
<entry>
<title>Nuke unused struct scsi_link members of adapter softc's where the</title>
<updated>2020-07-22T13:16:04Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-07-22T13:16:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7380a3a4a351f983b5d3883fb573b3d8305f20b9'/>
<id>urn:sha1:7380a3a4a351f983b5d3883fb573b3d8305f20b9</id>
<content type='text'>
driver successfully compiles on one or more of amd64, i386, hppa.
</content>
</entry>
<entry>
<title>Move remaining scsi bus initialization info from "prototype scsi link"</title>
<updated>2020-07-20T14:41:12Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-07-20T14:41:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e5eae15db860eeb4c34d7bbe32da7a39dae6ff2a'/>
<id>urn:sha1:e5eae15db860eeb4c34d7bbe32da7a39dae6ff2a</id>
<content type='text'>
fields to struct scsibus_attach_args. Nuke the struct scsi_link *
(saa_sc_link) in scaibus_attach_args.

Explicitly initialize each field in scsibus_attach_args variables.
</content>
</entry>
<entry>
<title>Move the adapter related items (luns, adapter, adapter_target,</title>
<updated>2020-07-19T18:57:57Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-07-19T18:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ead808c42040dde55a8ea2938802849f628f2859'/>
<id>urn:sha1:ead808c42040dde55a8ea2938802849f628f2859</id>
<content type='text'>
adapter_buswidth, adapter_softc) from struct scsi_link to struct
scsibus_attach_args.

Additional compile tests by jmatthew@ (sparc64) and aoyam@ (luna88k).
</content>
</entry>
</feed>
