summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/aha.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* the src tree is growing too large. delete the aha and ahb drivers intedu2016-09-031-1412/+0
| | | | order to make room for llvm. er, the llvm makefiles. er, some of them.
* Change a bunch of (<blah> *)0 to NULL.krw2016-03-141-5/+5
| | | | ok beck@ deraadt@
* Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latterguenther2014-12-171-2/+2
| | | | | | doesn't have all the values and therefore can't be used everywhere. ok deraadt@ kettenis@
* Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro,guenther2014-12-151-2/+2
| | | | | | eliminating the must-be-kept-in-sync UVM_INH_* macros ok deraadt@ tedu@
* Replace a plethora of historical protection options with justderaadt2014-11-161-4/+4
| | | | | | | PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis
* remove uneeded proc.h includesjsg2014-09-141-2/+1
| | | | ok mpi@ kspillner@
* Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofmpi2014-03-281-2/+1
| | | | | | <uvm/uvm.h> if possible and remove double inclusions. ok beck@, mlarkin@, deraadt@
* acknowlege -> acknowledgemartynas2013-01-061-2/+2
| | | | | | compatability -> compatibility OK jmc@.
* Iopoolification of another once common bus/device.krw2011-04-071-65/+38
|
* No "\n" needed at the end of panic() strings.krw2010-08-071-2/+2
| | | | | | | Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@
* some very obvious uninit bugs found when I turned off -Wno-uninitializedtedu2010-07-021-3/+3
| | | | ok deraadt
* Remove all adapter-specific 'struct scsi_device's. They are never used. Firstkrw2010-06-281-10/+1
| | | | | | | | step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@
* Don't #include <sys/user.h> into files that don't need the stuffguenther2010-06-261-2/+1
| | | | | | | | it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
* New scsi code seems to be stable. Pluck previously identifiedkrw2010-05-201-5/+1
| | | | | | | low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@
* s/i386/__i386__/, no binary change.kettenis2010-04-281-2/+2
|
* Change the scsi_cmd function member of scsi_adapter from int tokrw2010-03-231-8/+15
| | | | | | | | | | | | | void. Use XS_NO_CCB error in the scsi command (xs) to report the NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE confusion and untangles the midlayer from the adapter a bit more. Eyes and some fixes by miod@ There may be some compile issues on little used (i.e. I don't have any) drivers but the change is mechanical and thus easy to remedy. ok dlg@
* A couple of missed ITSDONE setting before scsi_done().krw2010-01-101-2/+1
| | | | | | | seagate/trm/aha1742 were the only drivers paranoid enough to check ITSDONE on getting the xs to execute. And optimistic enough to think simply restting the flag would be a good thing. Have them chill out like everyone else, reducing ITSDONE noise some more.
* Bring last drivers fully into the NO_CCB world by replacingkrw2009-11-221-3/+2
| | | | | | | | | | | TRY_AGAIN_LATER uses with equivalent NO_CCB. Eliminates confusion between the two as was always intended. buf I/O's that can't be started get pushed back onto the front of the queue and retried. Others get sent back to originator as failures. No more epi-cycle looping inside the SCSI midlayer hoping the problem goes away. Various testers, no objection from miod@ as vs(4) was tested by nick@.
* directly calling Debugger() is bad. turn these printf();Debugger(); seriesjasper2009-08-261-21/+8
| | | | | | into panic()'s. ok deraadt@ jsing@
* Convert the waitok field of uvm_pglistalloc to "flags", more will be added soon.oga2009-04-141-5/+5
| | | | | | | | | For the possibility of sleeping, the first two flags are UVM_PLA_WAITOK and UVM_PLA_NOWAIT. It is an error not to show intention, so assert that one of the two is provided. Switch over every caller in the tree to using the appropriate flag. ok art@, ariane@
* Extend the scsi_adapter minphys() callback to take a struct scsi_link *miod2009-02-161-5/+3
| | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
* Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).grange2009-01-211-2/+2
| | | | | | No functional changes. ok krw@ miod@
* Another bunch of TRY_AGAIN_LATER -> NO_CCB when no I/O could be started.krw2008-11-251-2/+2
| | | | "looks sane to me" marco@
* SCSI_DATA_UIO is never used. Code which checks for it is either dead ormiod2008-09-121-39/+16
| | | | | | commented out, remove it. Unifdef TFS while there. ok marco@ krw@
* MALLOC -> mallocgilles2007-10-091-3/+3
| | | | ok krw@
* When polling call ahaintr() at splbio(). Noticed by and fix tested bykrw2007-08-151-2/+6
| | | | todd@.
* give scsi controllers a real attach args to fill in when attaching scsibus.dlg2006-11-281-2/+6
| | | | ok miod@ marco@ deraadt@
* The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER iskrw2005-12-031-2/+1
| | | | | | | | to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change.
* assume vtophys(vaddr_t) just what all the other archs expect; no functional changemickey2005-11-231-2/+2
|
* Use list and queue macros where applicable to make the code easier to read;miod2004-12-261-4/+4
| | | | no change in compiler assembly output.
* Spell precede correctly.jsg2004-11-291-2/+2
| | | | 'looks fine' millert@, krw@. ok jmc@
* strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.ho2003-04-271-8/+8
|
* Proper use of bus_space makes the need for <machine/pio.h> obsolete, whichmiod2003-04-101-2/+1
| | | | is good since not all isa capable platforms provide such a file.
* this removes the functionality of adding allocatedmickey2002-10-071-1/+2
| | | | | pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this.
* No more need to initialize the result list before uvm_pglistalloc.art2002-10-061-2/+1
|
* KNF miss in my last commitniklas2002-06-081-2/+2
|
* bus_dma-ify, now it works again, sorry for the inconvenienceniklas2002-06-071-100/+124
|
* Add initialization of pglist, now attaches fine, butniklas2002-06-071-2/+4
| | | | bugs exist still in bounce buffering
* Final __P removal plus some cosmetic fixupsmillert2002-03-141-2/+2
|
* First round of __P removal in sysmillert2002-03-141-23/+23
|
* bussified and bus-split bustec scsi ha driver.mickey2002-01-241-3/+3
| | | | | | | | original port done by chris@ in '98 and pounded into -current by me, plus support for wide mode. tested on pci in both modes by me, on eisa (w/ half success, thus not enabled yet) by jason@. niklas@, jason@, millert@ ok.
* Sprinkle pmap_update calls where relevant and some otherart2001-12-081-1/+2
| | | | misc pmap usage fixes.
* Kill uvm_pagealloc_contig. The two drivers that still used it should haveart2001-11-301-5/+26
| | | | | | been converted to bus_dma ages ago, but since noone haven't bothered to do that I haven't bothered to do more than to test that the kernel still builds with those changes.
* zap old vmart2001-06-271-6/+1
|
* Do not delete timeouts when they are not setniklas2001-04-021-2/+3
|
* new timeoutsmickey2001-01-291-4/+7
|
* make compile with !UVMniklas2000-11-131-2/+2
|
* Force mailbox to be under 16MB so the controller can see itniklas2000-04-191-8/+16
|
* pnpdevs.hderaadt1999-08-191-3/+6
|
* Die, NEWCONFIGniklas1999-01-071-9/+1
|