Remove SET/CLR/ISSET macros.
This commit is contained in:
parent
beea4fc3fa
commit
b2e4ee2926
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: z8530tty.c,v 1.102 2005/12/27 17:20:54 chs Exp $ */
|
/* $NetBSD: z8530tty.c,v 1.103 2006/03/05 19:10:30 rjs Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999
|
* Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999
|
||||||
@ -137,7 +137,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: z8530tty.c,v 1.102 2005/12/27 17:20:54 chs Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: z8530tty.c,v 1.103 2006/03/05 19:10:30 rjs Exp $");
|
||||||
|
|
||||||
#include "opt_kgdb.h"
|
#include "opt_kgdb.h"
|
||||||
#include "opt_ntp.h"
|
#include "opt_ntp.h"
|
||||||
@ -242,11 +242,6 @@ struct zstty_softc {
|
|||||||
pps_params_t ppsparam;
|
pps_params_t ppsparam;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Macros to clear/set/test flags. */
|
|
||||||
#define SET(t, f) (t) |= (f)
|
|
||||||
#define CLR(t, f) (t) &= ~(f)
|
|
||||||
#define ISSET(t, f) ((t) & (f))
|
|
||||||
|
|
||||||
/* Definition of the driver for autoconfig. */
|
/* Definition of the driver for autoconfig. */
|
||||||
static int zstty_match(struct device *, struct cfdata *, void *);
|
static int zstty_match(struct device *, struct cfdata *, void *);
|
||||||
static void zstty_attach(struct device *, struct device *, void *);
|
static void zstty_attach(struct device *, struct device *, void *);
|
||||||
|
Loading…
Reference in New Issue
Block a user