From e06d0e0a921bb865b220013b4ea96102fe538712 Mon Sep 17 00:00:00 2001 From: Stanislav Sedov Date: Sun, 26 Oct 2008 22:53:59 +0000 Subject: [PATCH] - Add stream bus_space operations. Reviewed by: cognet Approved by: kib (mentor, implicit) MFC after: 1 week --- sys/arm/at91/at91.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/sys/arm/at91/at91.c b/sys/arm/at91/at91.c index 60f6a022295b..945124679588 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