summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2661reg.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-06-18 18:44:05 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-06-18 18:44:05 +0000
commitce9d7316d9fd1b1e65ddb9109f5e0490aca171fa (patch)
tree7235b72ebf581012f577ff435d18734a644c88d9 /sys/dev/ic/rt2661reg.h
parentb6efe24e3cd0a45a2c3b9be9b804f53c1db0152e (diff)
- implement new ic_updateslot() callback.
- in hostap mode, we defer update of the slot time until all associated STAs are notified with updated beacons.
Diffstat (limited to 'sys/dev/ic/rt2661reg.h')
-rw-r--r--sys/dev/ic/rt2661reg.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/rt2661reg.h b/sys/dev/ic/rt2661reg.h
index d99d15c005f..bc3f93e842d 100644
--- a/sys/dev/ic/rt2661reg.h
+++ b/sys/dev/ic/rt2661reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2661reg.h,v 1.7 2006/06/14 19:31:47 damien Exp $ */
+/* $OpenBSD: rt2661reg.h,v 1.8 2006/06/18 18:44:04 damien Exp $ */
/*-
* Copyright (c) 2006
@@ -324,6 +324,13 @@ struct rt2661_rx_desc {
#define RAL_WRITE(sc, reg, val) \
bus_space_write_4((sc)->sc_st, (sc)->sc_sh, (reg), (val))
+#define RAL_WRITE_1(sc, reg, val) \
+ bus_space_write_1((sc)->sc_st, (sc)->sc_sh, (reg), (val))
+
+#define RAL_RW_BARRIER_1(sc, reg) \
+ bus_space_barrier((sc)->sc_st, (sc)->sc_sh, (reg), 1, \
+ BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE)
+
#define RAL_WRITE_REGION_1(sc, offset, datap, count) \
bus_space_write_region_1((sc)->sc_st, (sc)->sc_sh, (offset), \
(datap), (count))