uart_bus_adm5120.c (180332) | uart_bus_adm5120.c (182901) |
---|---|
1/*- 2 * Copyright (c) 2007 Bruce M. Simpson. 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 --- 21 unchanged lines hidden (view full) --- 30 31/* 32 * XXXMIPS: This file is hacked from arm/... . XXXMIPS here means this file is 33 * experimental and was written for MIPS32 port. 34 */ 35#include "opt_uart.h" 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2007 Bruce M. Simpson. 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 --- 21 unchanged lines hidden (view full) --- 30 31/* 32 * XXXMIPS: This file is hacked from arm/... . XXXMIPS here means this file is 33 * experimental and was written for MIPS32 port. 34 */ 35#include "opt_uart.h" 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/mips/adm5120/uart_bus_adm5120.c 178173 2008-04-13 07:44:55Z imp $"); | 38__FBSDID("$FreeBSD: head/sys/mips/adm5120/uart_bus_adm5120.c 182901 2008-09-10 03:49:08Z gonzo $"); |
39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/bus.h> 43#include <sys/conf.h> 44#include <sys/kernel.h> 45#include <sys/module.h> 46#include <machine/bus.h> 47#include <sys/rman.h> 48#include <machine/resource.h> 49 50#include <dev/pci/pcivar.h> 51 52#include <dev/uart/uart.h> 53#include <dev/uart/uart_bus.h> 54#include <dev/uart/uart_cpu.h> 55 | 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/bus.h> 43#include <sys/conf.h> 44#include <sys/kernel.h> 45#include <sys/module.h> 46#include <machine/bus.h> 47#include <sys/rman.h> 48#include <machine/resource.h> 49 50#include <dev/pci/pcivar.h> 51 52#include <dev/uart/uart.h> 53#include <dev/uart/uart_bus.h> 54#include <dev/uart/uart_cpu.h> 55 |
56#include <mips/mips32/adm5120/adm5120reg.h> | 56#include |
57 58#include "uart_if.h" 59 60static int uart_adm5120_probe(device_t dev); 61 62extern struct uart_class uart_adm5120_uart_class; 63 64static device_method_t uart_adm5120_methods[] = { --- 29 unchanged lines hidden --- | 57 58#include "uart_if.h" 59 60static int uart_adm5120_probe(device_t dev); 61 62extern struct uart_class uart_adm5120_uart_class; 63 64static device_method_t uart_adm5120_methods[] = { --- 29 unchanged lines hidden --- |