#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
267458 |
|
13-Jun-2014 |
delphij |
MFC r267368:
Apply vendor fixes to the High Point drivers:
- Don't call xpt_free_path() in os_query_remove_device() and always return TRUE. - Update os_buildsgl() to support build logical SG table which will be used by lower RAID module. - Return CAM_SEL_TIMEOUTstatus for SCSIcommand failed as target missing.
Many thanks to HighPoint for providing this driver update.
Submitted by: Steve Chang Reviewed by: mav Approved by: re (gjb)
|
#
256219 |
|
09-Oct-2013 |
mav |
MFC r250460 (by eadler): Fix a bunch of typos.
|
#
251874 |
|
17-Jun-2013 |
scottl |
Big MFC of the physbio changes necessary for unmapped I/O. These changes have been in production at Netflix for several months with significant success.
MFC r246713:
Reform the busdma API so that new types may be added without modifying every architecture's busdma_machdep.c. It is done by unifying the bus_dmamap_load_buffer() routines so that they may be called from MI code. The MD busdma is then given a chance to do any final processing in the complete() callback.
MFC r249538: Some compilers issue a warning when wider integer is casted to narrow pointer. Supposedly shut down the warning by casting through uintptr_t.
MFC r251479: Simplify the checking of flags for cam_periph_mapmem(). This gets rid of a lot of code redundancy and grossness at very minor expense.
MFC r251837: MFC r251842: Add infrastructure for doing compatibility shims, as has been sorely needed for the last 10 years. Far too much of the internal API is exposed, and every small adjustment causes applications to stop working. To kick this off, bump the API version to 0x17 as should have been done with r246713, but add shims to compensate. Thanks to the shims, there should be no visible change in application behavior.
Submitted by: kib, jeffr Approved by: kib Obtained from: Netflix
|
#
249972 |
|
27-Apr-2013 |
mav |
MFC r249849: Move hptmv and mpt drivers shutdown a bit later to the SHUTDOWN_PRI_LAST stage of shutdown_post_sync. That should allow CAM to do final cache flush at the SHUTDOWN_PRI_DEFAULT without using polling magic.
|
#
242105 |
|
25-Oct-2012 |
delphij |
MFC r240210:
It seems that what the code really meant is that when a write is completed, do a BUS_DMASYNC_POSTWRITE over the DMA map. The way it currently is would only do POSTREAD for read transactions.
Submitted by: Sascha Wildner
|
#
236655 |
|
06-Jun-2012 |
eadler |
MFC r236379: Adding missing dependancies for loading hptiop(4), hptmv(4) and isp(4) as modules.
PR: kern/166239 Approved by: cperciva (implicit)
|
#
233024 |
|
16-Mar-2012 |
scottl |
MFC 232854,232874,232882,232883,232886 for bus_get_dma_tag()
|
#
230719 |
|
28-Jan-2012 |
marius |
MFC: r227912
- Just use cam_calc_geometry(9) on newer version of FreeBSD rather than duplicating it. - In hptmv(4) and hptrr(4) use __FBSDID and DEVMETHOD_END.
|
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
209341 |
|
19-Jun-2010 |
mav |
Report transport type in XPT_PATH_INQ.
MFC after: 3 days
|
#
201758 |
|
07-Jan-2010 |
mbr |
Remove extraneous semicolons, no functional changes.
Submitted by: Marc Balmer <marc@msys.ch> MFC after: 1 week
|
#
190863 |
|
09-Apr-2009 |
delphij |
Use DEVICE_SHUTDOWN(9) mechanism for shutdown handler.
Suggested by: jhb
|
#
190810 |
|
07-Apr-2009 |
delphij |
When multiple cards are present, register a shutdown handler for each card instead of just register one for the first adapter. Without doing this there would be some data loss upon shutdown because data could be ignored when flushing to disk.
MFC after: 3 days
|
#
190809 |
|
07-Apr-2009 |
delphij |
Update driver to vendor's version 1.16 plus some local changes:
- override_kernel_driver() has been removed since this is an in-tree version of driver. - __DATE__ and __TIME__ removed from version string to make binary update builders happy. - Utilize pause(9) for __FreeBSDversion >= 700033 (redo 167086). - Utilize kproc_suspend_check() for __FreeBSDversion >= 800002. (redo 172836). - Don't read past end of pVDevice (redo 143787). - Make sure that controller and channel are initialized (redo 169823). - Don't include cam/cam_xpt_periph.h (redo 158177).
MFC After: 3 days
|
#
172836 |
|
20-Oct-2007 |
julian |
Rename the kthread_xxx (e.g. kthread_create()) calls to kproc_xxx as they actually make whole processes. Thos makes way for us to add REAL kthread_create() and friends that actually make theads. it turns out that most of these calls actually end up being moved back to the thread version when it's added. but we need to make this cosmetic change first.
I'd LOVE to do this rename in 7.0 so that we can eventually MFC the new kthread_xxx() calls.
|
#
170872 |
|
17-Jun-2007 |
scottl |
Prepare for future integration between CAM and newbus. xpt_bus_register now takes a device_t to be the parent of the bus that is being created. Most SIMs have been updated with a reasonable argument, but a few exceptions just pass NULL for now. This argument isn't used yet and the newbus integration likely won't be ready until after 7.0-RELEASE.
|
#
168752 |
|
15-Apr-2007 |
scottl |
Remove Giant from CAM. Drivers (SIMs) now register a mutex that CAM will use to synchornize and protect all data objects that are used for that SIM. Drivers that are not yet MPSAFE register Giant and operate as usual. RIght now, no drivers are MPSAFE, though a few will be changed in the coming week as this work settles down.
The driver API has changed, so all CAM drivers will need to be recompiled. The userland API has not changed, so tools like camcontrol do not need to be recompiled.
|
#
167086 |
|
27-Feb-2007 |
jhb |
Use pause() rather than tsleep() on stack variables and function pointers.
|
#
166901 |
|
23-Feb-2007 |
piso |
o break newbus api: add a new argument of type driver_filter_t to bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many Approved by: re@
|
#
165774 |
|
04-Jan-2007 |
jhb |
- Use a regular mutex rather than a spin mutex. This driver doesn't need a spin mutex since it doesn't have an INTR_FAST interrupt handler. Beyond that the driver is still under Giant anyway. - Remove unneeded locking during attach across operations that can't be called with locks held (such as bus_dma_tag_create()).
MFC after: 1 week Not objected to by: scottl
|
#
158651 |
|
16-May-2006 |
phk |
Since DELAY() was moved, most <machine/clock.h> #includes have been unnecessary.
|
#
152374 |
|
13-Nov-2005 |
schweikh |
Don't augment the DRIVER_VERSION "v1.12" with __DATE__ and __TIME__. This is the only file of > 1700 files in a buildkernel here doing that. It makes reproducible builds (same source => same binary) impossible.
Spotted by: devel/ccache
|
#
149878 |
|
08-Sep-2005 |
scottl |
Fix a typo that broke LINT.
|
#
149871 |
|
07-Sep-2005 |
scottl |
Import new version of the HPTMV driver from Highpoint. The major change here is the support for amd64, as well as possible support for PAE. Many thanks to Highpoint for continuing to support FreeBSD.
Obtained from: Steve Chang @ Highpoint MFC After: 3 days.
|
#
144264 |
|
28-Mar-2005 |
sam |
plug resource leak
Noticed by: Coverity Prevent analysis tool
|
#
143786 |
|
18-Mar-2005 |
das |
Don't write past the end of the VendorId field (and into the ProductId field).
Spotted by: Ted Unangst using the Coverity Prevent static analysis tool Reviewed by: scottl
|
#
143039 |
|
02-Mar-2005 |
scottl |
Clean up the botching of the previous repo-copy. Reference the included headers from the correct location.
Submitted by: Tai-hwa Liang
|
#
142358 |
|
24-Feb-2005 |
sam |
plug resource leak
Noticed by: Coverity Prevent analysis tool Reviewed by: scottl
|
#
139749 |
|
05-Jan-2005 |
imp |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
#
139044 |
|
19-Dec-2004 |
njl |
Move launching the worker thread from a SYSINIT to the first device's attach. This fixes the previous behavior where systems without hptmv hardware always had a worker thread running.
|
#
136862 |
|
24-Oct-2004 |
scottl |
Fix some warnings that only triggered in LINT.
|
#
136849 |
|
24-Oct-2004 |
scottl |
Import the HighPoint RocketRAID 182x driver. Thanks to HighPoint for providing the original driver, and thanks to IronSystems for providing hardware for testing.
|