1/*- 2 * Copyright (c) 2003 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 * --- 41 unchanged lines hidden (view full) --- 50 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 51 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 52 * 53 * 54 */ 55 56 57#include <sys/cdefs.h> |
58__FBSDID("$FreeBSD: head/sys/mips/cavium/uart_dev_oct16550.c 242273 2012-10-29 00:51:53Z jmallett $"); |
59 60#include <sys/param.h> 61#include <sys/systm.h> 62#include <sys/bus.h> 63#include <sys/conf.h> 64#include <machine/bus.h> 65#include <machine/pcpu.h> 66 --- 560 unchanged lines hidden (view full) --- 627 ipend |= SER_INT_SIGCHG; 628 629 } else if (iir == IIR_BUSY) { 630 (void) uart_getreg(bas, REG_USR); 631 } 632 } 633 uart_unlock(sc->sc_hwmtx); 634 |
635 return (ipend); 636} 637 638static int 639oct16550_bus_param (struct uart_softc *sc, int baudrate, int databits, 640 int stopbits, int parity) 641{ 642 struct uart_bas *bas; --- 170 unchanged lines hidden --- |