Deleted Added
full compact
siba_cc.c (202105) siba_cc.c (203319)
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

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

38 * which is always 200MHz and thus may be hardcoded (for now).
39 * Flash config registers live here. There may or may not be system flash.
40 * The external interface bus lives here (conditionally).
41 * There is a JTAG interface here which may be used to attach probes to
42 * the SoC for debugging.
43 */
44
45#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

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

38 * which is always 200MHz and thus may be hardcoded (for now).
39 * Flash config registers live here. There may or may not be system flash.
40 * The external interface bus lives here (conditionally).
41 * There is a JTAG interface here which may be used to attach probes to
42 * the SoC for debugging.
43 */
44
45#include <sys/cdefs.h>
46__FBSDID("$FreeBSD: head/sys/dev/siba/siba_cc.c 202105 2010-01-11 19:21:52Z imp $");
46__FBSDID("$FreeBSD: head/sys/dev/siba/siba_cc.c 203319 2010-01-31 21:18:22Z weongyo $");
47
48#include <sys/param.h>
49#include <sys/systm.h>
50#include <sys/bus.h>
51#include <sys/kernel.h>
52#include <sys/module.h>
53#include <sys/rman.h>
54#include <sys/malloc.h>
55
56#include <machine/bus.h>
57
47
48#include <sys/param.h>
49#include <sys/systm.h>
50#include <sys/bus.h>
51#include <sys/kernel.h>
52#include <sys/module.h>
53#include <sys/rman.h>
54#include <sys/malloc.h>
55
56#include <machine/bus.h>
57
58#include <dev/siba/sibavar.h>
59#include <dev/siba/sibareg.h>
60#include <dev/siba/siba_ids.h>
58#include <dev/siba/siba_ids.h>
59#include <dev/siba/sibareg.h>
60#include <dev/siba/sibavar.h>
61
62static int siba_cc_attach(device_t);
63static int siba_cc_probe(device_t);
64static void siba_cc_intr(void *v);
65
66static int
67siba_cc_probe(device_t dev)
68{

--- 86 unchanged lines hidden ---
61
62static int siba_cc_attach(device_t);
63static int siba_cc_probe(device_t);
64static void siba_cc_intr(void *v);
65
66static int
67siba_cc_probe(device_t dev)
68{

--- 86 unchanged lines hidden ---