<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ath/if_ath_debug.c, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2017-11-27T14:52:40Z</updated>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Pull in r267961 and r267973 again. Fix for issues reported will follow.</title>
<updated>2014-06-28T03:56:17Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-06-28T03:56:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af3b2549c4ba2ef00a7cbb4cb6836598bf0aefbe'/>
<id>urn:sha1:af3b2549c4ba2ef00a7cbb4cb6836598bf0aefbe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert r267961, r267973:</title>
<updated>2014-06-27T22:05:21Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2014-06-27T22:05:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=37a107a407cdb47ee0f4c4337e369e9973b34076'/>
<id>urn:sha1:37a107a407cdb47ee0f4c4337e369e9973b34076</id>
<content type='text'>
These changes prevent sysctl(8) from returning proper output,
such as:

 1) no output from sysctl(8)
 2) erroneously returning ENOMEM with tools like truss(1)
    or uname(1)
 truss: can not get etype: Cannot allocate memory
</content>
</entry>
<entry>
<title>Extend the meaning of the CTLFLAG_TUN flag to automatically check if</title>
<updated>2014-06-27T16:33:43Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-06-27T16:33:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3da1cf1e88f8448bb10c5f778ab56ff65c7a6938'/>
<id>urn:sha1:3da1cf1e88f8448bb10c5f778ab56ff65c7a6938</id>
<content type='text'>
there is an environment variable which shall initialize the SYSCTL
during early boot. This works for all SYSCTL types both statically and
dynamically created ones, except for the SYSCTL NODE type and SYSCTLs
which belong to VNETs. A new flag, CTLFLAG_NOFETCH, has been added to
be used in the case a tunable sysctl has a custom initialisation
function allowing the sysctl to still be marked as a tunable. The
kernel SYSCTL API is mostly the same, with a few exceptions for some
special operations like iterating childrens of a static/extern SYSCTL
node. This operation should probably be made into a factored out
common macro, hence some device drivers use this. The reason for
changing the SYSCTL API was the need for a SYSCTL parent OID pointer
and not only the SYSCTL parent OID list pointer in order to quickly
generate the sysctl path. The motivation behind this patch is to avoid
parameter loading cludges inside the OFED driver subsystem. Instead of
adding special code to the OFED driver subsystem to post-load tunables
into dynamically created sysctls, we generalize this in the kernel.

Other changes:
- Corrected a possibly incorrect sysctl name from "hw.cbb.intr_mask"
to "hw.pcic.intr_mask".
- Removed redundant TUNABLE statements throughout the kernel.
- Some minor code rewrites in connection to removing not needed
TUNABLE statements.
- Added a missing SYSCTL_DECL().
- Wrapped two very long lines.
- Avoid malloc()/free() inside sysctl string handling, in case it is
called to initialize a sysctl from a tunable, hence malloc()/free() is
not ready when sysctls from the sysctl dataset are registered.
- Bumped FreeBSD version to indicate SYSCTL API change.

MFC after:	2 weeks
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>TX EDMA debugging fixes:</title>
<updated>2012-11-05T07:08:45Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2012-11-05T07:08:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc919a54b262d51862916a21a66978c0d1d6ab42'/>
<id>urn:sha1:bc919a54b262d51862916a21a66978c0d1d6ab42</id>
<content type='text'>
* Do the calculation for each ath_buf, rather than just the first
* Correct the calculation in the first place.
</content>
</entry>
<entry>
<title>Add a debug method to dump the EDMA TX status descriptor contents out.</title>
<updated>2012-11-03T04:53:44Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2012-11-03T04:53:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=70ee90299bb2dd350a3f7fd29e72313cd9ae3406'/>
<id>urn:sha1:70ee90299bb2dd350a3f7fd29e72313cd9ae3406</id>
<content type='text'>
This requires some HAL API changes to be useful, as there's no way
right now to pull out the TX status descriptor contents.
</content>
</entry>
<entry>
<title>Debugging output fixes:</title>
<updated>2012-09-24T19:48:41Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2012-09-24T19:48:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d24c7dbabba680567fc777c9879fc4a59e2872b'/>
<id>urn:sha1:6d24c7dbabba680567fc777c9879fc4a59e2872b</id>
<content type='text'>
* use the correct frame status - although the completion descriptor is
  the _last_ in the frame/aggregate, the status is currently stored in
  the _first_ buffer.

* Print out ath_buf specific fields once, not per descriptor in an ath_buf.
</content>
</entry>
<entry>
<title>Only print the descriptor contents!</title>
<updated>2012-08-27T23:27:41Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2012-08-27T23:27:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb1bf7ed0ac560a56bc3a92b824b119022306c95'/>
<id>urn:sha1:bb1bf7ed0ac560a56bc3a92b824b119022306c95</id>
<content type='text'>
Found by:	magical CLANG build environments

Submitted by:	Sevan &lt;venture37@gmail.com&gt;
</content>
</entry>
<entry>
<title>Make sure all of the buffers are printed, rather than (n-1).</title>
<updated>2012-08-20T05:47:07Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2012-08-20T05:47:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bd68600c99c3d48346d04aa67920a63965e74bf0'/>
<id>urn:sha1:bd68600c99c3d48346d04aa67920a63965e74bf0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extend the TX descriptor debug printing to be properly aware of</title>
<updated>2012-08-19T02:22:16Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2012-08-19T02:22:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e913fcda9d48d23853737e5621dc7bafb4501de0'/>
<id>urn:sha1:e913fcda9d48d23853737e5621dc7bafb4501de0</id>
<content type='text'>
EDMA code.

* create a new TX EDMA descriptor struct to represent TX EDMA descriptors
  when doing debugging;
* implement an EDMA printing function which:
  + hardcodes the TX map size to 4 for now;
  + correctly prints out the number of segments - there's one descriptor
    for up to 4 buffers (segments), not one for each segment;
  + print out 4 DS buffer and len pointers;
  + print out the correct number of DWORDs in the TX descriptor.

TODO:

* Remove all of the hard-coded stuff. Ew.
</content>
</entry>
</feed>
