| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: plcomvar.h,v 1.14 2013/05/01 07:33:24 mlelstv Exp $ */ | | 1 | /* $NetBSD: plcomvar.h,v 1.15 2014/02/21 16:08:19 skrll Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. | | 4 | * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. |
5 | * | | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | | 7 | * modification, are permitted provided that the following conditions |
8 | * are met: | | 8 | * are met: |
9 | * 1. Redistributions of source code must retain the above copyright | | 9 | * 1. Redistributions of source code must retain the above copyright |
10 | * notice, this list of conditions and the following disclaimer. | | 10 | * notice, this list of conditions and the following disclaimer. |
11 | * 2. Redistributions in binary form must reproduce the above copyright | | 11 | * 2. Redistributions in binary form must reproduce the above copyright |
12 | * notice, this list of conditions and the following disclaimer in the | | 12 | * notice, this list of conditions and the following disclaimer in the |
13 | * documentation and/or other materials provided with the distribution. | | 13 | * documentation and/or other materials provided with the distribution. |
14 | * 3. All advertising materials mentioning features or use of this software | | 14 | * 3. All advertising materials mentioning features or use of this software |
| @@ -32,27 +32,26 @@ | | | @@ -32,27 +32,26 @@ |
32 | | | 32 | |
33 | #include "rnd.h" | | 33 | #include "rnd.h" |
34 | #include "opt_multiprocessor.h" | | 34 | #include "opt_multiprocessor.h" |
35 | #include "opt_lockdebug.h" | | 35 | #include "opt_lockdebug.h" |
36 | #include "opt_plcom.h" | | 36 | #include "opt_plcom.h" |
37 | #include "opt_kgdb.h" | | 37 | #include "opt_kgdb.h" |
38 | | | 38 | |
39 | #ifdef RND_COM | | 39 | #ifdef RND_COM |
40 | #include <sys/rnd.h> | | 40 | #include <sys/rnd.h> |
41 | #endif | | 41 | #endif |
42 | | | 42 | |
43 | #include <sys/callout.h> | | 43 | #include <sys/callout.h> |
44 | #include <sys/timepps.h> | | 44 | #include <sys/timepps.h> |
45 | #include <sys/simplelock.h> | | | |
46 | | | 45 | |
47 | struct plcom_instance; | | 46 | struct plcom_instance; |
48 | | | 47 | |
49 | int plcomcnattach (struct plcom_instance *, int, int, tcflag_t, int); | | 48 | int plcomcnattach (struct plcom_instance *, int, int, tcflag_t, int); |
50 | void plcomcndetach (void); | | 49 | void plcomcndetach (void); |
51 | | | 50 | |
52 | #ifdef KGDB | | 51 | #ifdef KGDB |
53 | int plcom_kgdb_attach (struct plcom_instance *, int, int, tcflag_t, int); | | 52 | int plcom_kgdb_attach (struct plcom_instance *, int, int, tcflag_t, int); |
54 | #endif | | 53 | #endif |
55 | | | 54 | |
56 | int plcom_is_console (bus_space_tag_t, bus_addr_t, bus_space_handle_t *); | | 55 | int plcom_is_console (bus_space_tag_t, bus_addr_t, bus_space_handle_t *); |
57 | | | 56 | |
58 | /* Hardware flag masks */ | | 57 | /* Hardware flag masks */ |