summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-21 05:47:25 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-21 05:47:25 +0000
commit21623b13bca01fa8ec9a427bb7ffbfa0c1d0e339 (patch)
tree6a8792806e47e5ef6658a8f63f2d6f90f889dffb /sys/dev/cy
parentb66d5dcfc98c4c873a8f6c204802c2111a52dc34 (diff)
downloadFreeBSD-src-21623b13bca01fa8ec9a427bb7ffbfa0c1d0e339.zip
FreeBSD-src-21623b13bca01fa8ec9a427bb7ffbfa0c1d0e339.tar.gz
Moved the COM_LOCK and COM_UNLOCK macros to machine/param.h.
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c11
-rw-r--r--sys/dev/cy/cy_isa.c11
2 files changed, 2 insertions, 20 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 5bcc40c..65647d3 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.1 1997/08/20 05:59:24 smp Exp smp $
+ * $Id: cy.c,v 1.49 1997/08/20 06:16:44 fsmp Exp $
*/
#include "cy.h"
@@ -84,15 +84,6 @@
#include <machine/clock.h>
-#ifdef SMP
-#include <machine/smp.h>
-#define COM_LOCK() s_lock(&com_lock)
-#define COM_UNLOCK() s_unlock(&com_lock)
-#else
-#define COM_LOCK()
-#define COM_UNLOCK()
-#endif /* SMP */
-
#include <i386/isa/isa_device.h>
#include <i386/isa/cyreg.h>
#include <i386/isa/ic/cd1400.h>
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 5bcc40c..65647d3 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.1 1997/08/20 05:59:24 smp Exp smp $
+ * $Id: cy.c,v 1.49 1997/08/20 06:16:44 fsmp Exp $
*/
#include "cy.h"
@@ -84,15 +84,6 @@
#include <machine/clock.h>
-#ifdef SMP
-#include <machine/smp.h>
-#define COM_LOCK() s_lock(&com_lock)
-#define COM_UNLOCK() s_unlock(&com_lock)
-#else
-#define COM_LOCK()
-#define COM_UNLOCK()
-#endif /* SMP */
-
#include <i386/isa/isa_device.h>
#include <i386/isa/cyreg.h>
#include <i386/isa/ic/cd1400.h>
OpenPOWER on IntegriCloud