diff options
author | stas <stas@FreeBSD.org> | 2008-10-26 22:53:59 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2008-10-26 22:53:59 +0000 |
commit | 57432d8a84d76480c6a66af412a5c77f87818971 (patch) | |
tree | b03e8392cb9d79ddf0593fa6f132681482d4aeda /sys/arm | |
parent | e29a55524b140c8d6ea57e36772e832d4dd0cd68 (diff) | |
download | FreeBSD-src-57432d8a84d76480c6a66af412a5c77f87818971.zip FreeBSD-src-57432d8a84d76480c6a66af412a5c77f87818971.tar.gz |
- Add stream bus_space operations.
Reviewed by: cognet
Approved by: kib (mentor, implicit)
MFC after: 1 week
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/at91/at91.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys/arm/at91/at91.c b/sys/arm/at91/at91.c index 60f6a02..9451246 100644 --- a/sys/arm/at91/at91.c +++ b/sys/arm/at91/at91.c @@ -168,6 +168,42 @@ struct bus_space at91_bs_tag = { generic_armv4_bs_c_2, NULL, NULL, + + /* read (single) stream */ + generic_bs_r_1, + generic_armv4_bs_r_2, + generic_bs_r_4, + NULL, + + /* read multiple stream */ + generic_bs_rm_1, + generic_armv4_bs_rm_2, + generic_bs_rm_4, + NULL, + + /* read region stream */ + generic_bs_rr_1, + generic_armv4_bs_rr_2, + generic_bs_rr_4, + NULL, + + /* write (single) stream */ + generic_bs_w_1, + generic_armv4_bs_w_2, + generic_bs_w_4, + NULL, + + /* write multiple stream */ + generic_bs_wm_1, + generic_armv4_bs_wm_2, + generic_bs_wm_4, + NULL, + + /* write region stream */ + NULL, + generic_armv4_bs_wr_2, + generic_bs_wr_4, + NULL, }; static int |