diff options
author | imp <imp@FreeBSD.org> | 1999-08-01 18:04:26 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-08-01 18:04:26 +0000 |
commit | 564b182ca1eb133700db2d233b675a6543944077 (patch) | |
tree | 96108c9d2ad1648dc786a2a7aecf4d27fbcf2f70 /usr.sbin/pccard/pccardd/cardd.h | |
parent | d848a791d143dcd43bbfd4243df4fe61c62fac41 (diff) | |
download | FreeBSD-src-564b182ca1eb133700db2d233b675a6543944077.zip FreeBSD-src-564b182ca1eb133700db2d233b675a6543944077.tar.gz |
o Add "debuglevel" keyword to config file.
o Document debug level keyword
o Implement debug level:
o For most of the diagnostic messages, change them from #ifdef DEBUG
to if (debuglevel > 0).
o Add a couple more diagnostic messages that weren't present before
o Fix a couple of excessively long lines.
Reviewed by: hosokawa-san
o Start to implement the stopgap kludge for -current's pccard code by passing
the length of the i/o range. If DEV_DESC_HAS_SIZE is defined, we'll set
the size. This is done as an ifdef so that I can generate patches
against the kernel more easily.
o Add preliminary support for tweaking sleep times, but leave it
disabled until a good range of values can be established.
Didn't fix: logmsg problem noted by Nate.
Diffstat (limited to 'usr.sbin/pccard/pccardd/cardd.h')
-rw-r--r-- | usr.sbin/pccard/pccardd/cardd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pccard/pccardd/cardd.h b/usr.sbin/pccard/pccardd/cardd.h index 5e1dc7f..8000151 100644 --- a/usr.sbin/pccard/pccardd/cardd.h +++ b/usr.sbin/pccard/pccardd/cardd.h @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cardd.h,v 1.12 1998/03/09 05:18:55 hosokawa Exp $ + * $Id: cardd.h,v 1.13 1999/07/23 01:33:34 hosokawa Exp $ * * Common include file for PCMCIA daemon */ @@ -131,6 +131,8 @@ EXTERN struct driver *drivers; /* List of drivers */ EXTERN struct card *cards; EXTERN bitstr_t *mem_avail; EXTERN bitstr_t *io_avail; +EXTERN int pccard_init_sleep; /* Time to sleep on init */ +EXTERN int debug_level; /* cardd.c functions */ void dump_config_file(void); |