Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
ac2384a8
Commit
ac2384a8
authored
19 years ago
by
Ralf Baechle
Browse files
Options
Download
Email Patches
Plain Diff
[MIPS] it8172: Fix build of serial driver.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
ed00e87f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
include/asm-mips/serial.h
include/asm-mips/serial.h
+6
-6
No files found.
include/asm-mips/serial.h
View file @
ac2384a8
...
...
@@ -77,15 +77,15 @@
#include <asm/it8712.h>
#define ITE_SERIAL_PORT_DEFNS \
{ .baud_base = BASE_BAUD, .port = (IT8172_PCI_IO_BASE + IT_UART_BASE), \
.irq = IT8172_UART_IRQ, .flags = STD_COM_FLAGS, .
type = 0x3
}, \
.irq = IT8172_UART_IRQ, .flags = STD_COM_FLAGS, .
port = PORT_16550
}, \
{ .baud_base = (24000000/(16*13)), .port = (IT8172_PCI_IO_BASE + IT8712_UART1_PORT), \
.irq = IT8172_SERIRQ_4, .flags = STD_COM_FLAGS, .
type = 0x3
}, \
.irq = IT8172_SERIRQ_4, .flags = STD_COM_FLAGS, .
port = PORT_16550
}, \
/* Smart Card Reader 0 */
\
{ .baud_base = BASE_BAUD, .port = (IT8172_PCI_IO_BASE + IT_SCR0_BASE), \
.irq = IT8172_SCR0_IRQ, .flags = STD_COM_FLAGS, .
type = 0x3
}, \
.irq = IT8172_SCR0_IRQ, .flags = STD_COM_FLAGS, .
port = PORT_16550
}, \
/* Smart Card Reader 1 */
\
{ .baud_base = BASE_BAUD, .port = (IT8172_PCI_IO_BASE + IT_SCR1_BASE), \
.irq = IT8172_SCR1_IRQ, .flags = STD_COM_FLAGS, .
type = 0x3
},
.irq = IT8172_SCR1_IRQ, .flags = STD_COM_FLAGS, .
port = PORT_16550
},
#else
#define ITE_SERIAL_PORT_DEFNS
#endif
...
...
@@ -95,10 +95,10 @@
#include <asm/it8172/it8172_int.h>
#define IVR_SERIAL_PORT_DEFNS \
{ .baud_base = BASE_BAUD, .port = (IT8172_PCI_IO_BASE + IT_UART_BASE), \
.irq = IT8172_UART_IRQ, .flags = STD_COM_FLAGS, .
type = 0x3
}, \
.irq = IT8172_UART_IRQ, .flags = STD_COM_FLAGS, .
port = PORT_16550
}, \
/* Smart Card Reader 1 */
\
{ .baud_base = BASE_BAUD, .port = (IT8172_PCI_IO_BASE + IT_SCR1_BASE), \
.irq = IT8172_SCR1_IRQ, .flags = STD_COM_FLAGS, .
type = 0x3
},
.irq = IT8172_SCR1_IRQ, .flags = STD_COM_FLAGS, .
port = PORT_16550
},
#else
#define IVR_SERIAL_PORT_DEFNS
#endif
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment