Deleted Added
full compact
uart_subr.c (168281) uart_subr.c (215034)
1/*-
2 * Copyright (c) 2004 Marcel Moolenaar
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 *

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

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2004 Marcel Moolenaar
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 *

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

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/uart/uart_subr.c 168281 2007-04-02 22:00:22Z marcel $");
28__FBSDID("$FreeBSD: head/sys/dev/uart/uart_subr.c 215034 2010-11-09 10:59:09Z brucec $");
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33
34#include <machine/bus.h>
35#include <machine/vmparam.h>
36

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

167 if ((*p)[0] != ':')
168 return (-1);
169 (*p)++;
170 return (tag);
171}
172
173/*
174 * Parse a device specification. The specification is a list of attributes
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33
34#include <machine/bus.h>
35#include <machine/vmparam.h>
36

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

167 if ((*p)[0] != ':')
168 return (-1);
169 (*p)++;
170 return (tag);
171}
172
173/*
174 * Parse a device specification. The specification is a list of attributes
175 * seperated by commas. Each attribute is a tag-value pair with the tag and
176 * value seperated by a colon. Supported tags are:
175 * separated by commas. Each attribute is a tag-value pair with the tag and
176 * value separated by a colon. Supported tags are:
177 *
178 * br = Baudrate
179 * ch = Channel
180 * db = Data bits
181 * dt = Device type
182 * io = I/O port address
183 * mm = Memory mapped I/O address
184 * pa = Parity

--- 122 unchanged lines hidden ---
177 *
178 * br = Baudrate
179 * ch = Channel
180 * db = Data bits
181 * dt = Device type
182 * io = I/O port address
183 * mm = Memory mapped I/O address
184 * pa = Parity

--- 122 unchanged lines hidden ---