aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-05-02 09:34:51 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-05-02 09:34:51 +0000
commita8c5fef5e6b0f84c80aca77643e10ea081248d3d (patch)
treedc9ce6f01e6fe69eb3e4d0a274e9b8a8982294fc /sys/dev/cy
parent2572133ed38369f72e52955773611a7c0794c2d9 (diff)
Notes
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 0c89ca46e7668..5ebc51a1d392a 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 0c89ca46e7668..5ebc51a1d392a 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);