Deleted Added
full compact
usb_compat_linux.c (207080) usb_compat_linux.c (212122)
1/* $FreeBSD: head/sys/dev/usb/usb_compat_linux.c 207080 2010-04-22 22:15:08Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/usb_compat_linux.c 212122 2010-09-01 23:47:53Z thompsa $ */
2/*-
3 * Copyright (c) 2007 Luigi Rizzo - Universita` di Pisa. All rights reserved.
4 * Copyright (c) 2007 Hans Petter Selasky. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

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

117 .name = "usb_linux",
118 .methods = usb_linux_methods,
119 .size = sizeof(struct usb_linux_softc),
120};
121
122static devclass_t usb_linux_devclass;
123
124DRIVER_MODULE(usb_linux, uhub, usb_linux_driver, usb_linux_devclass, NULL, 0);
2/*-
3 * Copyright (c) 2007 Luigi Rizzo - Universita` di Pisa. All rights reserved.
4 * Copyright (c) 2007 Hans Petter Selasky. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

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

117 .name = "usb_linux",
118 .methods = usb_linux_methods,
119 .size = sizeof(struct usb_linux_softc),
120};
121
122static devclass_t usb_linux_devclass;
123
124DRIVER_MODULE(usb_linux, uhub, usb_linux_driver, usb_linux_devclass, NULL, 0);
125MODULE_VERSION(usb_linux, 1);
125
126/*------------------------------------------------------------------------*
127 * usb_linux_lookup_id
128 *
129 * This functions takes an array of "struct usb_device_id" and tries
130 * to match the entries with the information in "struct usb_attach_arg".
131 * If it finds a match the matching entry will be returned.
132 * Else "NULL" will be returned.

--- 1600 unchanged lines hidden ---
126
127/*------------------------------------------------------------------------*
128 * usb_linux_lookup_id
129 *
130 * This functions takes an array of "struct usb_device_id" and tries
131 * to match the entries with the information in "struct usb_attach_arg".
132 * If it finds a match the matching entry will be returned.
133 * Else "NULL" will be returned.

--- 1600 unchanged lines hidden ---