Deleted Added
full compact
uslcom.c (276701) uslcom.c (292080)
1/* $OpenBSD: uslcom.c,v 1.17 2007/11/24 10:52:12 jsg Exp $ */
2
3#include <sys/cdefs.h>
1/* $OpenBSD: uslcom.c,v 1.17 2007/11/24 10:52:12 jsg Exp $ */
2
3#include <sys/cdefs.h>
4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uslcom.c 276701 2015-01-05 15:04:17Z hselasky $");
4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uslcom.c 292080 2015-12-11 05:28:00Z imp $");
5
6/*
7 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
8 *
9 * Permission to use, copy, modify, and distribute this software for any
10 * purpose with or without fee is hereby granted, provided that the above
11 * copyright notice and this permission notice appear in all copies.
12 *

--- 364 unchanged lines hidden (view full) ---

377 .methods = uslcom_methods,
378 .size = sizeof(struct uslcom_softc),
379};
380
381DRIVER_MODULE(uslcom, uhub, uslcom_driver, uslcom_devclass, NULL, 0);
382MODULE_DEPEND(uslcom, ucom, 1, 1, 1);
383MODULE_DEPEND(uslcom, usb, 1, 1, 1);
384MODULE_VERSION(uslcom, 1);
5
6/*
7 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
8 *
9 * Permission to use, copy, modify, and distribute this software for any
10 * purpose with or without fee is hereby granted, provided that the above
11 * copyright notice and this permission notice appear in all copies.
12 *

--- 364 unchanged lines hidden (view full) ---

377 .methods = uslcom_methods,
378 .size = sizeof(struct uslcom_softc),
379};
380
381DRIVER_MODULE(uslcom, uhub, uslcom_driver, uslcom_devclass, NULL, 0);
382MODULE_DEPEND(uslcom, ucom, 1, 1, 1);
383MODULE_DEPEND(uslcom, usb, 1, 1, 1);
384MODULE_VERSION(uslcom, 1);
385USB_PNP_HOST_INFO(uslcom_devs);
385
386static void
387uslcom_watchdog(void *arg)
388{
389 struct uslcom_softc *sc = arg;
390
391 mtx_assert(&sc->sc_mtx, MA_OWNED);
392

--- 550 unchanged lines hidden ---
386
387static void
388uslcom_watchdog(void *arg)
389{
390 struct uslcom_softc *sc = arg;
391
392 mtx_assert(&sc->sc_mtx, MA_OWNED);
393

--- 550 unchanged lines hidden ---