Deleted Added
full compact
uslcom.c (189265) uslcom.c (189275)
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 189265 2009-03-02 02:44:10Z thompsa $");
4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uslcom.c 189275 2009-03-02 05:37:05Z thompsa $");
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 *

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

189static devclass_t uslcom_devclass;
190
191static driver_t uslcom_driver = {
192 .name = "uslcom",
193 .methods = uslcom_methods,
194 .size = sizeof(struct uslcom_softc),
195};
196
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 *

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

189static devclass_t uslcom_devclass;
190
191static driver_t uslcom_driver = {
192 .name = "uslcom",
193 .methods = uslcom_methods,
194 .size = sizeof(struct uslcom_softc),
195};
196
197DRIVER_MODULE(uslcom, ushub, uslcom_driver, uslcom_devclass, NULL, 0);
197DRIVER_MODULE(uslcom, uhub, uslcom_driver, uslcom_devclass, NULL, 0);
198MODULE_DEPEND(uslcom, ucom, 1, 1, 1);
199MODULE_DEPEND(uslcom, usb, 1, 1, 1);
200MODULE_VERSION(uslcom, 1);
201
202static int
203uslcom_probe(device_t dev)
204{
205 struct usb2_attach_arg *uaa = device_get_ivars(dev);

--- 338 unchanged lines hidden ---
198MODULE_DEPEND(uslcom, ucom, 1, 1, 1);
199MODULE_DEPEND(uslcom, usb, 1, 1, 1);
200MODULE_VERSION(uslcom, 1);
201
202static int
203uslcom_probe(device_t dev)
204{
205 struct usb2_attach_arg *uaa = device_get_ivars(dev);

--- 338 unchanged lines hidden ---