public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bryan Mayland <bmayland@leoninedev.com>
To: linux-kernel@vger.kernel.org
Cc: -=da TRoXX=- <TRoXX@LiquidXTC.nl>
Subject: Re: Framebuffer as a module
Date: Sat, 06 Jan 2001 15:04:33 -0500	[thread overview]
Message-ID: <3A577A51.74C5E0F4@leoninedev.com> (raw)
In-Reply-To: <E14EZMf-0007vp-00@the-village.bc.nu> <y7rk889wk6o.fsf@sytry.doc.ic.ac.uk> <3A5755D6.5607D908@leoninedev.com> <002501c07819$21343900$fd1942c3@bluescreen>

-=da TRoXX=- wrote:

> and i don't get it, who accepts these parameters in the kernel then? i mean
> if i put them in lilo.conf at least SOME thing uses them to set the
> framebuffer right...

    The tdfxfb code does.  When compiled into the kernel, there is a function
(tdfxfb_setup) which the kernel calls with the relevant kernel command-line
parameters.  When compiled as a module, this function is ifdef'ed out, as well
it should be, because I don't think that there is a function which is called to
pass the module parameters.  Modules use MODULE_PARM to 'import' their
parameters.  The code is incomplete, perhaps for a reason.  In theory, the
author should add the required MODULE_PARM macros to export the parameters and
then move the code which does anything besides saving the paramter values to
tdfxfb_init, which is called when the module is loaded /and/ after tdfxfb_setup
when compiled into the kernel.  I don't have the time to fix it myself, I don't
even have a machine with Linux and a Voodoo3 card.

> I know this parameter is for modules only that support modedb (modedb.c) but
> tdfxfb supports that(that's why it works in the kernel)...

    It does, but only when compiled into the kernel due to the way it does its's
setup.

Bry

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2001-01-06 20:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-05 15:54 [PATCH] VESA framebuffer w/ MTRR locks 2.4.0 on init Bryan Mayland
2001-01-05 16:05 ` Alan Cox
2001-01-05 16:31   ` Chris Kloiber
2001-01-05 21:16     ` Steven Walter
2001-01-06  1:12     ` David Wragg
2001-01-06  9:47     ` Gerd Knorr
2001-01-05 16:48   ` Bryan Mayland
2001-01-05 16:54     ` Alan Cox
2001-01-05 17:33       ` Gerd Knorr
2001-01-05 21:40         ` Bryan Mayland
2001-01-05 21:48           ` Alan Cox
2001-01-05 22:01             ` Bryan Mayland
2001-01-06  1:20   ` [PATCH] VESA framebuffer w/MTRR " David Wragg
2001-01-06 17:08     ` Bryan Mayland
2001-01-06 19:23       ` Alan Cox
2001-01-06 17:28     ` Framebuffer as a module Bryan Mayland
     [not found]       ` <002501c07819$21343900$fd1942c3@bluescreen>
2001-01-06 20:04         ` Bryan Mayland [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-05 17:52 -=da TRoXX=-
2001-01-06  7:41 ` Keith Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A577A51.74C5E0F4@leoninedev.com \
    --to=bmayland@leoninedev.com \
    --cc=TRoXX@LiquidXTC.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox