Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix panic on attach. This bug was added in rev. ...
details: https://anonhg.NetBSD.org/src/rev/e723ac93291b
branches: trunk
changeset: 457346:e723ac93291b
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Jun 20 15:25:28 2019 +0000
description:
Fix panic on attach. This bug was added in rev. 1.56. I think it's not
required to call txp_set_filter() in the attach function.
diffstat:
sys/dev/pci/if_txp.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r eeafdb065b52 -r e723ac93291b sys/dev/pci/if_txp.c
--- a/sys/dev/pci/if_txp.c Thu Jun 20 14:33:04 2019 +0000
+++ b/sys/dev/pci/if_txp.c Thu Jun 20 15:25:28 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_txp.c,v 1.57 2019/05/29 10:07:29 msaitoh Exp $ */
+/* $NetBSD: if_txp.c,v 1.58 2019/06/20 15:25:28 msaitoh Exp $ */
/*
* Copyright (c) 2001
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_txp.c,v 1.57 2019/05/29 10:07:29 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_txp.c,v 1.58 2019/06/20 15:25:28 msaitoh Exp $");
#include "opt_inet.h"
@@ -276,8 +276,6 @@
&p1, &p2, NULL, 1))
goto cleanupintr;
- txp_set_filter(sc);
-
p1 = htole16(p1);
enaddr[0] = ((uint8_t *)&p1)[1];
enaddr[1] = ((uint8_t *)&p1)[0];
Home |
Main Index |
Thread Index |
Old Index