Deleted Added
full compact
uss820dci.c (187173) uss820dci.c (187183)
1/* $FreeBSD: head/sys/dev/usb2/controller/uss820dci.c 187173 2009-01-13 19:03:12Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb2/controller/uss820dci.c 187183 2009-01-13 19:05:51Z thompsa $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky <hselasky@freebsd.org>
4 * 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

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

1789
1790static const struct usb2_hub_descriptor_min uss820dci_hubd = {
1791 .bDescLength = sizeof(uss820dci_hubd),
1792 .bDescriptorType = UDESC_HUB,
1793 .bNbrPorts = 1,
1794 .wHubCharacteristics[0] =
1795 (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) & 0xFF,
1796 .wHubCharacteristics[1] =
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky <hselasky@freebsd.org>
4 * 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

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

1789
1790static const struct usb2_hub_descriptor_min uss820dci_hubd = {
1791 .bDescLength = sizeof(uss820dci_hubd),
1792 .bDescriptorType = UDESC_HUB,
1793 .bNbrPorts = 1,
1794 .wHubCharacteristics[0] =
1795 (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) & 0xFF,
1796 .wHubCharacteristics[1] =
1797 (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) >> 16,
1797 (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) >> 8,
1798 .bPwrOn2PwrGood = 50,
1799 .bHubContrCurrent = 0,
1800 .DeviceRemovable = {0}, /* port is removable */
1801};
1802
1803#define STRING_LANG \
1804 0x09, 0x04, /* American English */
1805

--- 684 unchanged lines hidden ---
1798 .bPwrOn2PwrGood = 50,
1799 .bHubContrCurrent = 0,
1800 .DeviceRemovable = {0}, /* port is removable */
1801};
1802
1803#define STRING_LANG \
1804 0x09, 0x04, /* American English */
1805

--- 684 unchanged lines hidden ---