<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/esp, branch release/9.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2013-06-18T13:34:37Z</updated>
<entry>
<title>MFC r228526 (by kevlo):</title>
<updated>2013-06-18T13:34:37Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2013-06-18T13:34:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=25d9fb4105cb36d9e244718d8f798b15c7e574f1'/>
<id>urn:sha1:25d9fb4105cb36d9e244718d8f798b15c7e574f1</id>
<content type='text'>
s/timout/timeout
</content>
</entry>
<entry>
<title>MFC: r239089</title>
<updated>2012-10-18T15:20:37Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-10-18T15:20:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1b7934bb78beade880d7217285384102cb66833d'/>
<id>urn:sha1:1b7934bb78beade880d7217285384102cb66833d</id>
<content type='text'>
- Merge from NetBSD:
  When issuing a non-DMA command, make sure to set the "remaining length of
  command to be transferred via DMA" (sc_cmdlen) to zero up-front, otherwise
  we might get confused on command competition interrupt (no DMA active but
  still data left to transfer).
- Implement handling of MSG_IGN_WIDE_RESIDUE which some targets produce, as
  just rejecting these leads to a resend and disconnect loop.
  Reported and tested by: mjacob
</content>
</entry>
<entry>
<title>Revert unintended part of r241681.</title>
<updated>2012-10-18T12:22:12Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-10-18T12:22:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=09715ee498a7c0204ae071e025c292ff86095f59'/>
<id>urn:sha1:09715ee498a7c0204ae071e025c292ff86095f59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC: r239864</title>
<updated>2012-10-18T12:06:26Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-10-18T12:06:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a37ab63b72cdcb5b52f14f0c8a52f61031152c2e'/>
<id>urn:sha1:a37ab63b72cdcb5b52f14f0c8a52f61031152c2e</id>
<content type='text'>
- Unlike cache invalidation and TLB demapping IPIs, reading registers from
  other CPUs doesn't require locking so get rid of it. As the latter is used
  for the timecounter on certain machine models, using a spin lock in this
  case can lead to a deadlock with the upcoming callout(9) rework.
- Merge r134227/r167250 from x86:
  Avoid cross-IPI SMP deadlock by using the smp_ipi_mtx spin lock not only
  for smp_rendezvous_cpus() but also for the MD cache invalidation and TLB
  demapping IPIs.
- Mark some unused function arguments as such.
</content>
</entry>
<entry>
<title>MFC: r226950</title>
<updated>2012-01-29T00:47:11Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-01-29T00:47:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0c572d8109f73be313fe81cf78c7ab226009c964'/>
<id>urn:sha1:0c572d8109f73be313fe81cf78c7ab226009c964</id>
<content type='text'>
Add multiple inclusion protection.
</content>
</entry>
<entry>
<title>MFC r226173, r227843, r227848 and r227908:</title>
<updated>2011-12-31T14:12:12Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2011-12-31T14:12:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0105e7b57ec82d3d157edb9f4322f29f05d54f6e'/>
<id>urn:sha1:0105e7b57ec82d3d157edb9f4322f29f05d54f6e</id>
<content type='text'>
Use DEVMETHOD_END to mark end of device methods.
Remove superfluous device methods.
Add some missing __FBSBID() macros.
</content>
</entry>
<entry>
<title>MFC: r227006, r227281, r227282</title>
<updated>2011-11-07T13:40:54Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-11-07T13:40:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=66b280587642b9c7bf1e293ff48954cdfabfe421'/>
<id>urn:sha1:66b280587642b9c7bf1e293ff48954cdfabfe421</id>
<content type='text'>
Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and
replace amd(4) with the former in the amd64, i386 and pc98 GENERIC kernel
configuration files. Besides duplicating functionality, amd(4), which
previously also supported the AMD Am53C974, unlike esp(4) is no longer
maintained and has accumulated enough bit rot over time to always cause
a panic during boot as long as at least one target is attached to it
(see PR 124667).

