summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-07-16 06:42:07 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-07-16 06:42:07 +0000
commitcad1c025182c10aaa9ca55d6c3a94e15fb570a4b (patch)
treea57e2613abc2b1b33124ec0113609099fa79072d
parent1b424d27790ba1b85b69bc11281b63116e3f2082 (diff)
only match int-eg on gecko sgc cards
-rw-r--r--sys/arch/hppa/dev/sti_sgc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/sti_sgc.c b/sys/arch/hppa/dev/sti_sgc.c
index dd07803d136..0eac66d7a25 100644
--- a/sys/arch/hppa/dev/sti_sgc.c
+++ b/sys/arch/hppa/dev/sti_sgc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sti_sgc.c,v 1.13 2003/05/20 20:54:43 mickey Exp $ */
+/* $OpenBSD: sti_sgc.c,v 1.14 2003/07/16 06:42:06 mickey Exp $ */
/*
* Copyright (c) 2000-2003 Michael Shalayeff
@@ -83,7 +83,8 @@ sti_sgc_getrom(struct confargs *ca)
paddr_t rom;
if (PAGE0->pd_resv2[1] < HPPA_IOBEGIN)
- if (ca->ca_type.iodc_revision == STI_INEG_REV)
+ if (ca->ca_type.iodc_sv_model == HPPA_FIO_GSGC &&
+ ca->ca_type.iodc_revision == STI_INEG_REV)
rom = STI_INEG_PROM;
else
rom = ca->ca_hpa;