Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Restore the WM_F_EEPROM_SEMAPHORE flags for 8257...



details:   https://anonhg.NetBSD.org/src/rev/87bceb96370d
branches:  trunk
changeset: 797240:87bceb96370d
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Jul 11 07:22:45 2014 +0000

description:
Restore the WM_F_EEPROM_SEMAPHORE flags for 82575-I354 and 80003 cases.
The flag was removed in last commit.

diffstat:

 sys/dev/pci/if_wm.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r ee893d1d8dfe -r 87bceb96370d sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Fri Jul 11 02:23:44 2014 +0000
+++ b/sys/dev/pci/if_wm.c       Fri Jul 11 07:22:45 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.273 2014/07/11 02:23:44 msaitoh Exp $      */
+/*     $NetBSD: if_wm.c,v 1.274 2014/07/11 07:22:45 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.273 2014/07/11 02:23:44 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.274 2014/07/11 07:22:45 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1636,7 +1636,8 @@
        case WM_T_80003:
                /* SPI */
                wm_set_spiaddrbits(sc);
-               sc->sc_flags |= WM_F_EEPROM_EERDEEWR | WM_F_SWFW_SYNC;
+               sc->sc_flags |= WM_F_EEPROM_EERDEEWR | WM_F_SWFW_SYNC
+                   | WM_F_EEPROM_SEMAPHORE;
                break;
        case WM_T_ICH8:
        case WM_T_ICH9:



Home | Main Index | Thread Index | Old Index