* mdacon driver updates
@ 2002-02-10 0:22 Boris Bezlaj
2002-02-10 2:36 ` Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Boris Bezlaj @ 2002-02-10 0:22 UTC (permalink / raw)
To: Paul Gortmaker, Edward Betts; +Cc: linux-kernel
hi
can someone point me to the current maintainer of mdacon.c (Hercules console drv)?
i was unable to find it in MAINTAINERS and the header of the driver is not clear about this..
i would like to make some modifications to the code..small updates etc.
if there is no maintainer, is it ok to post the patch(es) to the lkml ? (when i finish them and testing : )
thanks
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mdacon driver updates
2002-02-10 0:22 Boris Bezlaj
@ 2002-02-10 2:36 ` Alan Cox
2002-02-10 15:36 ` James Simmons
0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2002-02-10 2:36 UTC (permalink / raw)
To: Boris Bezlaj; +Cc: Paul Gortmaker, Edward Betts, linux-kernel
> can someone point me to the current maintainer of mdacon.c (Hercules console drv)?
> i was unable to find it in MAINTAINERS and the header of the driver is not clear about this..
It seems to be "whoever last fixed it"
> if there is no maintainer, is it ok to post the patch(es) to the lkml ? (when i finish them and testing : )
Thats probably best
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mdacon driver updates
2002-02-10 2:36 ` Alan Cox
@ 2002-02-10 15:36 ` James Simmons
0 siblings, 0 replies; 6+ messages in thread
From: James Simmons @ 2002-02-10 15:36 UTC (permalink / raw)
To: Alan Cox; +Cc: Boris Bezlaj, Paul Gortmaker, Edward Betts, linux-kernel
> > can someone point me to the current maintainer of mdacon.c (Hercules console drv)?
> > i was unable to find it in MAINTAINERS and the header of the driver is not clear about this..
>
> It seems to be "whoever last fixed it"
Actually I have a MDA card and having being working on it. I use my MDA as
a second console to debug fbdev drivers. So sned patches my way.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mdacon driver updates
@ 2002-02-19 0:50 Jan Schubert
2002-02-19 10:43 ` Zwane Mwaikambo
2002-02-19 10:47 ` Paul Gortmaker
0 siblings, 2 replies; 6+ messages in thread
From: Jan Schubert @ 2002-02-19 0:50 UTC (permalink / raw)
To: linux-kernel, boris
I've posted a small fix to mdacon.c at the end of last year (while
Marcello was in vacation). It has'nt made it to the kernel yet, nor was
there any feedback. I've thought, thats the way like open source works...
So, here we go again (against 2.4.17; my MDA is detected, but not
initialized, see my last posting):
--- drivers/video/mdacon.c.orig Sun Dec 30 02:44:25 2001
+++ drivers/video/mdacon.c Sun Dec 30 21:36:50 2001
@@ -24,6 +24,7 @@
*
* Changelog:
* Paul G. (03/2001) Fix mdacon= boot prompt to use __setup().
+ * 20011230 Jan.Schubert@GMX.li - consider non-Hercules MDA compatible
*/
#include <linux/types.h>
@@ -291,6 +292,10 @@
break;
}
}
+ else { /* consider non-Hercules as Hercules-compatible */
+ mda_type = TYPE_HERC;
+ mda_type_name = "Hercules compatible (hopefully)";
+ }
return 1;
}
@@ -342,9 +347,8 @@
return NULL;
}
- if (mda_type != TYPE_MDA) {
- mda_initialize();
- }
+ /* at this point, we found an MDA */
+ mda_initialize();
/* cursor looks ugly during boot-up, so turn it off */
mda_set_cursor(mda_vram_len - 1);
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mdacon driver updates
2002-02-19 0:50 mdacon driver updates Jan Schubert
@ 2002-02-19 10:43 ` Zwane Mwaikambo
2002-02-19 10:47 ` Paul Gortmaker
1 sibling, 0 replies; 6+ messages in thread
From: Zwane Mwaikambo @ 2002-02-19 10:43 UTC (permalink / raw)
To: Jan Schubert; +Cc: Linux Kernel
On Tue, 19 Feb 2002, Jan Schubert wrote:
> I've posted a small fix to mdacon.c at the end of last year (while
> Marcello was in vacation). It has'nt made it to the kernel yet, nor was
> there any feedback. I've thought, thats the way like open source works...
James Simmons <jsimmons@transvirtual.com> volunteered to take in patches.
Regards,
Zwane Mwaikambo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mdacon driver updates
2002-02-19 0:50 mdacon driver updates Jan Schubert
2002-02-19 10:43 ` Zwane Mwaikambo
@ 2002-02-19 10:47 ` Paul Gortmaker
1 sibling, 0 replies; 6+ messages in thread
From: Paul Gortmaker @ 2002-02-19 10:47 UTC (permalink / raw)
To: Jan Schubert; +Cc: linux-kernel, boris
Jan Schubert wrote:
>
> I've posted a small fix to mdacon.c at the end of last year (while
> Marcello was in vacation). It has'nt made it to the kernel yet, nor was
> there any feedback. I've thought, thats the way like open source works...
Well, you can't be too surprised when everybody doesn't jump to review
driver changes for hardware that dates to the early 80's :)
I think your change may break true MDA cards (as in an original full
length 8 bit text only card, clustered with enough TTL chips that could
heat a small room...)
If I read the current code right, the p==q case means that TYPE_MDA
remains set, and these cards don't get mda_initialize(). Only the
TYPE_HERC* cards get mda_initialize().
Your change forces TYPE_HERC and forces mda_initialize() on all
non Herc cards, which is a departure from existing behaviour.
So, there are two possibilities:
1) mda_initialize() should really be called hga_initialize() and
your card is simply broken in some way :)
or
2) mda_initialize() is also needed for some non Herc cards too.
What kind of card did you say needed this change?
Paul.
>
> So, here we go again (against 2.4.17; my MDA is detected, but not
> initialized, see my last posting):
>
> --- drivers/video/mdacon.c.orig Sun Dec 30 02:44:25 2001
> +++ drivers/video/mdacon.c Sun Dec 30 21:36:50 2001
> @@ -24,6 +24,7 @@
> *
> * Changelog:
> * Paul G. (03/2001) Fix mdacon= boot prompt to use __setup().
> + * 20011230 Jan.Schubert@GMX.li - consider non-Hercules MDA compatible
> */
>
> #include <linux/types.h>
> @@ -291,6 +292,10 @@
> break;
> }
> }
> + else { /* consider non-Hercules as Hercules-compatible */
> + mda_type = TYPE_HERC;
> + mda_type_name = "Hercules compatible (hopefully)";
> + }
>
> return 1;
> }
> @@ -342,9 +347,8 @@
> return NULL;
> }
>
> - if (mda_type != TYPE_MDA) {
> - mda_initialize();
> - }
> + /* at this point, we found an MDA */
> + mda_initialize();
>
> /* cursor looks ugly during boot-up, so turn it off */
> mda_set_cursor(mda_vram_len - 1);
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-02-19 11:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-19 0:50 mdacon driver updates Jan Schubert
2002-02-19 10:43 ` Zwane Mwaikambo
2002-02-19 10:47 ` Paul Gortmaker
-- strict thread matches above, loose matches on Subject: below --
2002-02-10 0:22 Boris Bezlaj
2002-02-10 2:36 ` Alan Cox
2002-02-10 15:36 ` James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox