aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/puc
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-04-25 17:18:58 +0000
committerDimitry Andric <dim@FreeBSD.org>2023-04-25 17:26:03 +0000
commitbab8274c090942cf96c44bc001307b9bffac9d7e (patch)
tree0045eeca8c88ff4c7a014c23e14200c326736e89 /sys/dev/puc
parentb0695c6abe3f33a4188bcbcbf214823cd86f54d6 (diff)
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/puc.c2
-rw-r--r--sys/dev/puc/puc_bfe.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c
index 4df42d2c4f95..c2f9a1b67a04 100644
--- a/sys/dev/puc/puc.c
+++ b/sys/dev/puc/puc.c
@@ -61,7 +61,7 @@ struct puc_port {
int p_type;
int p_rclk;
- int p_hasintr:1;
+ bool p_hasintr:1;
serdev_intr_t *p_ihsrc[PUC_ISRCCNT];
void *p_iharg;
diff --git a/sys/dev/puc/puc_bfe.h b/sys/dev/puc/puc_bfe.h
index 0b079107538d..831133b08935 100644
--- a/sys/dev/puc/puc_bfe.h
+++ b/sys/dev/puc/puc_bfe.h
@@ -64,10 +64,10 @@ struct puc_softc {
int sc_nports;
struct puc_port *sc_port;
- int sc_fastintr:1;
- int sc_leaving:1;
- int sc_polled:1;
- int sc_msi:1;
+ bool sc_fastintr:1;
+ bool sc_leaving:1;
+ bool sc_polled:1;
+ bool sc_msi:1;
int sc_ilr;