+#define MAX_SPEED 17
+ { .sp_speed = 115200, .sp_code = 17 },
+ { .sp_speed = 57600, .sp_code = 16 },
+ { .sp_speed = 38400, .sp_code = 15 },
+ { .sp_speed = 19200, .sp_code = 14 },
+ { .sp_speed = 9600, .sp_code = 13 },
+ { .sp_speed = 4800, .sp_code = 12 },
+ { .sp_speed = 2400, .sp_code = 11 },
+ { .sp_speed = 1800, .sp_code = 10 },
+ { .sp_speed = 1200, .sp_code = 9 },
+ { .sp_speed = 600, .sp_code = 8 },
+ { .sp_speed = 300, .sp_code = 7 },
+ { .sp_speed = 200, .sp_code = 6 },
+ { .sp_speed = 150, .sp_code = 5 },
+ { .sp_speed = 134, .sp_code = 4 },
+ { .sp_speed = 110, .sp_code = 3 },
+ { .sp_speed = 75, .sp_code = 2 },
+ { .sp_speed = 50, .sp_code = 1 },
+ { .sp_speed = 0, .sp_code = 0 },
+ { .sp_speed = -1, .sp_code = -1 },