PR:		124667
Approved by:	re (kib)
Obtained from:	NetBSD (based on)
</content>
</entry>
<entry>
<title>MFC: r226947, r226949, r227284</title>
<updated>2011-11-07T13:16:51Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-11-07T13:16:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=567f4321f06be341c9d627d861391596d0fce28b'/>
<id>urn:sha1:567f4321f06be341c9d627d861391596d0fce28b</id>
<content type='text'>
- Use device_t rather than the NetBSDish struct device.
- Move esp_devclass to ncr53c9x.c in order to allow different bus front-ends
  to use it.
- Use KOBJMETHOD_END.
- Remove the gl_clear_latched_intr hook as it's not needed for any of the
  chips nor the front-ends supported in FreeBSD and likely never will be.
- Correct the DMA constraints and only limit the tag used for the transfer
  buffers to 32-bit DMA as that address is written into a 32-bit register.
- The ESP200 also only supports up to 64k transfers.
- Don't let the DMA and SBus front-end supply a maximum transfer size larger
  than MAXPHYS as that's the maximum the upper layers use and we otherwise
  just waste resources unnecessarily.
- Initialize the ECB callout and don't zero the handle when returning ECBs
  to the free list so that ncr53c9x_callout() actually is called with the
  driver lock held.
- On detach the driver lock should be held across cam_sim_free() according
  to isp(4) and a panic received.
- Check the return value of NCRDMA_SETUP(), i.e. bus_dmamap_load(9), and try
  to handle failures gracefully.
- In ncr53c9x_action() replace N calls to xpt_done() in a switch with just
  one at the end.
- On XPT_PATH_INQ report "NCR" rather than "Sun" as the vendor as the former
  is somewhat more correct as well as the maximum supported transfer size via
  maxio in order to take advantage of controllers that that can handle more
  than DFLTPHYS.
- Freeze the device queue if a request didn't complete without error and
  isn't already frozen.
- Print the number of MESSAGE (EXTENDED) rejected.
- Fix the path encoded in the multiple inclusion protection of ncr53c9xvar.h.
- Correct the DMA constraints used in the LSI64854 core to not exceed the
  maximum supported transfer size and include the boundary so we don't need
  to check on every setup of a DMA transfer.
- Let the bus DMA map callbacks do nothing in case of an error.
- Correctly handle &gt; 64k transfers for FAS366 in the LSI64854. A new feature
  flag NCR_F_LARGEXFER was introduced so we just need to check for this one
  and not for individual controllers supporting large transfers in several
  places.
- Let the LSI64854 core load transfer buffers using BUS_DMA_NOWAIT as the
  NCR53C9x core can't handle EINPROGRESS. Due to lack of bounce buffers
  support, sparc64 doesn't actually use EINPROGRESS and likely never will,
  as an example for writing additional front-ends for the NCR53C9x core it
  makes sense to set BUS_DMA_NOWAIT anyway though.
- Some minor cleanup.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC: r226381</title>
<updated>2011-10-29T23:53:53Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-10-29T23:53:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d30d8eef97d891cdbd40edbfd1a4224593f464c8'/>
<id>urn:sha1:d30d8eef97d891cdbd40edbfd1a4224593f464c8</id>
<content type='text'>
Merge from NetBSD:
- Remove clause 3 and 4 from TNF licenses.
- Fix memset usage.
- Various cleanup.
- Kill caddr_t.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC: r226095</title>
<updated>2011-10-12T08:39:57Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-10-12T08:39:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=73f04dfc1b72da395a0afece8480d74dc4fb005a'/>
<id>urn:sha1:73f04dfc1b72da395a0afece8480d74dc4fb005a</id>
<content type='text'>
Merge from r225950 (merged to stable/9 in r226067):

Set the sense residual properly.

Reviewed by:	ken
Approved by:	re (kib)
</content>
</entry>
</feed>
