summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/agten.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/agten.c')
-rw-r--r--sys/arch/sparc/dev/agten.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/sparc/dev/agten.c b/sys/arch/sparc/dev/agten.c
index 5179d897c86..e28c6a1ff50 100644
--- a/sys/arch/sparc/dev/agten.c
+++ b/sys/arch/sparc/dev/agten.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agten.c,v 1.2 2003/03/06 22:17:49 miod Exp $ */
+/* $OpenBSD: agten.c,v 1.3 2003/06/06 19:42:47 miod Exp $ */
/*
* Copyright (c) 2002, 2003, Miodrag Vallat.
* All rights reserved.
@@ -157,15 +157,9 @@ struct cfdriver agten_cd = {
int
agtenmatch(struct device *parent, void *vcf, void *aux)
{
- struct cfdata *cf = vcf;
struct confargs *ca = aux;
struct romaux *ra = &ca->ca_ra;
- /*
- * Mask out invalid flags from the user.
- */
- cf->cf_flags &= FB_USERMASK;
-
if (strcmp(ra->ra_name, "PFU,aga") != 0)
return (0);
@@ -181,8 +175,6 @@ agtenattach(struct device *parent, struct device *self, void *args)
int node, isconsole;
char *nam;
- sc->sc_sunfb.sf_flags = self->dv_cfdata->cf_flags;
-
node = ca->ca_ra.ra_node;
nam = getpropstring(node, "model");
printf(": model %s", nam);