diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2017-05-04 09:03:43 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2017-05-04 09:03:43 +0000 |
commit | f584933f2ef0f5417151635af0a671507f9ec2bb (patch) | |
tree | 5d0d2faf781e3b3a5dc75d03b06932cc4e9e8f03 /sys | |
parent | d9710761626ca18772a1225525894d5d09353d11 (diff) |
If iwm_nic_lock() cannot access the device then print "acquiring device failed"
instead of "device timeout". The latter is printed by the Tx watchdog already.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_iwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index 215eef9f75d..4f94abb8c92 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.177 2017/04/27 06:14:23 stsp Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.178 2017/05/04 09:03:42 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh <info@genua.de> @@ -920,7 +920,7 @@ iwm_nic_lock(struct iwm_softc *sc) | IWM_CSR_GP_CNTRL_REG_FLAG_GOING_TO_SLEEP, 15000)) { rv = 1; } else { - printf("%s: device timeout\n", DEVNAME(sc)); + printf("%s: acquiring device failed\n", DEVNAME(sc)); IWM_WRITE(sc, IWM_CSR_RESET, IWM_CSR_RESET_REG_FLAG_FORCE_NMI); } |