summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/cl.c
AgeCommit message (Collapse)Author
2004-07-02Remove unused code, per mvme88k.Miod Vallat
2004-07-02Kill ca_master in autoconf structures. Drivers either only attach to oneMiod Vallat
specific bus (mc/pcc/pcctwo), or they know it from the ca_bustype value, and can use the globals sys_busname variables. This also allows for some code simplifications.
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
necessary. No functional change.
2003-12-20Passl -Wformat. Fix some blatant -Wuninitialized errors as well.Miod Vallat
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-02license cleanup of my filesTheo de Raadt
2002-06-12cnputc() will take care of the necessary cr->cr/lf translation, so don'tMiod Vallat
do it in those consoles either.
2002-06-11cnputc() routines are void, not int.Miod Vallat
2002-04-27Jumbo commit to fix all compilation warnings on mvme68k (add prototypes,Miod Vallat
add casts, fix a few errors and typos in the process, etc)
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-15Don't cast nonexistent return value from splx to (void). ok art@Thomas Nordin
2001-06-27recieve -> receiveNathan Binkert
2000-07-06Make the handling of going into ddb from the console more like theArtur Grabowski
other architectures.
2000-03-26callout.h is goneTheo de Raadt
2000-01-25fix dmesg printTheo de Raadt
2000-01-06Added support for MVME177 (mc68060)Steve Murphree
1999-10-04Fixed garbled dmesg.Steve Murphree
1997-07-27time_t is not longTheo de Raadt
1997-04-02add off-level character recieve.Dale S. Rahn
improve transmission when CTS goes low (like on a modem)
1996-06-11tty_attach()Theo de Raadt
1996-06-11use void * for pa/va instead of caddr_tTheo de Raadt
1996-05-10Add some code bulletproofing, I have had this around for some timeDale S. Rahn
I actually thought it was checked in. This should stop any extra transmit interupts occuring and a possible crash if another system talks to the tty port before it is completely configured. Also allows debugging when no processes have the port open for writing. If abort is pressed before getty starts.
1996-05-07delete impossible to reach code, use more defined constantsTheo de Raadt
1996-04-28cfattach/cfdriver splitTheo de Raadt
1995-12-16Two changes are made in this checkin.Dale S. Rahn
The first is a change to force the console to stay 8N1, the configuration of the bug/prom during the first open to the device by init. The second is to not enable interupts until the port is opened. Previously receive and CD change interrutps were enabled at config time. If a character arrived before the port was opened for the first time, it would crash the system.
1995-12-01we cannot jump into ddb until the interrupt has been acknowledged to theTheo de Raadt
chip. set a flag and defer calling ddb till end of interrupt routine.
1995-12-01previous verbosity patch was wrongTheo de Raadt
1995-12-01add CONSOLEBREAKDDB support. also be less verbose at boot..Theo de Raadt
1995-12-01fixed ddb, improved fifo handling, new still-not-working dma supportTheo de Raadt
from drahn@pacific.urbana.mcd.mot.com
1995-11-19in clcninit: we need to use IIOV to convert the physical address ofchuck
the console to a virtual address. otherwise we can not print anything because our register pointer is wrong (this is on the 167).
1995-11-07$Id$ throughoutTheo de Raadt
update many copyrights
1995-10-29fixes from daleTheo de Raadt
1995-10-18mvme68k port by me. some parts by dale rahn.Theo de Raadt