diff options
author | dfr <dfr@FreeBSD.org> | 1998-10-31 10:35:24 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-10-31 10:35:24 +0000 |
commit | 6812cb0412f8b584d79915b6f855ce0cbdc2d962 (patch) | |
tree | 04c86d5710708f0a053a9c18d0e4a4a8523ef270 /sys/isa | |
parent | c9ebff45d03b2e60c25849990936ef4b3bae0483 (diff) | |
download | FreeBSD-src-6812cb0412f8b584d79915b6f855ce0cbdc2d962.zip FreeBSD-src-6812cb0412f8b584d79915b6f855ce0cbdc2d962.tar.gz |
* Fix vga_probe() so that it doesn't report a non-vga display adapter as
a vga.
* Fix broken logic in syscons for a failed probe.
* Fix AlphaStation 500/600 so that non-serial consoles are supported.
Submitted by: Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu> (vga bits),
Andrew Gallatin <gallatin@cs.duke.edu> (AS500/AS600)
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/syscons.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c index 6d9f7c9..3c3bf5e 100644 --- a/sys/isa/syscons.c +++ b/sys/isa/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.273 1998/08/06 09:15:53 dfr Exp $ + * $Id: syscons.c,v 1.274 1998/09/17 09:38:35 dfr Exp $ * from: i386/isa syscons.c,v 1.278 */ @@ -452,12 +452,12 @@ scprobe(device_t dev) if (!scvidprobe(device_get_unit(dev), isa_get_flags(dev))) { if (bootverbose) printf("sc%d: no video adapter is found.\n", device_get_unit(dev)); - return (0); + return (ENXIO); } (*biosvidsw.diag)(bootverbose); #if defined(VESA) && defined(VM86) if (vesa_load()) - return FALSE; + return ENXIO; (*biosvidsw.diag)(bootverbose); #endif |