summaryrefslogtreecommitdiff
path: root/sys/dev/tc
AgeCommit message (Collapse)Author
2018-02-14prune files.* entries that refer to files not in treeJonathan Gray
ok krw@ mpi@
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
ok millert@ krw@
2017-11-02Switch DEC 3000 (TURBOchannel) alpha serial code to MI z8530 code.Martin Pieuchot
ttyB* minor numbers change; be sure to rerun MAKEDEV if you do not upgrade with bsd.rd Adapted from NetBSD by miod@
2017-10-27Replace ancient DELAY inherited from Mach and the associated scaryMartin Pieuchot
comment with a barrier. Tested in both fast and slow modes. from miod@
2017-10-13Implement media auto selection for DEC 3000.Martin Pieuchot
diff from miod@
2016-09-19Remove unused getdev() audio driver functions.Alexandre Ratchov
2016-09-14Remove drain(), query_encoding(), mappage() and get_default_params()Alexandre Ratchov
methods from all audio drivers and from the audio_if structure as they are never called.
2015-05-11Remove all audio format conversion code from the kernel (btw holdingAlexandre Ratchov
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@
2014-12-22unifdef INETTed Unangst
2014-10-18Remove even more unnecessary `needs-flag' attributes from config machinery,Miod Vallat
as well as useless include of the generated flag files.
2014-10-12remove some unused filesJonathan Gray
ok miod@
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
after discussions with beck deraadt kettenis.
2014-01-18instead of having every bit of glue set up and attach an identicalDavid Gwynne
scsi_adapter struct, just do it once in the chip code. ok krw@
2013-10-28tedu FDDI support and the 3 flavors the driver for DEC devices, evenMartin Pieuchot
miod@ cannot find two boards using the same media. With precious punctuation review from guenther@, thanks! ok deraadt@, henning@
2013-09-24Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:Miod Vallat
- 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.
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
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
2011-09-05No need to check for the size to be a multiple of 4 in the alpha-specificMiod Vallat
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.
2011-09-04Driver for the TURBOchannel alpha baseboard audio. Ported from NetBSD, withMiod Vallat
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.
2010-11-11DEC 3000/400 has a 22.5MHz TURBOchannel bus instead of the usual 25MHz;Miod Vallat
correctly report this. Then, in asc@tc, compute synchronous transfer periods (involving the bus clock) with a better accuracy. ok krw@
2010-09-22Revert previous and let drivers register counterless interrupts;Miod Vallat
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().
2010-09-20Stop doing shutdown hooks in network drivers where possible. We alreadyTheo de Raadt
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
2010-09-20Get rid of evcount's support for arranging counters in a treeMatthew Dempsky
hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
2010-06-28Remove all adapter-specific 'struct scsi_device's. They are never used. FirstKenneth R Westerback
step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@
2010-05-23rely on __alpha__ instead of alphaTheo de Raadt
2009-11-07Blink leds on the DEC 3000 models (three different led types).Miod Vallat
2009-08-13- consistify cfdriver for the ethernet drivers (0 -> NULL)Jasper Lievisse Adriaanse
ok dlg@
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
2008-08-09Pass a device name to {tc,tcds,ioasic}_intr_establish in order to getMiod Vallat
meaningful names associated to the interrupt counters.
2008-07-30Give iada_modname[] room for a terminating NUL in struct ioasicdev_attach_args;Miod Vallat
ok deraadt@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
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@
2007-11-06Get rid of TC_IPL_xxx values and tc_intrlevel_t, and use IPL_xxx and int.Miod Vallat
No functional change.
2007-06-25Fix a couple of "of of"s in comments.Tom Cosgrove
2007-06-18fix pasto'sJasper Lievisse Adriaanse
from janjaap@stack.nl
2007-06-17ansify/de-registerJasper Lievisse Adriaanse
ok miod@
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
oustside, seqencer, toghether, nessissary, etc.
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-04-12Fix newlines in dmesg.Miod Vallat
2006-03-13Remove unused softc member.Miod Vallat
2006-03-13RegenMiod Vallat
2006-03-13Conforming to the party's line, report unconfigured devices asMiod Vallat
"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.
2005-10-11TC le(4) needs to be accessed in sparse address space for alpha.Martin Reindl
Should fix TC ethernet cards as noted by some people. from NetBSD ok miod@
2005-05-22remove "0x" in front of %p in printfs.Artur Grabowski
eyeballed by krw@
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2004-09-16cleanup deafult locators (blah ?); please check that your most hated ↵Michael Shalayeff
architecture is still fluffy (;
2004-06-28Use new event counter API for interrupt counting on alpha. By me, with someAaron Campbell
edits by Theo. deraadt@ ok
2003-09-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
2003-06-053/4 knockout for peter galbavyTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-02-11be consistant on Hz vs hzMichael Shalayeff