summaryrefslogtreecommitdiff
path: root/sys/dev/ic/com.c
AgeCommit message (Collapse)Author
2003-07-15move prototype for com_raisedtr() to comvar.h (just like pccom).Jason Wright
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo 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.
2002-12-19comparam() does not need an spltty() for it, already called there.Michael Shalayeff
time-bound loops in com_common_cnputc() and lower to spltty(), which i guess is left from times when timeouts were processed at splhigh(). jason@ tested and ok, art@ ok
2002-10-17ifndef __HAVE_GENERIC_SOFT_INTERRUPTS leaved a label without a statement ↵Artur Grabowski
after it. Fix.
2002-07-06Remove kernel support for NTP. ok deraadt@ and tholo@Thomas Nordin
2002-06-11com.c is not a block device, no bdev_decl() for it.Miod Vallat
2002-04-09Don't enable interrupts until an open() is done. Until then the driverPer Fogelstrom
is not handling them and may throw the kernel into a spurious interrupt loop. ok art@
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14compare pointers with NULL not 0Jason Wright
2002-02-05restore CN_REMOTE priority, as it always was there.Michael Shalayeff
anyway, only i386 uses that path and only if forced anyway. also do not do comprobe1() on hppa since that hoses the port.
2002-01-30Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ okThomas Nordin
2002-01-25CONADDR is defined elsewhere for hppaMichael Shalayeff
2002-01-23oops, make the kgdb var's non-staticEric Jackson
2002-01-23allow this to compile with KGDBEric Jackson
2001-10-05restore some of that dead code needed for dev/cons functionalityMichael Shalayeff
2001-10-02#ifdef FOO works much better when FOO isn't misspelled.Artur Grabowski
2001-09-30Enable break interrupt earlier.Artur Grabowski
2001-09-30Next round of cleanups.Artur Grabowski
- some KNF. - disable interrupts earlier in attach. - give it some more time in attach to finish earlier output. - explicit bus_space_barrier in comcnputc. - dead code.
2001-09-30Remove dead code.Artur Grabowski
2001-09-30Remove the COM_HAYESP code. It doesn't appear to have been ever used andArtur Grabowski
it's very intrusive and makes the code less readable.
2001-09-30Move out the com at commulti attachment into an ownfile.Artur Grabowski
Same story as isapnp - not tested because i386 uses pccom.
2001-09-30Move out com at isapnp attachment into an own file.Artur Grabowski
Not tested because the only system with isapnp is i386 and i386 uses pccom.
2001-09-29Next step in making the com driver improvable.Artur Grabowski
Split out the com at isa attachment into its own file.
2001-09-29- compoll is now scheduled once for every sc instead of just one timeout forArtur Grabowski
all ports and looping over them. - support for generic soft interrupts.
2001-09-27Simplify comstart a bit.Artur Grabowski
2001-09-27Enable #if 0'd code in comcnputc() so serial console works correctly;Todd C. Miller
art@openbsd.org
2001-09-27Split out comattach that does isa and isapnp attachment and initialization,Artur Grabowski
into comattach that does the isa stuff and com_attach_subr that does the init.
2001-04-17Implement cnbell(), an optional entrypoint that rings the console bell; fromAaron Campbell
NetBSD. deraadt@ ok
2001-03-15Put back new timeouts. This time with correct timeout for compoll.Artur Grabowski
2001-03-15typoTheo de Raadt
2001-03-15back out new timeouts until I find out why they break alpha.Artur Grabowski
2001-03-15support puc devices with higher speeds (not tested yet)Theo de Raadt
2001-03-13new timeoutsMichael Shalayeff
2001-01-24KGDB for i386 from NetBSD via niklas, with tweaks and accommodations.Hugh Graham
Tested by various, vetted by mickey & theo.
2000-11-08Add comcnattach that does the basic steps needed to attachArtur Grabowski
a com as a serial console. (idea from NetBSD). If cn_tab->cn_dev == NODEV, try to find comopen in cdevsw and set cn_dev to the right device.
2000-01-27isa-avoidanceMichael Shalayeff
2000-01-11a few ifdef accomodations for hppa, also a few knf spacesMichael Shalayeff
1999-11-28Enable TI16750 UART support.Jason Downs
1999-11-09in the ifdef POWERPC section, do use ppc, not p4e, for the iohandleDale S. Rahn
for the console configuration.
1999-10-26This file has my code in it, attach my copyright.Jason Downs
1999-08-08pasto from pccom.cNiklas Hallqvist
1999-08-08revert function accidentally committedNiklas Hallqvist
1999-08-08Detach support for com; NetBSD and meNiklas Hallqvist
1999-07-26Move over the ISA PnP support from pccom.c to com.cNiklas Hallqvist
1999-07-26fix my last commit where I committed more than intendedNiklas Hallqvist
1999-07-26Remove obsolete detach code that has been dead for very longNiklas Hallqvist
1999-06-25Don't turn off uart when closing cua device if tty is waiting.Jim Rees
Instead just drop dtr briefly.
1999-02-09Fix cua device to not block on open.Jim Rees
Turn off chip (and dtr) on interrupted open.
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller