Removed another instance of the macro triplet SET/CLR/ISSET, now found
in <sys/types.h>. An ISCLR macro remains here for now.
This commit is contained in:
parent
d5491c459e
commit
93e5acd417
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sequoia.c,v 1.4 2005/12/11 12:19:05 christos Exp $ */
|
||||
/* $NetBSD: sequoia.c,v 1.5 2006/03/07 16:33:39 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sequoia.c,v 1.4 2005/12/11 12:19:05 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sequoia.c,v 1.5 2006/03/07 16:33:39 he Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -67,9 +67,6 @@ __KERNEL_RCSID(0, "$NetBSD: sequoia.c,v 1.4 2005/12/11 12:19:05 christos Exp $")
|
||||
** MACROS
|
||||
**
|
||||
*/
|
||||
#define SET(t, f) (t) |= (f)
|
||||
#define CLR(t, f) (t) &= ~(f)
|
||||
#define ISSET(t, f) ((t) & (f))
|
||||
#define ISCLR(t, f) ( ((t) & (f)) == 0)
|
||||
|
||||
/* define regisers on sequoia used by pins */
|
||||
|
Loading…
Reference in New Issue
Block a user