Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2008 22:52:58 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 153973 for review
Message-ID:  <200812022252.mB2Mqwue031948@repoman.freebsd.org>

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

Change 153973 by sam@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812022252.mB2Mqwue031948>