sync code with last improvements from OpenBSD
This commit is contained in:
parent
ab623d4fc7
commit
5b49f88fed
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: ucom.c,v 1.74 2022/07/02 08:50:42 visa Exp $ */
|
/* $OpenBSD: ucom.c,v 1.75 2023/09/21 00:05:36 krw Exp $ */
|
||||||
/* $NetBSD: ucom.c,v 1.49 2003/01/01 00:10:25 thorpej Exp $ */
|
/* $NetBSD: ucom.c,v 1.49 2003/01/01 00:10:25 thorpej Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -138,19 +138,19 @@ int ucom_to_tiocm(struct ucom_softc *);
|
|||||||
void ucom_lock(struct ucom_softc *);
|
void ucom_lock(struct ucom_softc *);
|
||||||
void ucom_unlock(struct ucom_softc *);
|
void ucom_unlock(struct ucom_softc *);
|
||||||
|
|
||||||
int ucom_match(struct device *, void *, void *);
|
int ucom_match(struct device *, void *, void *);
|
||||||
void ucom_attach(struct device *, struct device *, void *);
|
void ucom_attach(struct device *, struct device *, void *);
|
||||||
int ucom_detach(struct device *, int);
|
int ucom_detach(struct device *, int);
|
||||||
|
|
||||||
struct cfdriver ucom_cd = {
|
struct cfdriver ucom_cd = {
|
||||||
NULL, "ucom", DV_TTY
|
NULL, "ucom", DV_TTY
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct cfattach ucom_ca = {
|
const struct cfattach ucom_ca = {
|
||||||
sizeof(struct ucom_softc),
|
sizeof(struct ucom_softc),
|
||||||
ucom_match,
|
ucom_match,
|
||||||
ucom_attach,
|
ucom_attach,
|
||||||
ucom_detach,
|
ucom_detach,
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user