diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-03-17 22:15:16 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-03-17 22:15:16 +0000 |
commit | ecc54de6fc31af7ead4557033f5dde527145fb88 (patch) | |
tree | a69dee88a380d31a848975fbd52278c37b9df8c0 /sys/arch | |
parent | 033625cea05c003907182d2b0f3d59a34844a963 (diff) |
add two more revs of romless cards; from netbsd
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/dev/sti_sgc.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/sti_sgc.c b/sys/arch/hppa/dev/sti_sgc.c index 3a3d75d7644..3d073833386 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.27 2005/03/01 15:04:45 mickey Exp $ */ +/* $OpenBSD: sti_sgc.c,v 1.28 2005/03/17 22:15:15 mickey Exp $ */ /* * Copyright (c) 2000-2003 Michael Shalayeff @@ -58,6 +58,8 @@ #define STI_GOPT1_REV 0x17 #define STI_GOPT2_REV 0x70 #define STI_GOPT3_REV 0xd0 +#define STI_GOPT4_REV 0x20 +#define STI_GOPT5_REV 0x40 /* internal EG */ #define STI_INEG_REV 0x60 @@ -85,7 +87,9 @@ sti_sgc_getrom(int unit, struct confargs *ca) if (ca->ca_type.iodc_sv_model == HPPA_FIO_GSGC && (ca->ca_type.iodc_revision == STI_GOPT1_REV || ca->ca_type.iodc_revision == STI_GOPT2_REV || - ca->ca_type.iodc_revision == STI_GOPT3_REV)) + ca->ca_type.iodc_revision == STI_GOPT3_REV || + ca->ca_type.iodc_revision == STI_GOPT4_REV || + ca->ca_type.iodc_revision == STI_GOPT5_REV)) /* these three share the onboard's prom */ ; else rom = 0; @@ -174,6 +178,7 @@ sti_sgc_probe(parent, match, aux) printf("sti: unknown type (%x)\n", devtype); #endif rv = 0; + romend = 0; } if (rv && |