summaryrefslogtreecommitdiffstats
path: root/sys/dev/tc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove all audio format conversion code from the kernel (btw holdingratchov2015-05-112-80/+4
| | | | | | | | | the kernel_lock), as we already do better conversions in user-mode. Yet, no need for every single driver to fiddle with the conversion code as they are done transparently by common MI code. With help from armani and miod, support from mpi ok armani@
* unifdef INETtedu2014-12-222-6/+2
|
* Remove even more unnecessary `needs-flag' attributes from config machinery,miod2014-10-181-2/+2
| | | | as well as useless include of the generated flag files.
* remove some unused filesjsg2014-10-121-1/+0
| | | | ok miod@
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-2/+2
| | | | after discussions with beck deraadt kettenis.
* instead of having every bit of glue set up and attach an identicaldlg2014-01-183-16/+5
| | | | | | scsi_adapter struct, just do it once in the chip code. ok krw@
* tedu FDDI support and the 3 flavors the driver for DEC devices, evenmpi2013-10-282-132/+1
| | | | | | | | miod@ cannot find two boards using the same media. With precious punctuation review from guenther@, thanks! ok deraadt@, henning@
* Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:miod2013-09-243-27/+27
| | | | | | | | | | | | | | | | - the am7990_get() - now lance_get() - is unchanged. - the interrupt acknowledge logic is unchanged, and will disable interrupts, then acknowledge all interrupt conditions. Add ILACC (79900) support (from NetBSD). Both LANCE (am7990.c) and ILACC (am79900.c) code share as much common code (lance.c) as possible. This affects all le(4) attachments, but the changes are mostly mechanical, to split am7990-specific parts from lance-agnostic parts. Compile tested on all affected platforms. Tested on alpha, hp300, luna88k, mvme88k, sparc, sparc64 and vax.
* Introduce a global interrupt-aware mutex protecting dataratchov2013-05-151-6/+12
| | | | | | | | | | | | | structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani
* No need to check for the size to be a multiple of 4 in the alpha-specificmiod2011-09-051-3/+3
| | | | | code to process four samples at a time - we can do as much sets of 4 as possible before falling back to the remainder processed one byte at a time.
* Driver for the TURBOchannel alpha baseboard audio. Ported from NetBSD, withmiod2011-09-042-1/+790
| | | | | | changes to allow using non-native encodings, and alpha specific code to try and avoid doing 8 bit memory access. Tested on 3000/300LX, deaf testing on 3000/600.
* DEC 3000/400 has a 22.5MHz TURBOchannel bus instead of the usual 25MHz;miod2010-11-113-14/+19
| | | | | | | | | correctly report this. Then, in asc@tc, compute synchronous transfer periods (involving the bus clock) with a better accuracy. ok krw@
* Revert previous and let drivers register counterless interrupts;miod2010-09-222-7/+8
| | | | | | | tc_intr_disestablish() prototype is changed to carry information whether the counter needs to be detached or not. This does not matter much since no driver ever calls tc_intr_disestablish().
* Stop doing shutdown hooks in network drivers where possible. We alreadyderaadt2010-09-201-7/+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
* Get rid of evcount's support for arranging counters in a treematthew2010-09-201-2/+2
| | | | | | | hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
* Remove all adapter-specific 'struct scsi_device's. They are never used. Firstkrw2010-06-283-14/+5
| | | | | | | | step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@
* rely on __alpha__ instead of alphaderaadt2010-05-231-3/+3
|
* Blink leds on the DEC 3000 models (three different led types).miod2009-11-071-1/+2
|
* - consistify cfdriver for the ethernet drivers (0 -> NULL)jasper2009-08-131-2/+2
| | | | ok dlg@
* Extend the scsi_adapter minphys() callback to take a struct scsi_link *miod2009-02-161-2/+2
| | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
* Pass a device name to {tc,tcds,ioasic}_intr_establish in order to getmiod2008-08-0910-27/+33
| | | | meaningful names associated to the interrupt counters.
* Give iada_modname[] room for a terminating NUL in struct ioasicdev_attach_args;miod2008-07-301-2/+2
| | | | ok deraadt@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-264-32/+4
| | | | | | | | | 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@
* Get rid of TC_IPL_xxx values and tc_intrlevel_t, and use IPL_xxx and int.miod2007-11-065-29/+9
| | | | No functional change.
* Fix a couple of "of of"s in comments.tom2007-06-251-2/+2
|
* fix pasto'sjasper2007-06-181-2/+2
| | | | from janjaap@stack.nl
* ansify/de-registerjasper2007-06-172-35/+15
| | | | ok miod@
* More comment typos from Diego Casati. Including winners like funtion, allmost,krw2007-05-261-4/+4
| | | | oustside, seqencer, toghether, nessissary, etc.
* "interupt" -> "interrupt" in various comments. Mostly from Diego Casati.krw2007-05-251-5/+5
|
* Fix newlines in dmesg.miod2007-04-121-2/+2
|
* Remove unused softc member.miod2006-03-131-2/+1
|
* Regenmiod2006-03-131-122/+46
|
* Conforming to the party's line, report unconfigured devices asmiod2006-03-134-263/+19
| | | | | | | | | "TC identifier" (description) at tc0 ... unconfigured instead of drivername (description) at tc0 ... unconfigured Plus this allows us to shrinken the description structure and get rid of a generated file. Only affects TCVERBOSE kernels.
* TC le(4) needs to be accessed in sparse address space for alpha.martin2005-10-111-2/+3
| | | | | | | | Should fix TC ethernet cards as noted by some people. from NetBSD ok miod@
* remove "0x" in front of %p in printfs.art2005-05-221-2/+2
| | | | eyeballed by krw@
* Cosmetics...tdeval2005-03-081-3/+3
| | | | | Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
* cleanup deafult locators (blah ?); please check that your most hated architecture is still fluffy (;mickey2004-09-161-3/+3
|
* Use new event counter API for interrupt counting on alpha. By me, with someaaron2004-06-285-40/+9
| | | | edits by Theo. deraadt@ ok
* Typos: defintion -> definition, proccess -> processmiod2003-09-261-2/+2
| | | | | There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
* 3/4 knockout for peter galbavyderaadt2003-06-052-12/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-022-12/+4
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.ho2003-04-272-10/+8
|
* be consistant on Hz vs hzmickey2003-02-112-4/+4
|
* Remove more '\n's from panic() statements. Both trailing and leading.krw2002-10-121-3/+3
| | | | Diff generated by Chris Kuethe.
* More sc_arpcom fallout.art2002-06-091-2/+2
| | | | | Not tested because all alphas in my reach are dead right now. From Dries Schellekens.
* withough -> withoutderaadt2002-06-021-2/+2
|
* Regen.miod2002-05-032-63/+127
|
* Add more cards and device names, and print better looking probe messages formiod2002-05-033-40/+46
| | | | unknown cards.
* Big TURBOchannel support catchup from NetBSD, part 1.miod2002-05-0222-383/+2689
| | | | | | | | | A few local changes and tweaks remain. This bring DEC 3000 machines back in the game, but framebuffers are still not supported at the moment. Thanks to ericj@ and nate@ for supplying me a DEC 3000 for testing.
* Final __P removal plus some cosmetic fixupsmillert2002-03-143-11/+11
|