<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/esp, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-11-07T22:34:07Z</updated>
<entry>
<title>Partially disable r227304 as stable/7 doesn't support reporting the maximum</title>
<updated>2011-11-07T22:34:07Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-11-07T22:34:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f47badfb37bce98564aa691b058aa9dd92bdc936'/>
<id>urn:sha1:f47badfb37bce98564aa691b058aa9dd92bdc936</id>
<content type='text'>
supported transfer size, yet. Reported by: Scott Allendorf
This is a direct commit to stable/7.
</content>
</entry>
<entry>
<title>MFC: r227006, r227281, r227282</title>
<updated>2011-11-07T13:46:16Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-11-07T13:46:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=95d978e10200decd47caf1171fb145a653cc697e'/>
<id>urn:sha1:95d978e10200decd47caf1171fb145a653cc697e</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
Obtained from:	NetBSD (based on)
</content>
</entry>
<entry>
<title>MFC: r226947, r226949, r227284</title>
<updated>2011-11-07T13:18:09Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-11-07T13:18:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d08c02eb23ecb18fddabb5bc96d5f5d008ad3d59'/>
<id>urn:sha1:d08c02eb23ecb18fddabb5bc96d5f5d008ad3d59</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.
</content>
</entry>
<entry>
<title>MFC: r226381</title>
<updated>2011-10-29T23:53:58Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-10-29T23:53:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=548c77c36a6125283f31856b6a43093862a24e0f'/>
<id>urn:sha1:548c77c36a6125283f31856b6a43093862a24e0f</id>
<content type='text'>
Merge from NetBSD:
- Remove clause 3 and 4 from TNF licenses.
- Fix memset usage.
- Various cleanup.
- Kill caddr_t.
</content>
</entry>
<entry>
<title>MFC: r226095</title>
<updated>2011-10-29T23:27:36Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-10-29T23:27:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=af4cb0dc0b8fb54725a41c7a3f75f4ba469e0565'/>
<id>urn:sha1:af4cb0dc0b8fb54725a41c7a3f75f4ba469e0565</id>
<content type='text'>
Merge from r225950:

Set the sense residual properly.

Reviewed by:	ken
</content>
</entry>
<entry>
<title>MFC: r220951</title>
<updated>2011-07-25T17:12:55Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-07-25T17:12:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8ef395f7e9dcc57e4712bd4b7f6ea3efc32f3a8d'/>
<id>urn:sha1:8ef395f7e9dcc57e4712bd4b7f6ea3efc32f3a8d</id>
<content type='text'>
Correct spelling in comments.

Submitted by:	brucec
</content>
</entry>
<entry>
<title>MFC: r207885</title>
<updated>2010-05-14T19:18:06Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-05-14T19:18:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a3ca5bae5a2995f95d1172b16a906d493139f643'/>
<id>urn:sha1:a3ca5bae5a2995f95d1172b16a906d493139f643</id>
<content type='text'>
Include &lt;machine/ofw_machdep.h&gt; for OF_getscsinitid().
</content>
</entry>
<entry>
<title>MFC: r207281</title>
<updated>2010-05-10T18:52:00Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-05-10T18:52:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6fe175a340f4bf3d092dca6b72a8387736cbd624'/>
<id>urn:sha1:6fe175a340f4bf3d092dca6b72a8387736cbd624</id>
<content type='text'>
Take advantage of OF_getscsinitid().
</content>
</entry>
<entry>
<title>MFC: r182876</title>
<updated>2008-11-16T14:55:58Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2008-11-16T14:55:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ff91686afdf319a8e68df8f71a0c692ac205b862'/>
<id>urn:sha1:ff91686afdf319a8e68df8f71a0c692ac205b862</id>
<content type='text'>
Adapt the locking of esp(4) to MPSAFE cam(4) (so that ncr53c9x_intr()
actually is INTR_MPSAFE now) and fix a couple of bugs which lead to
panics, amongst other improvements.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC: r180692</title>
<updated>2008-11-16T13:19:47Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2008-11-16T13:19:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f95d493324817efd8c58bb16ceca68d1ac1fd4ac'/>
<id>urn:sha1:f95d493324817efd8c58bb16ceca68d1ac1fd4ac</id>
<content type='text'>
o Fix style(9) bugs and similar nits.
o Merge ncr53c9x.c from NetBSD:
  1.115: fix variable shadowing
  1.118: __inline -&gt; inline
  1.121: fix empty if

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