diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-06 19:42:48 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-06 19:42:48 +0000 |
commit | a02c11d1c0cebd6695820e5f7bd3fa4fb14853a8 (patch) | |
tree | ed72d08517228da09cdf17d3e76c399cf516d352 /sys/arch/sparc/dev/agten.c | |
parent | 1ab248eebcfed5ce85b3cbefe4593992c798cb8d (diff) |
Do not bother taking care of the frame buffer flags in the softc, if the
driver does not use any. Basically this changes all drivers but those that
can handle a P4 card.
Diffstat (limited to 'sys/arch/sparc/dev/agten.c')
-rw-r--r-- | sys/arch/sparc/dev/agten.c | 10 |
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); |