Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Revert previous (rev. 1.98). It breaks at least ...
details: https://anonhg.NetBSD.org/src/rev/8bdcc320b9ba
branches: trunk
changeset: 345787:8bdcc320b9ba
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed Jun 08 22:25:35 2016 +0000
description:
Revert previous (rev. 1.98). It breaks at least one user's card.
PR kern/44433
diffstat:
sys/dev/ic/rtl81x9.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 80935e1396c4 -r 8bdcc320b9ba sys/dev/ic/rtl81x9.c
--- a/sys/dev/ic/rtl81x9.c Wed Jun 08 22:12:42 2016 +0000
+++ b/sys/dev/ic/rtl81x9.c Wed Jun 08 22:25:35 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9.c,v 1.98 2016/06/01 12:40:03 pgoyette Exp $ */
+/* $NetBSD: rtl81x9.c,v 1.99 2016/06/08 22:25:35 pgoyette Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl81x9.c,v 1.98 2016/06/01 12:40:03 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl81x9.c,v 1.99 2016/06/08 22:25:35 pgoyette Exp $");
#include <sys/param.h>
@@ -1339,11 +1339,9 @@
rtk_stop(ifp, 0);
/* Init our MAC address */
- CSR_WRITE_1(sc, RTK_EECMD, RTK_EEMODE_WRITECFG);
for (i = 0; i < ETHER_ADDR_LEN; i++) {
CSR_WRITE_1(sc, RTK_IDR0 + i, CLLADDR(ifp->if_sadl)[i]);
}
- CSR_WRITE_1(sc, RTK_EECMD, RTK_EEMODE_OFF);
/* Init the RX buffer pointer register. */
bus_dmamap_sync(sc->sc_dmat, sc->recv_dmamap, 0,
Home |
Main Index |
Thread Index |
Old Index