usb_core.c (184610) | usb_core.c (188942) |
---|---|
1/* $FreeBSD: head/sys/dev/usb2/core/usb2_core.c 184610 2008-11-04 02:31:03Z alfred $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_core.c 188942 2009-02-23 18:31:00Z thompsa $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 15 unchanged lines hidden (view full) --- 25 */ 26 27/* 28 * USB specifications and other documentation can be found at 29 * http://www.usb.org/developers/docs/ and 30 * http://www.usb.org/developers/devclass_docs/ 31 */ 32 | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 15 unchanged lines hidden (view full) --- 25 */ 26 27/* 28 * USB specifications and other documentation can be found at 29 * http://www.usb.org/developers/docs/ and 30 * http://www.usb.org/developers/devclass_docs/ 31 */ 32 |
33#include <dev/usb2/core/usb2_core.h> 34#include <dev/usb2/core/usb2_mbuf.h> | 33#include <dev/usb/usb_core.h> 34#include <dev/usb/usb_mbuf.h> |
35 36MALLOC_DEFINE(M_USB, "USB", "USB"); 37MALLOC_DEFINE(M_USBDEV, "USBdev", "USB device"); 38MALLOC_DEFINE(M_USBHC, "USBHC", "USB host controller"); 39 | 35 36MALLOC_DEFINE(M_USB, "USB", "USB"); 37MALLOC_DEFINE(M_USBDEV, "USBdev", "USB device"); 38MALLOC_DEFINE(M_USBHC, "USBHC", "USB host controller"); 39 |
40MODULE_VERSION(usb2_core, 1); | 40MODULE_VERSION(usb, 1); |