summaryrefslogtreecommitdiffstats
path: root/sys/dev/asr
Commit message (Collapse)AuthorAgeFilesLines
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-19/+19
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-012-2/+2
| | | | especially in troff files.
* Use UID_ and GID_ constants instead of hard-coded numeric valuesrwatson2002-12-271-1/+2
| | | | | | | | | with make_dev(). Use OPERATOR instead of implicit WHEEL to match other storage devices. Use a mode of 0640 to be consistent with other storage devices. Submitted by: kris Reviewed by: scottl
* Use a bandaid to fix a warning. However, this driver is very, very farjhb2002-11-061-1/+1
| | | | | | | | | from being MI in any fashion. It currently "assumes" that it can get a kernel virtual address for a phyiscal address by adding KERNBASE to the physical address. It also tries to read values out of a the PC BIOS on all archs. It also uses "manual" inb() and outb()'s to talk to the mcclock device which just happens to be at that location on both i386 and alpha. This driver should likely be i386-only.
* Replace (ab)uses of "NULL" where "0" is really meant.archie2002-08-221-1/+1
|
* Remove an extraneous )brian2002-05-151-1/+1
| | | | | | Not approved by: maintainer I'm guessing that this is trivial enough to sidestep approval.
* `unexpand -a' should be run _before_ sed 's/^#define /#define^I/g'.obrien2002-05-1414-1088/+1088
|
* Tighten up the defined()'s.obrien2002-05-147-31/+31
|
* unexpand -a everythingobrien2002-05-1415-7496/+7496
|
* First pass of style(9) for #define's.obrien2002-05-1415-1677/+1677
|
* Change the suser() API to take advantage of td_ucred as well as do ajhb2002-04-011-1/+1
| | | | | | | | | | | | general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag. Discussed on: smp@
* Remove erronious destroy_dev. Not sure what the author's intent was herealfred2002-04-011-1/+0
| | | | | | but this makes the driver not panic my -current box. Approved by: scottl
* Remove __P.alfred2002-03-201-32/+32
|
* If we're going to ifdef out the only reference to asr_drvinit, thenimp2002-02-261-1/+1
| | | | go ahead and ifdef out the function too.
* Convert C++ style comments to proper C ones.obrien2001-12-1316-72/+87
| | | | | Clean up C comments just a tad. Fix ID's.
* Use C comments instead of C++ comments.jhb2001-12-133-24/+24
| | | | Reported by: gcc30
* Put a Band-Aid over the asr driver so that it hopefully won't causescottl2001-10-301-0/+2
| | | | panics until the author comes up with a real fix.
* KSE Milestone 2julian2001-09-121-9/+10
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Fresh code drop from the vendor. This fixes some critical bugs and addsscottl2001-08-218-194/+542
| | | | | | | support for a new class of controllers. Also adjust MAINTAINER at the approval of msmith. Obtained from: mark_salyzyn@adaptec.com
* Fix probing on the alpha. It still causes the alpha to panic duringps2001-04-031-1/+1
| | | | attach.
* Make an attempt to get the asr driver to compile on Alpha by fixing some i386scottl2001-04-011-1/+11
| | | | | specific bogons. Compile with -O0, as anything higher gives the compiler a fit. No idea if this driver will actually work on Alpha, though.
* Send the remains (such as I have located) of "block major numbers" tophk2001-03-261-1/+0
| | | | the bit-bucket.
* Turn on interrupt-entropy harvesting for all/any mass storage devicesmarkm2001-03-011-1/+1
| | | | | | | I could find. I have no doubt missed a couple. Interrupt entropy harvesting is still conditional on the kern.random.sys.harvest_interrupt sysctl.
* Typo fixes: prefered -> preferredkris2001-02-201-1/+1
| | | | There are some others in contributed/external code I haven't touched.
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-041-1/+1
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* Use M_ZERO.dwmalone2000-12-031-22/+12
| | | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: mark_salyzyn@adaptec.com
* Move suser() and suser_xxx() prototypes and a related #define fromphk2000-10-291-1/+0
| | | | | | | | | <sys/proc.h> to <sys/systm.h>. Correctly document the #includes needed in the manpage. Add one now needed #include of <sys/systm.h>. Remove the consequent 48 unused #includes of <sys/proc.h>.
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Fix a race in ASR_ccbAdd and ASR_ccbRemove, which were both manipulatingmsmith2000-09-211-0/+11
| | | | | | the ccb queue without masking interrupts. Submitted by: Petr Lampa <lampa@fee.vutbr.cz>
* Move the 'asr' driver to cdev major 154, since 97 is already taken.msmith2000-09-011-1/+1
|
* Add MAINTAINER tag to aid updaters in finding the responsible parties.msmith2000-09-011-0/+2
|
* Add the 'asr' driver, supplied by Mark Salyzyn of Adaptec (nee DPT).msmith2000-09-0115-0/+12186
This provides support for the Adaptec SCSI RAID controller family, as well as the DPT SmartRAID V and VI families. The driver will be maintained by Mark and Adaptec, and any changes should be referred to the MAINTAINER.
OpenPOWER on IntegriCloud