Subversion Repositories freemyipod

Rev

Rev 704 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 704 Rev 756
Line 116... Line 116...
116
 
116
 
117
extern int _poolstart;   // These aren't ints at all, but gcc complains about void types being
117
extern int _poolstart;   // These aren't ints at all, but gcc complains about void types being
118
extern int _poolend;     // used here, and we only need the address, so just make it happy...
118
extern int _poolend;     // used here, and we only need the address, so just make it happy...
119
 
119
 
120
 
120
 
121
static struct usb_device_descriptor CACHEALIGN_ATTR device_descriptor =
121
static struct usb_device_descriptor device_descriptor CACHEALIGN_ATTR =
122
{
122
{
123
    .bLength            = sizeof(struct usb_device_descriptor),
123
    .bLength            = sizeof(struct usb_device_descriptor),
124
    .bDescriptorType    = USB_DT_DEVICE,
124
    .bDescriptorType    = USB_DT_DEVICE,
125
    .bcdUSB             = 0x0200,
125
    .bcdUSB             = 0x0200,
126
    .bDeviceClass       = USB_CLASS_VENDOR_SPEC,
126
    .bDeviceClass       = USB_CLASS_VENDOR_SPEC,
Line 142... Line 142...
142
    struct usb_interface_descriptor interface_descriptor;
142
    struct usb_interface_descriptor interface_descriptor;
143
    struct usb_endpoint_descriptor endpoint1_descriptor;
143
    struct usb_endpoint_descriptor endpoint1_descriptor;
144
    struct usb_endpoint_descriptor endpoint2_descriptor;
144
    struct usb_endpoint_descriptor endpoint2_descriptor;
145
    struct usb_endpoint_descriptor endpoint3_descriptor;
145
    struct usb_endpoint_descriptor endpoint3_descriptor;
146
    struct usb_endpoint_descriptor endpoint4_descriptor;
146
    struct usb_endpoint_descriptor endpoint4_descriptor;
147
} __attribute__((packed)) CACHEALIGN_ATTR config_bundle = 
147
} __attribute__((packed)) config_bundle CACHEALIGN_ATTR = 
148
{
148
{
149
    .config_descriptor =
149
    .config_descriptor =
150
    {
150
    {
151
        .bLength             = sizeof(struct usb_config_descriptor),
151
        .bLength             = sizeof(struct usb_config_descriptor),
152
        .bDescriptorType     = USB_DT_CONFIG,
152
        .bDescriptorType     = USB_DT_CONFIG,
Line 207... Line 207...
207
        .wMaxPacketSize      = 0,
207
        .wMaxPacketSize      = 0,
208
        .bInterval           = 1
208
        .bInterval           = 1
209
    }
209
    }
210
};
210
};
211
 
211
 
212
static struct usb_string_descriptor CACHEALIGN_ATTR string_vendor =
212
static struct usb_string_descriptor string_vendor CACHEALIGN_ATTR =
213
{
213
{
214
    30,
214
    30,
215
    USB_DT_STRING,
215
    USB_DT_STRING,
216
    {'f', 'r', 'e', 'e', 'm', 'y', 'i', 'p', 'o', 'd', '.', 'o', 'r', 'g'}
216
    {'f', 'r', 'e', 'e', 'm', 'y', 'i', 'p', 'o', 'd', '.', 'o', 'r', 'g'}
217
};
217
};
218
 
218
 
219
static struct usb_string_descriptor CACHEALIGN_ATTR string_product =
219
static struct usb_string_descriptor string_product CACHEALIGN_ATTR =
220
{
220
{
221
    32,
221
    32,
222
    USB_DT_STRING,
222
    USB_DT_STRING,
223
    {'e', 'm', 'C', 'O', 'R', 'E', ' ', 'D', 'e', 'b', 'u', 'g', 'g', 'e', 'r'}
223
    {'e', 'm', 'C', 'O', 'R', 'E', ' ', 'D', 'e', 'b', 'u', 'g', 'g', 'e', 'r'}
224
};
224
};
225
 
225
 
226
static const struct usb_string_descriptor CACHEALIGN_ATTR lang_descriptor =
226
static const struct usb_string_descriptor lang_descriptor CACHEALIGN_ATTR =
227
{
227
{
228
    4,
228
    4,
229
    USB_DT_STRING,
229
    USB_DT_STRING,
230
    {0x0409}
230
    {0x0409}
231
};
231
};