1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

Simplified the presentation of build date information and added a

command-line utility to retrieve it.

- fw/include/atspi/ep0.h, fw/atspi/ep0.c (my_setup): merged
  ATSPI_BUILD_NUMBER and ATSPI_BUILD_DATE into single ATSPI_BUILD
- fw/atspi/ep0.c (my_setup): added work-arounds for compiler bugs
- tools/atspi-id/Makefile, tools/atspi-id/atspi-id.c: command-line utility
  to query hardware and firmware version
This commit is contained in:
Werner Almesberger
2010-08-20 15:09:45 -03:00
parent 537c67598d
commit bb4b07f86a
4 changed files with 181 additions and 17 deletions

View File

@@ -18,9 +18,8 @@
* Direction bRequest wValue wIndex wLength
*
* ->host ATSPI_ID - - 3
* ->host ATSPI_BUILD - - #bytes
* host-> ATSPI_RESET - - 0
* ->host ATSPI_BUILD_NUMBER - - 2
* ->host ATSPI_BUILD_DATE - - #bytes
*
* host-> ATSPI_RF_RESET - -
*
@@ -61,9 +60,8 @@
enum atspi_requests {
ATSPI_ID = 0x00,
ATSPI_BUILD,
ATSPI_RESET,
ATSPI_BUILD_NUMBER,
ATSPI_BUILD_DATE,
ATSPI_RF_RESET = 0x10,
ATSPI_REG_WRITE = 0x20,
ATSPI_REG_READ,