Skip to contentSkip to conversation

alpha: Add support for BOTHER

PATCH In review Guenter Roeck 1 participant 2 messages Jun 15, 2015 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alpha: Add support for BOTHER

In -next, alpha:allmodconfig fails to build with

drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate':
drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared

This could be fixed on the user side, but it makes more sense to just define BOTHER.

Cc Marcel Holtmann <[email protected]>
---
 arch/alpha/include/uapi/asm/termbits.h | 1 +
 1 file changed, 1 insertion(+)
arch/alpha/include/uapi/asm/termbits.h +1 -0
index 879dd3589921..0d53d9e2633f 100644
@@ -147,6 +147,7 @@ struct ktermios {
 #define B3000000  00034
 #define B3500000  00035
 #define B4000000  00036
+#define   BOTHER  00037
 
 #define CSIZE	00001400
 #define   CS5	00000000
Signature · 1 line
2.1.0
#1 lore raw
Quoted 20 lines · Guenter Roeck

In -next, alpha:allmodconfig fails to build with

drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate':
drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared

This could be fixed on the user side, but it makes more sense to just define BOTHER.

Cc Marcel Holtmann <[email protected]>
---
  arch/alpha/include/uapi/asm/termbits.h | 1 +
  1 file changed, 1 insertion(+)
arch/alpha/include/uapi/asm/termbits.h +0 -0
index 879dd3589921..0d53d9e2633f 100644

arch/alpha/include/uapi/asm/termbits.h struct ktermios { · line 153

Quoted 7 lines
arch/alpha/include/uapi/asm/termbits.h +1 -0
@@ -147,6 +147,7 @@ struct ktermios {
  #define B3000000  00034
  #define B3500000  00035
  #define B4000000  00036
+#define   BOTHER  00037
 
  #define CSIZE	00001400
  #define   CS5	00000000

Forget about this one, I also need to define IBSHIFT.

Guenter