Deleted Added
sdiff udiff text old ( 207080 ) new ( 212122 )
full compact
1/* $FreeBSD: head/sys/dev/usb/usb_compat_linux.c 207080 2010-04-22 22:15:08Z 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);
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 ---