Deleted Added
full compact
umoscom.c (189265) umoscom.c (189275)
1/* $FreeBSD: head/sys/dev/usb/serial/umoscom.c 189265 2009-03-02 02:44:10Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/serial/umoscom.c 189275 2009-03-02 05:37:05Z thompsa $ */
2/* $OpenBSD: umoscom.c,v 1.2 2006/10/26 06:02:43 jsg Exp $ */
3
4/*
5 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

256static devclass_t umoscom_devclass;
257
258static driver_t umoscom_driver = {
259 .name = "umoscom",
260 .methods = umoscom_methods,
261 .size = sizeof(struct umoscom_softc),
262};
263
2/* $OpenBSD: umoscom.c,v 1.2 2006/10/26 06:02:43 jsg Exp $ */
3
4/*
5 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

256static devclass_t umoscom_devclass;
257
258static driver_t umoscom_driver = {
259 .name = "umoscom",
260 .methods = umoscom_methods,
261 .size = sizeof(struct umoscom_softc),
262};
263
264DRIVER_MODULE(umoscom, ushub, umoscom_driver, umoscom_devclass, NULL, 0);
264DRIVER_MODULE(umoscom, uhub, umoscom_driver, umoscom_devclass, NULL, 0);
265MODULE_DEPEND(umoscom, ucom, 1, 1, 1);
266MODULE_DEPEND(umoscom, usb, 1, 1, 1);
267
268static const struct usb2_device_id umoscom_devs[] = {
269 {USB_VPI(USB_VENDOR_MOSCHIP, USB_PRODUCT_MOSCHIP_MCS7703, 0)}
270};
271
272static int

--- 401 unchanged lines hidden ---
265MODULE_DEPEND(umoscom, ucom, 1, 1, 1);
266MODULE_DEPEND(umoscom, usb, 1, 1, 1);
267
268static const struct usb2_device_id umoscom_devs[] = {
269 {USB_VPI(USB_VENDOR_MOSCHIP, USB_PRODUCT_MOSCHIP_MCS7703, 0)}
270};
271
272static int

--- 401 unchanged lines hidden ---