|
|
@@ -1,54 +0,0 @@
|
|
|
-/*
|
|
|
- * Copyright 2003 Digi International (www.digi.com)
|
|
|
- * Scott H Kilau <Scott_Kilau at digi dot com>
|
|
|
- *
|
|
|
- * This program is free software; you can redistribute it and/or modify
|
|
|
- * it under the terms of the GNU General Public License as published by
|
|
|
- * the Free Software Foundation; either version 2, or (at your option)
|
|
|
- * any later version.
|
|
|
- *
|
|
|
- * This program is distributed in the hope that it will be useful,
|
|
|
- * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
|
|
|
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
- * PURPOSE. See the GNU General Public License for more details.
|
|
|
- *
|
|
|
- * You should have received a copy of the GNU General Public License
|
|
|
- * along with this program; if not, write to the Free Software
|
|
|
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
- *
|
|
|
- *
|
|
|
- * NOTE TO LINUX KERNEL HACKERS: DO NOT REFORMAT THIS CODE!
|
|
|
- *
|
|
|
- * This is shared code between Digi's CVS archive and the
|
|
|
- * Linux Kernel sources.
|
|
|
- * Changing the source just for reformatting needlessly breaks
|
|
|
- * our CVS diff history.
|
|
|
- *
|
|
|
- * Send any bug fixes/changes to: Eng.Linux at digi dot com.
|
|
|
- * Thank you.
|
|
|
- *
|
|
|
- */
|
|
|
-
|
|
|
-#include <linux/kernel.h>
|
|
|
-#include <linux/sched.h> /* For jiffies, task states */
|
|
|
-#include <linux/interrupt.h> /* For tasklet and interrupt structs/defines */
|
|
|
-#include <linux/vmalloc.h>
|
|
|
-
|
|
|
-#include "dgnc_driver.h"
|
|
|
-#include "dgnc_trace.h"
|
|
|
-
|
|
|
-#define TRC_TO_CONSOLE 1
|
|
|
-
|
|
|
-/* file level globals */
|
|
|
-static char *dgnc_trcbuf; /* the ringbuffer */
|
|
|
-
|
|
|
-/*
|
|
|
- * dgnc_tracer_free()
|
|
|
- *
|
|
|
- *
|
|
|
- */
|
|
|
-void dgnc_tracer_free(void)
|
|
|
-{
|
|
|
- if (dgnc_trcbuf)
|
|
|
- vfree(dgnc_trcbuf);
|
|
|
-}
|