PERFORCE change 153973 for review
Sam Leffler
sam at FreeBSD.org
Tue Dec 2 14:52:59 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=153973
Change 153973 by sam at sam_ebb on 2008/12/02 22:51:52
describe the fw image loaded
Affected files ...
.. //depot/projects/vap/sys/arm/xscale/ixp425/ixp425_npe.c#4 edit
Differences ...
==== //depot/projects/vap/sys/arm/xscale/ixp425/ixp425_npe.c#4 (text+ko) ====
@@ -441,6 +441,8 @@
int
ixpnpe_init(struct ixpnpe_softc *sc, const char *imageName, uint32_t imageId)
{
+ static const char *devname[4] =
+ { "IXP425", "IXP465", "DeviceID#2", "DeviceID#3" };
uint32_t imageSize;
const uint32_t *imageCodePtr;
const struct firmware *fw;
@@ -471,6 +473,12 @@
if (error != 0)
goto done;
+ device_printf(sc->sc_dev,
+ "load fw image %s.NPE-%c Func 0x%x Rev %u.%u\n",
+ devname[NPEIMAGE_DEVID(imageId)], 'A' + NPEIMAGE_NPEID(imageId),
+ NPEIMAGE_FUNCID(imageId), NPEIMAGE_MAJOR(imageId),
+ NPEIMAGE_MINOR(imageId));
+
/*
* If download was successful, store image Id in list of
* currently loaded images. If a critical error occured
More information about the p4-projects
mailing list