summaryrefslogtreecommitdiffstats
path: root/sys/dev/hptmv
Commit message (Collapse)AuthorAgeFilesLines
* It seems that what the code really meant is that when a write is completed,delphij2012-09-071-1/+1
| | | | | | | | 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 MFC after: 1 month
* Adding missing dependancies for loading hptiop(4), hptmv(4) and isp(4) as ↵eadler2012-06-011-0/+1
| | | | | | | | | | | | modules. PR: kern/166239 Submitted by: Pavel Timofeev <timp87@gmail.com> Discussed on: -stable, -scsi Reviewed by: scottl No objection from: mjacob Approved by: cperciva MFC after: 3 days
* Convert a number of drivers to obtaining their parent DMA tag from theirscottl2012-03-121-1/+1
| | | | PCI device attachment.
* Remove spurious 8bit chars, turning files into plain ASCII.uqs2012-01-151-1/+1
|
* - Just use cam_calc_geometry(9) on newer version of FreeBSD rather thanmarius2011-11-231-5/+10
| | | | | duplicating it. - In hptmv(4) and hptrr(4) use __FBSDID and DEVMETHOD_END.
* - Merge changes to the base system to support OFED. These includejeff2011-03-211-2/+2
| | | | | a wider arg2 for sysctl, updates to vlan code, IFT_INFINIBAND, and other miscellaneous small features.
* Report transport type in XPT_PATH_INQ.mav2010-06-191-0/+4
| | | | MFC after: 3 days
* Remove extraneous semicolons, no functional changes.mbr2010-01-071-1/+1
| | | | | Submitted by: Marc Balmer <marc@msys.ch> MFC after: 1 week
* MFp4:mav2009-06-241-197/+0
| | | | | | Remove unused ATAPI definitions, conflicting with ata.h. Submitted by: scottl
* Use DEVICE_SHUTDOWN(9) mechanism for shutdown handler.delphij2009-04-091-8/+2
| | | | Suggested by: jhb
* When multiple cards are present, register a shutdown handler for each carddelphij2009-04-071-8/+9
| | | | | | | | 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
* Update driver to vendor's version 1.16 plus some local changes:delphij2009-04-0718-3637/+4175
| | | | | | | | | | | | | | | - 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
* Rename the kthread_xxx (e.g. kthread_create()) callsjulian2007-10-201-1/+1
| | | | | | | | | | | 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.
* Prepare for future integration between CAM and newbus. xpt_bus_registerscottl2007-06-171-1/+1
| | | | | | | 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.
* Perhaps a better fix- make the called function do the (possible never reached)mjacob2007-05-211-8/+11
| | | | | | initialization. Do a token amount of style cleanup. Poked by: bde
* Make gcc 4.2 happy by initiatlizing controller && channel priormjacob2007-05-201-1/+1
| | | | | | to a call to a function which *might* then initialize them. MFC after: 3 days
* Remove Giant from CAM. Drivers (SIMs) now register a mutex that CAM willscottl2007-04-151-1/+2
| | | | | | | | | | | 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.
* Use pause() rather than tsleep() on stack variables and function pointers.jhb2007-02-272-12/+12
|
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-1/+1
| | | | | | | | | | | | | 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@
* - Use a regular mutex rather than a spin mutex. This driver doesn't needjhb2007-01-041-9/+3
| | | | | | | | | | 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
* Since DELAY() was moved, most <machine/clock.h> #includes have beenphk2006-05-161-1/+0
| | | | unnecessary.
* Remove some header polution.scottl2006-04-301-1/+0
|
* Fix -Wundef.ru2005-12-042-3/+3
|
* Don't augment the DRIVER_VERSION "v1.12" with __DATE__ and __TIME__.schweikh2005-11-131-1/+1
| | | | | | | 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
* Fix a typo that broke LINT.scottl2005-09-081-1/+1
|
* Import new version of the HPTMV driver from Highpoint. The major changescottl2005-09-0720-3313/+5271
| | | | | | | | 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.
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386nyan2005-05-291-1/+0
| | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
* check copyin return value (and while we're at it copyout too)sam2005-03-311-8/+14
| | | | Noticed by: Coverity Prevent analysis tool
* plug resource leaksam2005-03-291-0/+3
| | | | Noticed by: Coverity Prevent analysis tool
* Don't read past the end of pVDevice[]. (Previously, we would iteratedas2005-03-181-1/+1
| | | | | | | twice as many times as there were entries in the array.) Spotted by: Ted Unangst using the Coverity Prevent static analysis tool Reviewed by: scottl
* Don't write past the end of the VendorId field (and into the ProductIddas2005-03-181-1/+1
| | | | | | | field). Spotted by: Ted Unangst using the Coverity Prevent static analysis tool Reviewed by: scottl
* Clean up the botching of the previous repo-copy. Reference the includedscottl2005-03-026-12/+12
| | | | | | headers from the correct location. Submitted by: Tai-hwa Liang
* Move all of the hptmv files to /sys/dev/hptmv so that they won't be mistakenscottl2005-03-0212-1/+24
| | | | for being on a CVS vendor branch. The files were moved via a repo-copy.
* Add FreeBSD ID.obrien2005-02-281-0/+2
|
* avoid sneaky double freesam2005-02-251-1/+5
| | | | | Noticed by: Coverity Prevent analysis tool Reviewed by: scottl
* plug resource leaksam2005-02-241-0/+1
| | | | | Noticed by: Coverity Prevent analysis tool Reviewed by: scottl
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-066-6/+6
|
* Move launching the worker thread from a SYSINIT to the first device'snjl2004-12-191-4/+10
| | | | | attach. This fixes the previous behavior where systems without hptmv hardware always had a worker thread running.
* Fix some warnings that only triggered in LINT.scottl2004-10-242-10/+10
|
* Embed the correct name.scottl2004-10-241-1/+1
|
* Clean up some messy Makefile stuff so that this can be built into thescottl2004-10-242-2/+14
| | | | kernel.
* Import the HighPoint RocketRAID 182x driver. Thanks to HighPoint forscottl2004-10-2419-0/+11587
providing the original driver, and thanks to IronSystems for providing hardware for testing.
OpenPOWER on IntegriCloud