| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* -*- linux-c -*- ------------------------------------------------------- * |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Copyright (C) 1991, 1992 Linus Torvalds |
|---|
| .. | .. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Original APM BIOS checking by Stephen Rothwell, May 1994 |
|---|
| 8 | 9 | * (sfr@canb.auug.org.au) |
|---|
| 9 | | - * |
|---|
| 10 | | - * This file is part of the Linux kernel, and is made available under |
|---|
| 11 | | - * the terms of the GNU General Public License version 2. |
|---|
| 12 | 10 | * |
|---|
| 13 | 11 | * ----------------------------------------------------------------------- */ |
|---|
| 14 | 12 | |
|---|
| .. | .. |
|---|
| 62 | 60 | intcall(0x15, &ireg, &oreg); |
|---|
| 63 | 61 | |
|---|
| 64 | 62 | if ((oreg.eflags & X86_EFLAGS_CF) || oreg.bx != 0x504d) { |
|---|
| 65 | | - /* Failure with 32-bit connect, try to disconect and ignore */ |
|---|
| 63 | + /* Failure with 32-bit connect, try to disconnect and ignore */ |
|---|
| 66 | 64 | ireg.al = 0x04; |
|---|
| 67 | 65 | intcall(0x15, &ireg, NULL); |
|---|
| 68 | 66 | return -1; |
|---|