summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-02 09:34:51 +0000
committerphk <phk@FreeBSD.org>1996-05-02 09:34:51 +0000
commit7bfc0101cb7b18e50bfb65137a0be725c51d26cb (patch)
treedc9ce6f01e6fe69eb3e4d0a274e9b8a8982294fc /sys/dev/cy
parente4ee69bc24265771337795e724a2f50a50cbc78b (diff)
downloadFreeBSD-src-7bfc0101cb7b18e50bfb65137a0be725c51d26cb.zip
FreeBSD-src-7bfc0101cb7b18e50bfb65137a0be725c51d26cb.tar.gz
KGDB is dead. It may come back one day if somebody does it.
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c14
-rw-r--r--sys/dev/cy/cy_isa.c14
2 files changed, 2 insertions, 26 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 0c89ca4..5ebc51a 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.30 1996/01/25 07:21:29 phk Exp $
+ * $Id: cy.c,v 1.31 1996/03/27 20:03:23 bde Exp $
*/
#include "cy.h"
@@ -399,14 +399,6 @@ static struct tty sio_tty[NSIO];
#endif
static const int nsio_tty = NSIO;
-#ifdef KGDB
-#include <machine/remote-sl.h>
-
-extern int kgdb_dev;
-extern int kgdb_rate;
-extern int kgdb_debug_init;
-#endif
-
#ifdef CyDebug
static u_int cd_inbs;
static u_int cy_inbs;
@@ -880,10 +872,6 @@ comhardclose(com)
outb(iobase + com_cfcr, com->cfcr_image &= ~CFCR_SBREAK);
#endif
-#ifdef KGDB
- /* do not disable interrupts or hang up if debugging */
- if (kgdb_dev != makedev(CDEV_MAJOR, unit))
-#endif
{
#if 0
outb(iobase + com_ier, 0);
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 0c89ca4..5ebc51a 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.30 1996/01/25 07:21:29 phk Exp $
+ * $Id: cy.c,v 1.31 1996/03/27 20:03:23 bde Exp $
*/
#include "cy.h"
@@ -399,14 +399,6 @@ static struct tty sio_tty[NSIO];
#endif
static const int nsio_tty = NSIO;
-#ifdef KGDB
-#include <machine/remote-sl.h>
-
-extern int kgdb_dev;
-extern int kgdb_rate;
-extern int kgdb_debug_init;
-#endif
-
#ifdef CyDebug
static u_int cd_inbs;
static u_int cy_inbs;
@@ -880,10 +872,6 @@ comhardclose(com)
outb(iobase + com_cfcr, com->cfcr_image &= ~CFCR_SBREAK);
#endif
-#ifdef KGDB
- /* do not disable interrupts or hang up if debugging */
- if (kgdb_dev != makedev(CDEV_MAJOR, unit))
-#endif
{
#if 0
outb(iobase + com_ier, 0);
OpenPOWER on IntegriCloud