summaryrefslogtreecommitdiffstats
path: root/sys/dev/eisa (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Double checking you committed the correct diff sometimes payskrw2020-07-051-3/+3
| | | | off. Sigh.
* Nuke struct scsi_link's "scsibus" member. The two drivers using itkrw2020-07-051-4/+4
| | | | | | | | (ahc(4) and qlw(4)) can just compare the values of the "bus" member directly. A slightly different path to the same result that matthew@ traversed in his work culminating in scsiconf.h r1.146.
* remove dpt(4) driver for DPT EATA SCSI RAIDjsg2020-01-102-214/+1
| | | | | | | Not built since 2006, and a mail from 2004 mentions no one having hardware. Unsurprisingly it does not build with clang. ok mlarkin@ krw@ deraadt@
* If you use sys/param.h, you don't need sys/types.hderaadt2017-09-083-6/+3
|
* naddy discovered that bha no longer builds because it includes the nowtedu2016-09-042-210/+1
| | | | deleted aha.h header. therefore bha must be dragged into the attic too.
* the src tree is growing too large. delete the aha and ahb drivers intedu2016-09-032-1137/+1
| | | | order to make room for llvm. er, the llvm makefiles. er, some of them.
* You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.mpi2015-11-241-3/+1
|
* The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.mpi2015-11-241-2/+1
|
* remove uneeded proc.h includesjsg2014-09-142-4/+2
| | | | ok mpi@ kspillner@
* Fewer <netinet/in_systm.h>mpi2014-08-111-6/+2
|
* tedu FDDI support and the 3 flavors the driver for DEC devices, evenmpi2013-10-282-245/+1
| | | | | | | | miod@ cannot find two boards using the same media. With precious punctuation review from guenther@, thanks! ok deraadt@, henning@
* Most network drivers include netinet/in_var.h, but apparently theybluhm2013-08-072-4/+2
| | | | | don't have to. Just remove these include lines. Compiled on amd64 i386 sparc64; OK henning@ mikeb@
* Initialize enough softc fields to give this attachment a chance to work.miod2012-05-121-6/+29
| | | | | This got broken during ahc updates 8 years ago (for 3.6), but there are no reports of users of EISA ahc since 3.5 anyway...
* Work in progress support for the SGI Indigo, Indigo 2 and Indy systemsmiod2012-03-281-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | (IP20, IP22, IP24) in 64-bit mode, adapated from NetBSD. Currently limited to headless operation, input and video drivers will get ported soon. Should work on all R4000, R4440 and R5000 based systems. L2 cache on R5000SC Indy not supported yet (coming soon), R4600 not supported yet either (coming soon as well). Tested to boot multiuser on: Indigo2 R4000SC, Indy R4000PC, Indy R4000SC, Indy R5000SC, Indigo2 R4400SC. There are still glitches in the Ethernet driver which are being looked at. Expansion support is limited to the GIO E++ board; GIO boards with PCI-GIO bridges not ported yet due to the lack of hardware, and this kind of driver does not port blindly. Most of this work comes from NetBSD, polishing and integration work, as well as putting as many ``R4x00 in 64-bit mode'' erratas as necessary, by yours truly. More work is coming, as well as trying to get some easy way to boot install kernels (as older PROM can only boot ECOFF binaries, which won't do for the kernel).
* Iopoolification to eliminate another few instances of the currentkrw2011-04-051-82/+31
| | | | | | shibboleth - NO_CCB. This in no way means this driver works. ok gcc@ dlg@
* Don'tmiod2010-11-181-6/+2
| | | | | | | | | #include "foo.h" #if NFOO > 0 (whole file) #endif since config(8) file inclusion rules already do it for you. ok deraadt@
* Stop doing shutdown hooks in network drivers where possible. We alreadyderaadt2010-09-201-6/+1
| | | | | | | take all interfaces down, via their xxstop routines. Claudio and I have verified that none of the shutdown hooks do much extra beyond what xxstop was already doing; it is largely a pile of junk. ok claudio, some early comments by sthen; also read by matthew, jsg
* No "\n" needed at the end of panic() strings.krw2010-08-072-5/+5
| | | | | | | Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@
* 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-262-4/+3
| | | | | | | | 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@
* toast __arc__; we gave up on that platform around a decade agoderaadt2010-05-231-5/+2
|
* New scsi code seems to be stable. Pluck previously identifiedkrw2010-05-201-7/+1
| | | | | | | low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@
* Change the scsi_cmd function member of scsi_adapter from int tokrw2010-03-231-11/+19
| | | | | | | | | | | | | 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-5/+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.
* Set ITSDONE in scsi_done() and zap trivial instances of setting itkrw2010-01-101-2/+1
| | | | | | in the drivers just before calling scsi_done(). ok dlg@ beck@
* Bring last drivers fully into the NO_CCB world by replacingkrw2009-11-221-2/+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@.
* call scsi_done before returning COMPLETEdlg2009-09-051-1/+4
|
* remove more unneeded Debugger() calls from dev/jasper2009-08-292-22/+8
| | | | | agreed by deraadt@ ok jsing@
* - consistify cfdriver for the ethernet drivers (0 -> NULL)jasper2009-08-131-2/+2
| | | | ok dlg@
* When we fail to find the controller type, don't continue on using the nextderaadt2009-06-021-8/+13
| | | | | consecutive index which is outside the array; found by Parfait ok oga guenther
* make various strings ("can't map mem space" and similar) more consistentsthen2009-03-296-17/+17
| | | | | | | between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
* 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-212-5/+5
| | | | | | No functional changes. ok krw@ miod@
* Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)blambert2009-01-111-2/+2
| | | | | | | conversions. ok kettenis@ ok krw@ (possibly for the second time :)
* 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-70/+47
| | | | | | commented out, remove it. Unifdef TFS while there. ok marco@ krw@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-262-16/+2
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Remove commented out NetBSD __KERNEL_RCSID macro usage.brad2008-05-131-6/+1
| | | | ok dlg@
* More scsi_done() at SPLBIO. Wrap another interrupt function call whilekrw2007-11-051-2/+6
| | | | polling in splbio/splx.
* More scsi_done() at SPLBIO. If you poll by manually calling thekrw2007-11-051-2/+6
| | | | interrupt function, wrap the call in splbio/splx!
* Fix a couple of "of of"s in comments.tom2007-06-251-2/+2
|
* ahb_debug should be inside #ifdef AHBDEBUGderaadt2007-05-081-1/+4
|
* ``it's'' -> ``its'' when the grammar gods require this change.miod2007-04-104-9/+9
|
* 'immediatly' -> 'immediately' in comments.krw2006-12-211-2/+2
|
* give scsi controllers a real attach args to fill in when attaching scsibus.dlg2006-11-281-2/+6
| | | | ok miod@ marco@ deraadt@
* add sys/timeout.hbrad2006-06-171-1/+2
|
* Do not reset the board, for it will not keep the interrupt configuration themiod2006-05-301-6/+2
| | | | BIOS configured it in; from NetBSD via Andrew Daugherity.
* 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
|
* Move contents of sys/select.h to sys/selinfo.h in preparation for amillert2005-11-211-2/+2
| | | | | userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.