at91dci.c (187177) | at91dci.c (187183) |
---|---|
1#include <sys/cdefs.h> | 1#include <sys/cdefs.h> |
2__FBSDID("$FreeBSD: head/sys/dev/usb2/controller/at91dci.c 187177 2009-01-13 19:04:12Z thompsa $"); | 2__FBSDID("$FreeBSD: head/sys/dev/usb2/controller/at91dci.c 187183 2009-01-13 19:05:51Z thompsa $"); |
3 4/*- 5 * Copyright (c) 2007-2008 Hans Petter Selasky. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 1760 unchanged lines hidden (view full) --- 1771 1772static const struct usb2_hub_descriptor_min at91dci_hubd = { 1773 .bDescLength = sizeof(at91dci_hubd), 1774 .bDescriptorType = UDESC_HUB, 1775 .bNbrPorts = 1, 1776 .wHubCharacteristics[0] = 1777 (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) & 0xFF, 1778 .wHubCharacteristics[1] = | 3 4/*- 5 * Copyright (c) 2007-2008 Hans Petter Selasky. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 1760 unchanged lines hidden (view full) --- 1771 1772static const struct usb2_hub_descriptor_min at91dci_hubd = { 1773 .bDescLength = sizeof(at91dci_hubd), 1774 .bDescriptorType = UDESC_HUB, 1775 .bNbrPorts = 1, 1776 .wHubCharacteristics[0] = 1777 (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) & 0xFF, 1778 .wHubCharacteristics[1] = |
1779 (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) >> 16, | 1779 (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) >> 8, |
1780 .bPwrOn2PwrGood = 50, 1781 .bHubContrCurrent = 0, 1782 .DeviceRemovable = {0}, /* port is removable */ 1783}; 1784 1785#define STRING_LANG \ 1786 0x09, 0x04, /* American English */ 1787 --- 680 unchanged lines hidden --- | 1780 .bPwrOn2PwrGood = 50, 1781 .bHubContrCurrent = 0, 1782 .DeviceRemovable = {0}, /* port is removable */ 1783}; 1784 1785#define STRING_LANG \ 1786 0x09, 0x04, /* American English */ 1787 --- 680 unchanged lines hidden --- |