Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
uart_base.c
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 Lemote Inc.
3  * Author: Wu Zhangjin, [email protected]
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  */
10 
11 #include <linux/module.h>
12 #include <asm/bootinfo.h>
13 
14 #include <loongson.h>
15 
16 /* ioremapped */
17 unsigned long _loongson_uart_base;
19 /* raw */
20 unsigned long loongson_uart_base;
22 
24 {
25  switch (mips_machtype) {
26  case MACH_LEMOTE_FL2E:
28  break;
29  case MACH_LEMOTE_FL2F:
30  case MACH_LEMOTE_LL2F:
32  break;
33  case MACH_LEMOTE_ML2F7:
34  case MACH_LEMOTE_YL2F89:
36  case MACH_LEMOTE_NAS:
37  default:
38  /* The CPU provided serial port */
40  break;
41  }
42 
45 }