version 1.67, 2006/10/01 20:31:51 |
version 1.68, 2006/10/12 01:31:59 |
Line 301 ucom_shutdown(struct ucom_softc *sc) |
|
Line 301 ucom_shutdown(struct ucom_softc *sc) |
|
} |
} |
|
|
int |
int |
ucomopen(dev_t dev, int flag, int mode, struct lwp *l) |
ucomopen(dev_t dev, int flag, int mode __unused, struct lwp *l) |
{ |
{ |
int unit = UCOMUNIT(dev); |
int unit = UCOMUNIT(dev); |
usbd_status err; |
usbd_status err; |
|
|
} |
} |
|
|
int |
int |
ucomclose(dev_t dev, int flag, int mode, struct lwp *l) |
ucomclose(dev_t dev, int flag, int mode __unused, struct lwp *l __unused) |
{ |
{ |
struct ucom_softc *sc = ucom_cd.cd_devs[UCOMUNIT(dev)]; |
struct ucom_softc *sc = ucom_cd.cd_devs[UCOMUNIT(dev)]; |
struct tty *tp = sc->sc_tty; |
struct tty *tp = sc->sc_tty; |
Line 869 XXX what if the hardware is not open |
|
Line 869 XXX what if the hardware is not open |
|
* (un)block input via hw flowcontrol |
* (un)block input via hw flowcontrol |
*/ |
*/ |
Static void |
Static void |
ucom_hwiflow(struct ucom_softc *sc) |
ucom_hwiflow(struct ucom_softc *sc __unused) |
{ |
{ |
DPRINTF(("ucom_hwiflow:\n")); |
DPRINTF(("ucom_hwiflow:\n")); |
#if 0 |
#if 0 |
|
|
} |
} |
|
|
void |
void |
ucomstop(struct tty *tp, int flag) |
ucomstop(struct tty *tp __unused, int flag __unused) |
{ |
{ |
DPRINTF(("ucomstop: flag=%d\n", flag)); |
DPRINTF(("ucomstop: flag=%d\n", flag)); |
#if 0 |
#if 0 |
Line 1140 ucomprint(void *aux, const char *pnp) |
|
Line 1140 ucomprint(void *aux, const char *pnp) |
|
|
|
int |
int |
ucomsubmatch(struct device *parent, struct cfdata *cf, |
ucomsubmatch(struct device *parent, struct cfdata *cf, |
const int *ldesc, void *aux) |
const int *ldesc __unused, void *aux) |
{ |
{ |
struct ucom_attach_args *uca = aux; |
struct ucom_attach_args *uca = aux; |
|
|