<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libcam, branch upstream/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-02-16T07:52:53Z</updated>
<entry>
<title>cam_get_device: resolve path links before parsing device name</title>
<updated>2022-02-16T07:52:53Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2021-11-27T18:49:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e32acf95ea25ca2f6faf92fff2acfba298dfa378'/>
<id>urn:sha1:e32acf95ea25ca2f6faf92fff2acfba298dfa378</id>
<content type='text'>
The CAM subsystem uses bus:taget:lun tuple to address peripherals.  But
for convenience many userland programs such as camcontrol accept devices
names such as da0.  There is a libcam function, cam_open_device, to
support that.  It first calls cam_get_device() to parse the device name
as a driver name and a unit (and handle some special device name
prefixes) and then uses cam_lookup_pass() to find a matching pass
device.

This change extends cam_get_device() to apply realpath(3) to the device
name before parsing it.  This will allow to use tools such as camcontrol
and smartctl with symbolic links that could be friendlier (more
distinguished) names for devices.

Relnotes:	maybe

(cherry picked from commit 1abf1e8c6b13f50eed08fef6fb1ade280894f1e4)
</content>
</entry>
<entry>
<title>libcam(3): make cam_getccb(3) zero the whole ccb, not just the header</title>
<updated>2020-12-29T14:26:06Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-12-29T14:25:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e404b8c53db56bdb0aca6a491b095266326211c'/>
<id>urn:sha1:3e404b8c53db56bdb0aca6a491b095266326211c</id>
<content type='text'>
Leaving zeroing to the clients leads to error-prone pointer
tricks (zeroing needs to preserve the CCB header), and this
code is not performance-critical, so there's really no reason
to not do it.

Reviewed By:	imp, rpokala (manpages)
Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D27333
</content>
</entry>
<entry>
<title>Do a sweep and remove most WARNS=6 settings</title>
<updated>2020-10-01T01:10:51Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-10-01T01:10:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7cc42f6d25ef2e19059d088fa7d4853fe9afefb5'/>
<id>urn:sha1:7cc42f6d25ef2e19059d088fa7d4853fe9afefb5</id>
<content type='text'>
Repeating the default WARNS here makes it slightly more difficult to
experiment with default WARNS changes, e.g. if we did something absolutely
bananas and introduced a WARNS=7 and wanted to try lifting the default to
that.

Drop most of them; there is one in the blake2 kernel module, but I suspect
it should be dropped -- the default WARNS in the rest of the build doesn't
currently apply to kernel modules, and I haven't put too much thought into
whether it makes sense to make it so.
</content>
</entry>
<entry>
<title>Clean up cam.3</title>
<updated>2020-07-06T09:53:00Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2020-07-06T09:53:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bd93bdc9b6ad3ef2f23b2e25b756e13d8c5b222a'/>
<id>urn:sha1:bd93bdc9b6ad3ef2f23b2e25b756e13d8c5b222a</id>
<content type='text'>
- Add a missing Pp [1]
- Remove uses of Tn
- Use "Xr open 2" when appropriate

PR:		247783 [1]
Submitted by:	PauAmma &lt;pauamma@gundo.com&gt; [1]
MFC after:	3 days
</content>
</entry>
<entry>
<title>Remove unused cam ccb flags</title>
<updated>2020-03-10T23:58:41Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2020-03-10T23:58:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ac30e0b66758b13b3f5bb39f1737f5f5c6a0064'/>
<id>urn:sha1:9ac30e0b66758b13b3f5bb39f1737f5f5c6a0064</id>
<content type='text'>
These flags have been unused for some time. Some of them were in the
CAM2 specification, but CAM has moved on a bit from that. Some were
used in the old Pluto VideoSpace (and AirSpace) systems which had the
video playback I/O scheduler in userspace, but have been unused since
then.

Reviewed by: chuck, ken
Differential Revision:  https://reviews.freebsd.org/D24008
</content>
</entry>
<entry>
<title>Update Makefile.depend files</title>
<updated>2019-12-11T17:37:53Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2019-12-11T17:37:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c9a9dfc187d171de6b92654d71b977f067ed641'/>
<id>urn:sha1:2c9a9dfc187d171de6b92654d71b977f067ed641</id>
<content type='text'>
Update a bunch of Makefile.depend files as
a result of adding Makefile.depend.options files

Reviewed by:	 bdrewery
MFC after:	1 week
Sponsored by:   Juniper Networks
Differential Revision:  https://reviews.freebsd.org/D22494
</content>
</entry>
<entry>
<title>pkgbase: Put a lot of binaries and lib in FreeBSD-runtime</title>
<updated>2019-09-05T14:13:08Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2019-09-05T14:13:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a7b5a3d48640f3f5898b05328d71c2949b6b7098'/>
<id>urn:sha1:a7b5a3d48640f3f5898b05328d71c2949b6b7098</id>
<content type='text'>
All of them are needed to be able to boot to single user and be able
to repair a existing FreeBSD installation so put them directly into
FreeBSD-runtime.

Reviewed by:    bapt, gjb
Differential Revision:  https://reviews.freebsd.org/D21503
</content>
</entry>
<entry>
<title>Update the spelling of my name (continuation of r346571)</title>
<updated>2019-04-22T18:05:33Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2019-04-22T18:05:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=148a8da8d98ce7d4ec6709ebbb580a4f94316084'/>
<id>urn:sha1:148a8da8d98ce7d4ec6709ebbb580a4f94316084</id>
<content type='text'>
Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji
instead for clarity.

While here, remove "All Rights Reserved" from copyrights I "own".

MFC after:	1 week
</content>
</entry>
<entry>
<title>Make cam_error_print() decode NVMe commands.</title>
<updated>2019-04-02T19:37:52Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2019-04-02T19:37:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e40d8dbbcbc37d9831695cc19382546c27b2f9c6'/>
<id>urn:sha1:e40d8dbbcbc37d9831695cc19382546c27b2f9c6</id>
<content type='text'>
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>SPDX: Small for a license ID tags.</title>
<updated>2017-12-27T21:36:37Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-12-27T21:36:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f8bece56a3a805f5d02e4db21bf4752668157104'/>
<id>urn:sha1:f8bece56a3a805f5d02e4db21bf4752668157104</id>
<content type='text'>
Use parenthesis for grouping as suggested by the spec.
</content>
</entry>
</feed>
