Lines 58-70
static unsigned int nr_uarts = CONFIG_SERIAL_8250_RUNTIME_UARTS;
Link Here
|
58 |
/* |
58 |
/* |
59 |
* Debugging. |
59 |
* Debugging. |
60 |
*/ |
60 |
*/ |
61 |
#if 0 |
61 |
#if 1 |
62 |
#define DEBUG_AUTOCONF(fmt...) printk(fmt) |
62 |
#define DEBUG_AUTOCONF(fmt...) printk(fmt) |
63 |
#else |
63 |
#else |
64 |
#define DEBUG_AUTOCONF(fmt...) do { } while (0) |
64 |
#define DEBUG_AUTOCONF(fmt...) do { } while (0) |
65 |
#endif |
65 |
#endif |
66 |
|
66 |
|
67 |
#if 0 |
67 |
#if 1 |
68 |
#define DEBUG_INTR(fmt...) printk(fmt) |
68 |
#define DEBUG_INTR(fmt...) printk(fmt) |
69 |
#else |
69 |
#else |
70 |
#define DEBUG_INTR(fmt...) do { } while (0) |
70 |
#define DEBUG_INTR(fmt...) do { } while (0) |
Lines 2310-2317
static void serial8250_config_port(struct uart_port *port, int flags)
Link Here
|
2310 |
* tells us whether we can probe for the type of port. |
2310 |
* tells us whether we can probe for the type of port. |
2311 |
*/ |
2311 |
*/ |
2312 |
ret = serial8250_request_std_resource(up); |
2312 |
ret = serial8250_request_std_resource(up); |
2313 |
if (ret < 0) |
2313 |
if (ret < 0) { |
|
|
2314 |
printk(KERN_DEBUG "serial8250_config_port: serial8250_request_std_resource() returned %d\n", ret); |
2314 |
return; |
2315 |
return; |
|
|
2316 |
} |
2315 |
|
2317 |
|
2316 |
ret = serial8250_request_rsa_resource(up); |
2318 |
ret = serial8250_request_rsa_resource(up); |
2317 |
if (ret < 0) |
2319 |
if (ret < 0) |