aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/si
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2008-06-09 08:43:27 +0000
committerEd Schouten <ed@FreeBSD.org>2008-06-09 08:43:27 +0000
commit2ae1fdab5a78ac6d9ae9ae99ad5261a597ff83c6 (patch)
tree106a178fd1ac22dbaf41e12f2e542a4ac909c9f7 /sys/dev/si
parent1f1fa917bd6a1a51afc08906d2689ba36d53a96e (diff)
Notes
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c5
-rw-r--r--sys/dev/si/si.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 19bac34f8e981..0633ca95ca6ea 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -682,7 +682,6 @@ si_Sioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *t
#if 1
DPRINT((0, DBG_IOCTL, "TCSI_PORT=%x\n", TCSI_PORT));
DPRINT((0, DBG_IOCTL, "TCSI_CCB=%x\n", TCSI_CCB));
- DPRINT((0, DBG_IOCTL, "TCSI_TTY=%x\n", TCSI_TTY));
#endif
oldspl = spltty(); /* better safe than sorry */
@@ -788,10 +787,6 @@ si_Sioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *t
SUCHECK;
si_vbcopy(xpp->sp_ccb, &sps->tc_ccb, sizeof(sps->tc_ccb));
break;
- case TCSI_TTY:
- SUCHECK;
- si_bcopy(xpp->sp_tty, &sps->tc_tty, sizeof(sps->tc_tty));
- break;
default:
error = EINVAL;
goto out;
diff --git a/sys/dev/si/si.h b/sys/dev/si/si.h
index f7c715572b9fe..64891ece02d2e 100644
--- a/sys/dev/si/si.h
+++ b/sys/dev/si/si.h
@@ -385,7 +385,6 @@ struct si_pstat {
/* Various stats and monitoring hooks per tty device */
#define TCSI_PORT _IOWR('S', 125, struct si_pstat) /* get si_port */
#define TCSI_CCB _IOWR('S', 126, struct si_pstat) /* get si_ccb */
-#define TCSI_TTY _IOWR('S', 127, struct si_pstat) /* get tty struct */
#define IOCTL_MAX 127