Date:2010-08-20 08:00:27 (13 years 7 months ago)
Author:Werner Almesberger
Commit:537c67598dcd9a2503f86c80a5577b95171aa356
Message:More config rearranging: USB IDs are now in include/atspi/usb-ids.h, which common/config.h includes.

Files: fw/common/config.h (1 diff)
fw/include/atspi/usb-ids.h (1 diff)

Change Details

fw/common/config.h
1515
1616#include "io.h"
1717#include "io-parts.h"
18
19
20/*
21 * Platform-specific settings
22 *
23 * USB_VENDOR = Qi Hardware
24 * USB_PRODUCT = 802.15.4, device 0
25 * -- - -
26 */
27
28#define USB_VENDOR 0x20b7
29#define USB_PRODUCT 0x1540
18#include "atspi/usb-ids.h"
3019
3120
3221/* ----- Boot loader configuration ----------------------------------------- */
fw/include/atspi/usb-ids.h
1/*
2 * include/atspi/usb-ids.h - USB vendor and product IDs
3 *
4 * Written 2009, 2010 by Werner Almesberger
5 * Copyright 2009, 2010 Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13
14#ifndef USB_IDS_H
15#define USB_IDS_H
16
17/*
18 * Platform-specific settings
19 *
20 * USB_VENDOR = Qi Hardware
21 * USB_PRODUCT = 802.15.4, device 0
22 * -- - -
23 */
24
25#define USB_VENDOR 0x20b7 /* Qi Hardware */
26#define USB_PRODUCT 0x1540 /* ben-wpan, AT86RF230-based */
27
28#endif /* !USB_IDS_H */

Archive Download the corresponding diff file



interactive