Date: Wed, 17 Jun 2009 02:51:16 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194319 - head/sys/arm/xscale/ixp425 Message-ID: <200906170251.n5H2pGLg059852@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Wed Jun 17 02:51:16 2009 New Revision: 194319 URL: http://svn.freebsd.org/changeset/base/194319 Log: add ixp4xx_write_feature_bits Modified: head/sys/arm/xscale/ixp425/ixp425.c head/sys/arm/xscale/ixp425/ixp425var.h Modified: head/sys/arm/xscale/ixp425/ixp425.c ============================================================================== --- head/sys/arm/xscale/ixp425/ixp425.c Wed Jun 17 02:20:26 2009 (r194318) +++ head/sys/arm/xscale/ixp425/ixp425.c Wed Jun 17 02:51:16 2009 (r194319) @@ -85,6 +85,12 @@ ixp4xx_read_feature_bits(void) return bits; } +void +ixp4xx_write_feature_bits(uint32_t v) +{ + IXPREG(IXP425_EXP_VBASE + EXP_FCTRL_OFFSET) = ~v; +} + struct arm32_dma_range * bus_dma_get_range(void) { Modified: head/sys/arm/xscale/ixp425/ixp425var.h ============================================================================== --- head/sys/arm/xscale/ixp425/ixp425var.h Wed Jun 17 02:20:26 2009 (r194318) +++ head/sys/arm/xscale/ixp425/ixp425var.h Wed Jun 17 02:51:16 2009 (r194319) @@ -101,6 +101,7 @@ void ixp425_mem_bs_init(bus_space_tag_t, uint32_t ixp425_sdram_size(void); uint32_t ixp435_ddram_size(void); uint32_t ixp4xx_read_feature_bits(void); +void ixp4xx_write_feature_bits(uint32_t); int ixp425_md_route_interrupt(device_t, device_t, int); void ixp425_md_attach(device_t);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906170251.n5H2pGLg059852>