[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Miod Vallat <miod_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 3 Oct 2003 10:44:52 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: miod_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2003/10/03 10:44:51
Modified files:
sys/arch/alpha/alpha: promcons.c
sys/arch/alpha/tc: scc.c
sys/arch/hp300/dev: apci.c dca.c dcm.c ite.c
sys/arch/hppa/dev: pdc.c
sys/arch/i386/isa: pccom.c
sys/arch/mac68k/dev: ite.c z8530tty.c
sys/arch/macppc/dev: z8530tty.c
sys/arch/mvme68k/dev: bugtty.c cl.c wl.c zs.c
sys/arch/mvme88k/dev: cl.c dart.c
sys/arch/sparc/dev: magma.c spif.c z8530tty.c
sys/arch/sparc64/dev: pcons.c sab.c z8530tty.c
sys/arch/vax/qbus: dl.c qd.c
sys/dev/ic : com.c cy.c z8530tty.c
sys/dev/pci : cz.c
sys/dev/sbus : magma.c spif.c
sys/dev/usb : ucom.c
sys/dev/wscons : wsdisplay.c
sys/kern : tty.c tty_pty.c
sys/sys : tty.h
Log message:
Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need for
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...
Visit your host, monkey.org