PERFORCE change 153781 for review

Sam Leffler sam at FreeBSD.org
Sat Nov 29 10:44:16 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=153781

Change 153781 by sam at 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);


More information about the p4-projects mailing list