Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2019 19:36:21 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343443 - head/sys/mips/nlm
Message-ID:  <201901251936.x0PJaL8e073230@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Fri Jan 25 19:36:20 2019
New Revision: 343443
URL: https://svnweb.freebsd.org/changeset/base/343443

Log:
  [mips] remove dublicate values in enable mask in nlm_usb_intr_en
  
  PR:		230572
  Submitted by:	David Binderman <dcb314@hotmail.com>
  MFC after:	1 week

Modified:
  head/sys/mips/nlm/usb_init.c

Modified: head/sys/mips/nlm/usb_init.c
==============================================================================
--- head/sys/mips/nlm/usb_init.c	Fri Jan 25 18:48:20 2019	(r343442)
+++ head/sys/mips/nlm/usb_init.c	Fri Jan 25 19:36:20 2019	(r343443)
@@ -52,8 +52,7 @@ nlm_usb_intr_en(int node, int port)
 	port_addr = nlm_get_usb_regbase(node, port);
 	val = nlm_read_usb_reg(port_addr, USB_INT_EN);
 	val = USB_CTRL_INTERRUPT_EN  | USB_OHCI_INTERRUPT_EN |
-		USB_OHCI_INTERRUPT1_EN | USB_CTRL_INTERRUPT_EN  |
-		USB_OHCI_INTERRUPT_EN | USB_OHCI_INTERRUPT2_EN;
+		USB_OHCI_INTERRUPT1_EN | USB_OHCI_INTERRUPT2_EN;
         nlm_write_usb_reg(port_addr, USB_INT_EN, val);
 }
 



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