summaryrefslogtreecommitdiff
path: root/util/sconfig/lex.yy.c_shipped
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2022-11-02 15:57:10 +0100
committerMartin L Roth <gaumless@gmail.com>2022-11-24 05:53:55 +0000
commit67f63e768d8860ebc6bae5987e2d928efabcf7c4 (patch)
tree79b4434bbc318750dc4e3ba45436277aefb27c27 /util/sconfig/lex.yy.c_shipped
parent66e44e325278f8a4b4227eb7d1c5d6c56e1686cd (diff)
src/device + util/sconfig: Introduce new device 'mdio'
This patch extends the available device paths with a new device 'mdio'. MDIO is the 'Management Data Input/Output' called interface which is used to access an Ethernet PHY behind a MAC to change settings. The real payload data path is not handled by this interface. To address the PHY correctly on the MDIO bus, there is a 5 bit address needed, which often can be configured via pins on the mainboard. Therefore, the new introduced device has an 'addr' field to define its address. If one wants to use a MDIO device in devicetree, the syntax is straight forward (example): device mdio 0x2 on end As the MDIO interface is driven by the MAC, most likely this MDIO device will be hooked in as a child device of the (PCI attached) MAC device. With the new introduced ops_mdio a new interface is added to provide an API for read and write access over MDIO. Change-Id: I6691f92c4233bc30afc9029840b06f74bb1eb4b2 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69382 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/sconfig/lex.yy.c_shipped')
-rw-r--r--util/sconfig/lex.yy.c_shipped331
1 files changed, 168 insertions, 163 deletions
diff --git a/util/sconfig/lex.yy.c_shipped b/util/sconfig/lex.yy.c_shipped
index 3e2bb158c5..479366d3c3 100644
--- a/util/sconfig/lex.yy.c_shipped
+++ b/util/sconfig/lex.yy.c_shipped
@@ -349,8 +349,8 @@ static void yynoreturn yy_fatal_error ( const char* msg );
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
-#define YY_NUM_RULES 51
-#define YY_END_OF_BUFFER 52
+#define YY_NUM_RULES 52
+#define YY_END_OF_BUFFER 53
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
@@ -358,31 +358,32 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static const flex_int16_t yy_accept[211] =
+static const flex_int16_t yy_accept[214] =
{ 0,
- 0, 0, 52, 50, 1, 3, 50, 50, 50, 45,
- 45, 42, 46, 50, 46, 46, 46, 46, 46, 50,
- 50, 50, 50, 50, 50, 50, 50, 50, 50, 43,
- 50, 1, 3, 50, 0, 50, 50, 0, 2, 45,
- 46, 50, 50, 50, 10, 50, 50, 46, 50, 50,
- 50, 50, 50, 50, 50, 50, 50, 50, 35, 50,
- 50, 50, 50, 50, 16, 50, 50, 50, 50, 50,
- 50, 50, 50, 50, 49, 49, 50, 0, 44, 50,
- 50, 50, 26, 50, 50, 34, 39, 50, 50, 50,
- 50, 50, 23, 50, 50, 33, 50, 50, 50, 17,
-
- 7, 50, 20, 22, 50, 9, 50, 50, 30, 50,
- 31, 8, 50, 0, 47, 50, 4, 50, 50, 50,
- 50, 50, 50, 32, 50, 50, 50, 50, 50, 29,
- 50, 50, 50, 50, 50, 48, 48, 6, 50, 50,
- 50, 13, 50, 50, 50, 50, 50, 24, 50, 50,
- 15, 50, 50, 50, 50, 5, 27, 50, 50, 18,
- 50, 21, 50, 14, 50, 50, 50, 50, 50, 28,
- 37, 50, 50, 50, 50, 50, 50, 50, 50, 50,
- 11, 50, 50, 50, 50, 12, 50, 19, 50, 50,
- 50, 50, 36, 50, 50, 50, 25, 50, 50, 38,
-
- 50, 50, 50, 50, 50, 50, 41, 50, 40, 0
+ 0, 0, 53, 51, 1, 3, 51, 51, 51, 46,
+ 46, 43, 47, 51, 47, 47, 47, 47, 47, 51,
+ 51, 51, 51, 51, 51, 51, 51, 51, 51, 44,
+ 51, 1, 3, 51, 0, 51, 51, 0, 2, 46,
+ 47, 51, 51, 51, 10, 51, 51, 47, 51, 51,
+ 51, 51, 51, 51, 51, 51, 51, 51, 36, 51,
+ 51, 51, 51, 51, 51, 16, 51, 51, 51, 51,
+ 51, 51, 51, 51, 51, 50, 50, 51, 0, 45,
+ 51, 51, 51, 26, 51, 51, 35, 40, 51, 51,
+ 51, 51, 51, 23, 51, 51, 34, 51, 51, 51,
+
+ 51, 17, 7, 51, 20, 22, 51, 9, 51, 51,
+ 30, 51, 31, 8, 51, 0, 48, 51, 4, 51,
+ 51, 51, 51, 51, 51, 32, 51, 51, 51, 51,
+ 51, 33, 29, 51, 51, 51, 51, 51, 49, 49,
+ 6, 51, 51, 51, 13, 51, 51, 51, 51, 51,
+ 24, 51, 51, 15, 51, 51, 51, 51, 5, 27,
+ 51, 51, 18, 51, 21, 51, 14, 51, 51, 51,
+ 51, 51, 28, 38, 51, 51, 51, 51, 51, 51,
+ 51, 51, 51, 11, 51, 51, 51, 51, 12, 51,
+ 19, 51, 51, 51, 51, 37, 51, 51, 51, 25,
+
+ 51, 51, 39, 51, 51, 51, 51, 51, 51, 42,
+ 51, 41, 0
} ;
static const YY_CHAR yy_ec[256] =
@@ -425,140 +426,140 @@ static const YY_CHAR yy_meta[41] =
1, 1, 1, 1, 1, 1, 1, 1, 1, 1
} ;
-static const flex_int16_t yy_base[218] =
+static const flex_int16_t yy_base[221] =
{ 0,
- 0, 0, 283, 0, 280, 284, 278, 39, 43, 40,
- 242, 0, 46, 265, 56, 60, 64, 67, 72, 56,
- 253, 74, 260, 39, 70, 59, 255, 77, 242, 0,
- 0, 272, 284, 108, 268, 112, 116, 269, 284, 0,
- 113, 116, 256, 245, 0, 244, 233, 122, 240, 235,
- 245, 243, 247, 234, 236, 240, 240, 234, 240, 225,
- 225, 226, 228, 230, 0, 106, 226, 220, 220, 119,
- 230, 222, 228, 87, 0, 284, 141, 240, 0, 233,
- 226, 212, 225, 215, 222, 0, 0, 212, 218, 215,
- 206, 214, 0, 212, 202, 0, 206, 210, 200, 0,
-
- 0, 203, 0, 0, 209, 0, 201, 200, 0, 191,
- 0, 0, 218, 217, 0, 188, 0, 201, 200, 193,
- 197, 187, 183, 0, 193, 181, 187, 192, 193, 0,
- 180, 187, 174, 177, 166, 0, 284, 0, 178, 182,
- 174, 0, 173, 175, 171, 173, 178, 0, 162, 167,
- 0, 160, 160, 159, 156, 0, 0, 168, 170, 0,
- 154, 171, 157, 0, 164, 168, 149, 149, 156, 0,
- 0, 155, 147, 146, 68, 156, 142, 152, 142, 134,
- 0, 151, 145, 130, 135, 0, 124, 0, 118, 124,
- 127, 119, 0, 134, 115, 128, 0, 122, 129, 0,
-
- 104, 106, 94, 78, 65, 37, 0, 31, 0, 284,
- 42, 158, 160, 162, 164, 166, 168
+ 0, 0, 286, 0, 283, 287, 281, 39, 43, 40,
+ 245, 0, 46, 268, 56, 60, 64, 67, 72, 56,
+ 256, 74, 263, 71, 77, 82, 258, 81, 245, 0,
+ 0, 275, 287, 110, 271, 115, 119, 272, 287, 0,
+ 116, 119, 259, 248, 0, 247, 236, 125, 243, 238,
+ 248, 246, 250, 237, 239, 243, 243, 237, 243, 228,
+ 228, 229, 231, 230, 232, 0, 109, 228, 222, 222,
+ 122, 232, 224, 230, 128, 0, 287, 145, 242, 0,
+ 235, 228, 214, 227, 217, 224, 0, 0, 214, 220,
+ 217, 208, 216, 0, 214, 204, 0, 208, 212, 202,
+
+ 201, 0, 0, 204, 0, 0, 210, 0, 202, 201,
+ 0, 192, 0, 0, 219, 218, 0, 189, 0, 202,
+ 201, 194, 198, 188, 184, 0, 194, 182, 188, 193,
+ 194, 0, 0, 181, 188, 175, 178, 167, 0, 287,
+ 0, 179, 183, 175, 0, 174, 176, 172, 174, 179,
+ 0, 163, 168, 0, 161, 161, 160, 157, 0, 0,
+ 169, 171, 0, 155, 172, 158, 0, 165, 169, 150,
+ 150, 157, 0, 0, 156, 148, 147, 23, 157, 143,
+ 153, 143, 135, 0, 139, 133, 131, 136, 0, 125,
+ 0, 119, 125, 128, 120, 0, 135, 101, 109, 0,
+
+ 94, 88, 0, 72, 74, 70, 66, 49, 37, 0,
+ 47, 0, 287, 49, 161, 163, 165, 167, 169, 171
} ;
-static const flex_int16_t yy_def[218] =
+static const flex_int16_t yy_def[221] =
{ 0,
- 210, 1, 210, 211, 210, 210, 211, 212, 213, 211,
- 10, 211, 10, 211, 10, 10, 10, 10, 10, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 210, 210, 212, 214, 215, 213, 216, 210, 10,
- 10, 10, 211, 211, 211, 211, 211, 10, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 210, 215, 217, 42, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
-
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 210, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 210, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 211,
-
- 211, 211, 211, 211, 211, 211, 211, 211, 211, 0,
- 210, 210, 210, 210, 210, 210, 210
+ 213, 1, 213, 214, 213, 213, 214, 215, 216, 214,
+ 10, 214, 10, 214, 10, 10, 10, 10, 10, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 213, 213, 215, 217, 218, 216, 219, 213, 10,
+ 10, 10, 214, 214, 214, 214, 214, 10, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 213, 218, 220, 42,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 213, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 213,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+
+ 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
+ 214, 214, 0, 213, 213, 213, 213, 213, 213, 213
} ;
-static const flex_int16_t yy_nxt[325] =
+static const flex_int16_t yy_nxt[328] =
{ 0,
4, 5, 6, 7, 8, 9, 10, 11, 10, 12,
13, 13, 14, 4, 4, 4, 15, 13, 16, 17,
18, 19, 20, 21, 22, 23, 24, 4, 25, 26,
4, 27, 28, 4, 29, 4, 4, 4, 4, 30,
- 35, 35, 31, 36, 38, 39, 40, 40, 40, 209,
- 41, 41, 41, 41, 41, 62, 41, 41, 41, 41,
- 41, 41, 41, 41, 41, 63, 41, 41, 41, 208,
- 41, 41, 41, 41, 41, 41, 54, 67, 41, 41,
- 41, 44, 57, 46, 48, 55, 68, 182, 45, 47,
- 69, 64, 49, 207, 51, 50, 52, 65, 206, 66,
-
- 183, 58, 59, 71, 111, 60, 72, 112, 53, 35,
- 35, 73, 75, 78, 78, 205, 31, 38, 39, 41,
- 41, 41, 79, 79, 79, 204, 79, 79, 41, 41,
- 41, 203, 79, 79, 79, 79, 79, 79, 101, 102,
- 106, 107, 78, 78, 202, 113, 201, 200, 199, 198,
- 197, 196, 195, 194, 193, 192, 191, 84, 34, 34,
- 37, 37, 35, 35, 77, 77, 38, 38, 78, 78,
- 190, 189, 188, 187, 186, 185, 184, 181, 180, 179,
- 178, 177, 176, 175, 174, 173, 172, 171, 170, 169,
- 168, 167, 166, 165, 164, 163, 162, 161, 160, 159,
-
- 158, 157, 156, 155, 154, 153, 152, 151, 150, 149,
- 148, 147, 146, 145, 144, 143, 142, 141, 140, 139,
- 138, 137, 136, 135, 134, 133, 132, 131, 130, 129,
- 128, 127, 126, 125, 124, 123, 122, 121, 120, 119,
- 118, 117, 116, 115, 114, 110, 109, 108, 105, 104,
- 103, 100, 99, 98, 97, 96, 95, 94, 93, 92,
- 91, 90, 89, 88, 87, 86, 85, 83, 82, 81,
- 80, 39, 76, 32, 74, 70, 61, 56, 43, 42,
- 33, 32, 210, 3, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
-
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210
+ 35, 35, 185, 36, 38, 39, 40, 40, 40, 31,
+ 41, 41, 41, 41, 41, 186, 41, 41, 41, 41,
+ 41, 41, 41, 41, 41, 212, 41, 41, 41, 211,
+ 41, 41, 41, 41, 41, 41, 54, 210, 41, 41,
+ 41, 44, 57, 46, 48, 55, 209, 62, 45, 47,
+ 63, 208, 49, 207, 51, 50, 52, 64, 65, 206,
+
+ 68, 58, 59, 205, 66, 60, 67, 72, 53, 69,
+ 73, 35, 35, 70, 76, 74, 79, 79, 204, 31,
+ 38, 39, 41, 41, 41, 80, 80, 80, 203, 80,
+ 80, 41, 41, 41, 202, 80, 80, 80, 80, 80,
+ 80, 103, 104, 108, 109, 113, 79, 79, 114, 115,
+ 201, 200, 199, 198, 197, 196, 195, 194, 193, 192,
+ 85, 34, 34, 37, 37, 35, 35, 78, 78, 38,
+ 38, 79, 79, 191, 190, 189, 188, 187, 184, 183,
+ 182, 181, 180, 179, 178, 177, 176, 175, 174, 173,
+ 172, 171, 170, 169, 168, 167, 166, 165, 164, 163,
+
+ 162, 161, 160, 159, 158, 157, 156, 155, 154, 153,
+ 152, 151, 150, 149, 148, 147, 146, 145, 144, 143,
+ 142, 141, 140, 139, 138, 137, 136, 135, 134, 133,
+ 132, 131, 130, 129, 128, 127, 126, 125, 124, 123,
+ 122, 121, 120, 119, 118, 117, 116, 112, 111, 110,
+ 107, 106, 105, 102, 101, 100, 99, 98, 97, 96,
+ 95, 94, 93, 92, 91, 90, 89, 88, 87, 86,
+ 84, 83, 82, 81, 39, 77, 32, 75, 71, 61,
+ 56, 43, 42, 33, 32, 213, 3, 213, 213, 213,
+ 213, 213, 213, 213, 213, 213, 213, 213, 213, 213,
+
+ 213, 213, 213, 213, 213, 213, 213, 213, 213, 213,
+ 213, 213, 213, 213, 213, 213, 213, 213, 213, 213,
+ 213, 213, 213, 213, 213, 213, 213
} ;
-static const flex_int16_t yy_chk[325] =
+static const flex_int16_t yy_chk[328] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 8, 8, 211, 8, 9, 9, 10, 10, 10, 208,
- 10, 10, 13, 13, 13, 24, 10, 10, 10, 10,
- 10, 10, 15, 15, 15, 24, 16, 16, 16, 206,
- 17, 17, 17, 18, 18, 18, 20, 26, 19, 19,
- 19, 15, 22, 16, 17, 20, 26, 175, 15, 16,
- 26, 25, 17, 205, 18, 17, 19, 25, 204, 25,
-
- 175, 22, 22, 28, 74, 22, 28, 74, 19, 34,
- 34, 28, 34, 36, 36, 203, 36, 37, 37, 41,
- 41, 41, 42, 42, 42, 202, 42, 42, 48, 48,
- 48, 201, 42, 42, 42, 42, 42, 42, 66, 66,
- 70, 70, 77, 77, 199, 77, 198, 196, 195, 194,
- 192, 191, 190, 189, 187, 185, 184, 48, 212, 212,
- 213, 213, 214, 214, 215, 215, 216, 216, 217, 217,
- 183, 182, 180, 179, 178, 177, 176, 174, 173, 172,
- 169, 168, 167, 166, 165, 163, 162, 161, 159, 158,
- 155, 154, 153, 152, 150, 149, 147, 146, 145, 144,
-
- 143, 141, 140, 139, 135, 134, 133, 132, 131, 129,
- 128, 127, 126, 125, 123, 122, 121, 120, 119, 118,
- 116, 114, 113, 110, 108, 107, 105, 102, 99, 98,
- 97, 95, 94, 92, 91, 90, 89, 88, 85, 84,
- 83, 82, 81, 80, 78, 73, 72, 71, 69, 68,
- 67, 64, 63, 62, 61, 60, 59, 58, 57, 56,
- 55, 54, 53, 52, 51, 50, 49, 47, 46, 44,
- 43, 38, 35, 32, 29, 27, 23, 21, 14, 11,
- 7, 5, 3, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
-
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210
+ 8, 8, 178, 8, 9, 9, 10, 10, 10, 214,
+ 10, 10, 13, 13, 13, 178, 10, 10, 10, 10,
+ 10, 10, 15, 15, 15, 211, 16, 16, 16, 209,
+ 17, 17, 17, 18, 18, 18, 20, 208, 19, 19,
+ 19, 15, 22, 16, 17, 20, 207, 24, 15, 16,
+ 24, 206, 17, 205, 18, 17, 19, 24, 25, 204,
+
+ 26, 22, 22, 202, 25, 22, 25, 28, 19, 26,
+ 28, 34, 34, 26, 34, 28, 36, 36, 201, 36,
+ 37, 37, 41, 41, 41, 42, 42, 42, 199, 42,
+ 42, 48, 48, 48, 198, 42, 42, 42, 42, 42,
+ 42, 67, 67, 71, 71, 75, 78, 78, 75, 78,
+ 197, 195, 194, 193, 192, 190, 188, 187, 186, 185,
+ 48, 215, 215, 216, 216, 217, 217, 218, 218, 219,
+ 219, 220, 220, 183, 182, 181, 180, 179, 177, 176,
+ 175, 172, 171, 170, 169, 168, 166, 165, 164, 162,
+ 161, 158, 157, 156, 155, 153, 152, 150, 149, 148,
+
+ 147, 146, 144, 143, 142, 138, 137, 136, 135, 134,
+ 131, 130, 129, 128, 127, 125, 124, 123, 122, 121,
+ 120, 118, 116, 115, 112, 110, 109, 107, 104, 101,
+ 100, 99, 98, 96, 95, 93, 92, 91, 90, 89,
+ 86, 85, 84, 83, 82, 81, 79, 74, 73, 72,
+ 70, 69, 68, 65, 64, 63, 62, 61, 60, 59,
+ 58, 57, 56, 55, 54, 53, 52, 51, 50, 49,
+ 47, 46, 44, 43, 38, 35, 32, 29, 27, 23,
+ 21, 14, 11, 7, 5, 3, 213, 213, 213, 213,
+ 213, 213, 213, 213, 213, 213, 213, 213, 213, 213,
+
+ 213, 213, 213, 213, 213, 213, 213, 213, 213, 213,
+ 213, 213, 213, 213, 213, 213, 213, 213, 213, 213,
+ 213, 213, 213, 213, 213, 213, 213
} ;
static yy_state_type yy_last_accepting_state;
@@ -823,13 +824,13 @@ yy_match:
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 211 )
+ if ( yy_current_state >= 214 )
yy_c = yy_meta[yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
++yy_cp;
}
- while ( yy_base[yy_current_state] != 284 );
+ while ( yy_base[yy_current_state] != 287 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
@@ -985,51 +986,51 @@ YY_RULE_SETUP
YY_BREAK
case 33:
YY_RULE_SETUP
-{yylval.number=IRQ; return(RESOURCE);}
+{yylval.number=MDIO; return(BUS);}
YY_BREAK
case 34:
YY_RULE_SETUP
-{yylval.number=DRQ; return(RESOURCE);}
+{yylval.number=IRQ; return(RESOURCE);}
YY_BREAK
case 35:
YY_RULE_SETUP
-{yylval.number=IO; return(RESOURCE);}
+{yylval.number=DRQ; return(RESOURCE);}
YY_BREAK
case 36:
YY_RULE_SETUP
-{return(IOAPIC_IRQ);}
+{yylval.number=IO; return(RESOURCE);}
YY_BREAK
case 37:
YY_RULE_SETUP
-{return(INHERIT);}
+{return(IOAPIC_IRQ);}
YY_BREAK
case 38:
YY_RULE_SETUP
-{return(SUBSYSTEMID);}
+{return(INHERIT);}
YY_BREAK
case 39:
YY_RULE_SETUP
-{return(END);}
+{return(SUBSYSTEMID);}
YY_BREAK
case 40:
YY_RULE_SETUP
-{return(SLOT_DESC);}
+{return(END);}
YY_BREAK
case 41:
YY_RULE_SETUP
-{return(SMBIOS_DEV_INFO);}
+{return(SLOT_DESC);}
YY_BREAK
case 42:
YY_RULE_SETUP
-{return(EQUALS);}
+{return(SMBIOS_DEV_INFO);}
YY_BREAK
case 43:
YY_RULE_SETUP
-{return(PIPE);}
+{return(EQUALS);}
YY_BREAK
case 44:
YY_RULE_SETUP
-{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
+{return(PIPE);}
YY_BREAK
case 45:
YY_RULE_SETUP
@@ -1041,12 +1042,11 @@ YY_RULE_SETUP
YY_BREAK
case 47:
YY_RULE_SETUP
-{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(PCIINT);}
+{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
YY_BREAK
case 48:
-/* rule 48 can match eol */
YY_RULE_SETUP
-{yylval.string = malloc(yyleng-1); strncpy(yylval.string, yytext+1, yyleng-2); yylval.string[yyleng-2]='\0'; return(STRING);}
+{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(PCIINT);}
YY_BREAK
case 49:
/* rule 49 can match eol */
@@ -1054,11 +1054,16 @@ YY_RULE_SETUP
{yylval.string = malloc(yyleng-1); strncpy(yylval.string, yytext+1, yyleng-2); yylval.string[yyleng-2]='\0'; return(STRING);}
YY_BREAK
case 50:
+/* rule 50 can match eol */
YY_RULE_SETUP
-{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(STRING);}
+{yylval.string = malloc(yyleng-1); strncpy(yylval.string, yytext+1, yyleng-2); yylval.string[yyleng-2]='\0'; return(STRING);}
YY_BREAK
case 51:
YY_RULE_SETUP
+{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(STRING);}
+ YY_BREAK
+case 52:
+YY_RULE_SETUP
ECHO;
YY_BREAK
case YY_STATE_EOF(INITIAL):
@@ -1357,7 +1362,7 @@ static int yy_get_next_buffer (void)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 211 )
+ if ( yy_current_state >= 214 )
yy_c = yy_meta[yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
@@ -1385,11 +1390,11 @@ static int yy_get_next_buffer (void)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 211 )
+ if ( yy_current_state >= 214 )
yy_c = yy_meta[yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
- yy_is_jam = (yy_current_state == 210);
+ yy_is_jam = (yy_current_state == 213);
return yy_is_jam ? 0 : yy_current_state;
}