summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys/adwlib.c
Commit message (Collapse)AuthorAgeFilesLines
* Add locking to the adw(4) driver and mark it MPSAFE.jhb2012-10-151-19/+26
| | | | | | | | | | - Use device_printf() and device_get_nameunit() instead of adw_name(). - Remove use of explicit bus space handles and tags. - Use pci_enable_busmaster() rather than frobbing the PCI command register directly. - Use the softc provided by new-bus rather than allocating a new one. Tested by: no one
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386nyan2005-05-291-2/+0
| | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
* Check for BIOS version 3.0 as well as 3.1.scottl2005-02-211-1/+1
| | | | Submitted by: Coverity Prevent analysis tool
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-2/+2
|
* Use __FBSDID().obrien2003-08-241-2/+3
| | | | Also some minor style cleanups.
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Newbusify adv driver.nyan2000-04-071-0/+3
| | | | Reviewed by: imp
* adv_pci.c:gibbs2000-03-021-26/+40
| | | | | | | | | | | | | | | | | | | adw_pci.c: Update comments describing supported chips/cards. adwcam.c: adwlib.c: adwlib.h: Handle more error return codes from the firmware. Break out the bus reset code into its own function. Usa a constant for the bus reset hold delay. Fix an interrupt race problem in adw_idle_cmd_send by incorporating the poll loop for command completion. Approved by: jkh@FreeBSDorg
* Add support for the AdvanSys ASC38C0800 Ultra2 chipset. Preliminarygibbs2000-02-031-173/+486
| | | | | | | support is also included for the ASC38C1600 Ultra160 chipset, but as firmware is not yet available for this chip, it is disabled. Approved by: jkh@FreeBSD.org
* Move the declaration of panic() from sys/systm.h to sys/param.h.eivind1999-09-261-1/+1
| | | | | | | | Rationale: Wider access, so we can add assertions to header files. panicstr is still in sys/systm.h Suggested by: phk Discussed with: peter
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Unspammed includes in <machine/cpufunc.h> in the !SMP case. Partiallybde1999-01-081-2/+3
| | | | unspammed them in the SMP case.
* Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW).gibbs1998-10-071-0/+563
OpenPOWER on IntegriCloud