Deleted Added
full compact
uart_cpu_ar71xx.c (187423) uart_cpu_ar71xx.c (187456)
1/*-
2 * Copyright (c) 2009 Oleksandr Tymoshenko
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 24 unchanged lines hidden (view full) ---

33#include <sys/systm.h>
34#include <sys/bus.h>
35
36#include <machine/bus.h>
37
38#include <dev/uart/uart.h>
39#include <dev/uart/uart_cpu.h>
40
1/*-
2 * Copyright (c) 2009 Oleksandr Tymoshenko
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 24 unchanged lines hidden (view full) ---

33#include <sys/systm.h>
34#include <sys/bus.h>
35
36#include <machine/bus.h>
37
38#include <dev/uart/uart.h>
39#include <dev/uart/uart_cpu.h>
40
41#include <mips/ar71xx/ar71xxreg.h>
41#include <mips/atheros/ar71xxreg.h>
42
43bus_space_tag_t uart_bus_space_io;
44bus_space_tag_t uart_bus_space_mem;
45
46int
47uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
48{
49 return ((b1->bsh == b2->bsh && b1->bst == b2->bst) ? 1 : 0);

--- 22 unchanged lines hidden ---
42
43bus_space_tag_t uart_bus_space_io;
44bus_space_tag_t uart_bus_space_mem;
45
46int
47uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
48{
49 return ((b1->bsh == b2->bsh && b1->bst == b2->bst) ? 1 : 0);

--- 22 unchanged lines hidden ---