[Zrouter-src-freebsd] ZRouter.org: push to FreeBSD HEAD tree

zrouter-src-freebsd at zrouter.org zrouter-src-freebsd at zrouter.org
Mon Mar 5 14:03:05 UTC 2012


details:   http://zrouter.org/hg/FreeBSD/head//rev/c8205343f688
changeset: 418:c8205343f688
user:      ray at terran.dlink.ua
date:      Mon Mar 05 16:03:19 2012 +0200
description:
clean up

diffstat:

 head/sys/dev/flash/mx25l.c |  7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diffs (32 lines):

diff -r 939d6d22eab9 -r c8205343f688 head/sys/dev/flash/mx25l.c
--- a/head/sys/dev/flash/mx25l.c	Mon Mar 05 13:39:02 2012 +0200
+++ b/head/sys/dev/flash/mx25l.c	Mon Mar 05 16:03:19 2012 +0200
@@ -91,7 +91,6 @@
 	MX25L_DBG_EACHWRITE=	0x00000008,
 } mx25l_debug_flags;
 
-#define MX25L_DEBUG //XXX
 #ifdef MX25L_DEBUG
 #define	MX25LDEBUG(_sc, _m, ...) 					\
 	do {								\
@@ -403,12 +402,7 @@
 	cmd.rx_data_sz = count;
 	cmd.tx_data_sz = 0;
 
-//	printf("%s(dev=%p, offset=%jx, data=%p, count=%jx)\n", __func__, dev, offset, data, count);
-
 	err = SPIBUS_TRANSFER(pdev, dev, &cmd);
-	hexdump(cmd.rx_data, count, NULL, 0);
-
-//	printf("%s: err=%d\n\n", __func__, err);
 
 	return (err);
 }
@@ -483,7 +477,6 @@
 	sc->sc_disk->d_drv1 = sc;
 	sc->sc_disk->d_maxsize = DFLTPHYS;
 	sc->sc_disk->d_sectorsize = ident->sectorsize;
-//XXX	sc->sc_disk->d_sectorsize = MX25L_SECTORSIZE;
 	sc->sc_disk->d_mediasize = ident->sectorsize * ident->sectorcount;
 	sc->sc_disk->d_unit = device_get_unit(sc->sc_dev);
 	sc->sc_disk->d_dump = NULL;		/* NB: no dumps */


More information about the Zrouter-src-freebsd mailing list