diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2009-05-11 19:28:03 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2009-05-11 19:28:03 +0000 |
commit | f014b79260a3ac047f9707af67016809d8b8abe9 (patch) | |
tree | 940c6113a69d7b684a8ff3a1984bf88dd93d28d4 /sys/dev | |
parent | f611c18cfbffd1b7cba38a63d29a7c024a006c06 (diff) |
fix for some 6000 adapters that have a One Time Programmable (OTP) ROM
instead of an EEPROM.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_iwn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index ea4e3a382cc..b73ca9fca97 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.50 2009/04/26 02:20:58 cnst Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.51 2009/05/11 19:28:02 damien Exp $ */ /*- * Copyright (c) 2007, 2008 @@ -1203,7 +1203,7 @@ iwn_read_eeprom(struct iwn_softc *sc) uint16_t val; int error; - if ((IWN_READ(sc, IWN_EEPROM_GP) & 0x6) == 0) { + if ((IWN_READ(sc, IWN_EEPROM_GP) & 0x7) == 0) { printf("%s: bad EEPROM signature\n", sc->sc_dev.dv_xname); return EIO; } |