summaryrefslogtreecommitdiffstats
path: root/sys/dev/hptmv
Commit message (Collapse)AuthorAgeFilesLines
* 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