From 9b0755de9f1e9517732f96a37f0ef30b8db23811 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 20 Aug 2009 19:17:53 +0000 Subject: Temporarily revert the new-bus locking for 8.0 release. It will be reintroduced after HEAD is reopened for commits by re@. Approved by: re (kib), attilio --- sys/dev/rp/rp.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/dev/rp') diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c index 45f59d3..520ca80 100644 --- a/sys/dev/rp/rp.c +++ b/sys/dev/rp/rp.c @@ -903,9 +903,7 @@ rpopen(struct tty *tp) rp_callout_handle = timeout(rp_do_poll, (void *)NULL, POLL_INTERVAL); - newbus_xlock(); device_busy(rp->rp_ctlp->dev); - newbus_xunlock(); return(0); } @@ -916,9 +914,7 @@ rpclose(struct tty *tp) rp = tty_softc(tp); rphardclose(tp); - newbus_xlock(); device_unbusy(rp->rp_ctlp->dev); - newbus_xunlock(); } static void -- cgit v1.1