Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2008 18:44:16 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 153781 for review
Message-ID:  <200811291844.mATIiGGj082465@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153781

Change 153781 by sam@sam_ebb on 2008/11/29 18:44:09

	o add cpu_is_ixp43x() to check if we're running on an ixp435
	o also add cpu_is_ixp46x() though we're not using it; would need
	  this most places we do special work for ixp435
	o add decl for ixp435_ddram_size

Affected files ...

.. //depot/projects/vap/sys/arm/xscale/ixp425/ixp425var.h#3 edit

Differences ...

==== //depot/projects/vap/sys/arm/xscale/ixp425/ixp425var.h#3 (text+ko) ====

@@ -47,6 +47,10 @@
 #include <dev/pci/pcivar.h>
 #include <sys/rman.h>
 
+/* NB: cputype is setup by set_cpufuncs */
+#define	cpu_is_ixp43x()	(cputype == CPU_ID_IXP435)
+#define	cpu_is_ixp46x()	(cputype == CPU_ID_IXP465)
+
 struct ixp425_softc {
 	device_t sc_dev;
 	bus_space_tag_t sc_iot;
@@ -94,6 +98,7 @@
 void	ixp425_mem_bs_init(bus_space_tag_t, void *);
 
 uint32_t ixp425_sdram_size(void);
+uint32_t ixp435_ddram_size(void);
 
 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?200811291844.mATIiGGj082465>