linux_usb.c (188942) | linux_usb.c (189275) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_compat_linux.c 188942 2009-02-23 18:31:00Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_compat_linux.c 189275 2009-03-02 05:37:05Z 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 --- 91 unchanged lines hidden (view full) --- 101static driver_t usb_linux_driver = { 102 .name = "usb_linux", 103 .methods = usb_linux_methods, 104 .size = sizeof(struct usb_linux_softc), 105}; 106 107static devclass_t usb_linux_devclass; 108 | 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 --- 91 unchanged lines hidden (view full) --- 101static driver_t usb_linux_driver = { 102 .name = "usb_linux", 103 .methods = usb_linux_methods, 104 .size = sizeof(struct usb_linux_softc), 105}; 106 107static devclass_t usb_linux_devclass; 108 |
109DRIVER_MODULE(usb_linux, ushub, usb_linux_driver, usb_linux_devclass, NULL, 0); | 109DRIVER_MODULE(usb_linux, uhub, usb_linux_driver, usb_linux_devclass, NULL, 0); |
110 111/*------------------------------------------------------------------------* 112 * usb_linux_lookup_id 113 * 114 * This functions takes an array of "struct usb_device_id" and tries 115 * to match the entries with the information in "struct usb2_attach_arg". 116 * If it finds a match the matching entry will be returned. 117 * Else "NULL" will be returned. --- 1536 unchanged lines hidden --- | 110 111/*------------------------------------------------------------------------* 112 * usb_linux_lookup_id 113 * 114 * This functions takes an array of "struct usb_device_id" and tries 115 * to match the entries with the information in "struct usb2_attach_arg". 116 * If it finds a match the matching entry will be returned. 117 * Else "NULL" will be returned. --- 1536 unchanged lines hidden --- |