diff options
author | phk <phk@FreeBSD.org> | 1997-03-30 09:08:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-03-30 09:08:00 +0000 |
commit | 8a36e4bbb49416495dfacdc5329201cf46774d25 (patch) | |
tree | 6816d7c99228ecb781821e55596fa29b470492c9 | |
parent | 5dcdf377548a93bea73a742f821c8c19f3cf018a (diff) | |
download | FreeBSD-src-8a36e4bbb49416495dfacdc5329201cf46774d25.zip FreeBSD-src-8a36e4bbb49416495dfacdc5329201cf46774d25.tar.gz |
Fix embarrasing typo that survived because I applied the wrong patch-
file.
Noticed by: Eric Jones <ejon@psa.pencom.com>
-rw-r--r-- | sys/i386/apm/apm.c | 6 | ||||
-rw-r--r-- | sys/i386/bios/apm.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c index 11fc12a..c39be9d 100644 --- a/sys/i386/apm/apm.c +++ b/sys/i386/apm/apm.c @@ -15,7 +15,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.54 1997/03/28 18:38:19 phk Exp $ + * $Id: apm.c,v 1.55 1997/03/29 11:06:37 phk Exp $ */ #include <sys/param.h> @@ -692,10 +692,10 @@ apmattach(struct isa_device *dvp) apm_addr.offset = sc->cs_entry; if ((dvp->id_flags & 0x10)) { - if ((dvp->id_flags & 0xf) => 0x2) { + if ((dvp->id_flags & 0xf) >= 0x2) { apm_driver_version(0x102); } - if (!apm_version && (dvp->id_flags & 0xf) => 0x1) { + if (!apm_version && (dvp->id_flags & 0xf) >= 0x1) { apm_driver_version(0x101); } } else { diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index 11fc12a..c39be9d 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -15,7 +15,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.54 1997/03/28 18:38:19 phk Exp $ + * $Id: apm.c,v 1.55 1997/03/29 11:06:37 phk Exp $ */ #include <sys/param.h> @@ -692,10 +692,10 @@ apmattach(struct isa_device *dvp) apm_addr.offset = sc->cs_entry; if ((dvp->id_flags & 0x10)) { - if ((dvp->id_flags & 0xf) => 0x2) { + if ((dvp->id_flags & 0xf) >= 0x2) { apm_driver_version(0x102); } - if (!apm_version && (dvp->id_flags & 0xf) => 0x1) { + if (!apm_version && (dvp->id_flags & 0xf) >= 0x1) { apm_driver_version(0x101); } } else { |