Re: lug-bg: Compile driver as module or in kernel
- Subject: Re: lug-bg: Compile driver as module or in kernel
- From: Doncho Gunchev <mr700@xxxxxxxxxxxx>
- Date: Tue, 9 Sep 2003 13:44:37 +0300
- Organization: GlobalNet
imenno: cut-n-paste ot kernel docs primerno:
--- /usr/src/linux/Documentation/networking/ltpc.txt ---
--- cut ---
When the driver is compiled into the kernel, you can add a line such
as the following to your /etc/lilo.conf:
append="ltpc=0x240,9,1"
where the parameters (in order) are the port address, IRQ, and DMA
channel. The second and third values can be omitted, in which case
the driver will try to determine them itself.
If you load the driver as a module, you can pass the parameters "io=",
"irq=", and "dma=" on the command line with insmod or modprobe, or add
them as options in /etc/modules.conf:
alias lt0 ltpc # autoload the module when the interface is configured
options ltpc io=0x240 irq=9 dma=1
--- cut ---
principa e syshtiq za wsichki moduli, prosto RTFM ;P~~~
> On 2003 Sep 09 Tuesday 12:04, George Ivanov wrote:
> On Tuesday 09 September 2003 11:01, Damyan Ivanov wrote:
> > On Tue, 9 Sep 2003 10:15:57 +0300
> >
> > George Ivanov <joro@xxxxxxxxxxxxx> wrote:
> > > Zdravejte,
> > > Dosega sym izpolzval samo moduli za mrejovata si karta i za zvuka.
> > > Sega iskam da probvam da gi kompiliram v qdroto.
> > > Kogato sa kato moduli mi e iasno kak da gi zarejdam.
> > > Kak stava ako s v qdroto?
> >
> > ami zarezhdat se kato boot-va kernel-a. ne e nuzhno da pravish nishto.
>
> OK. Tova dobre no vse pak iskam da kaja 4e ETH0 mi e edikvo si.
> Sushtoto i za zvuka.
> Shtooto ne moga da izpulqnq modprobe sb
> ili modprobe 8139too shtoto ne sa moduli vse pak. Ili gersha ?
>
> > > Primerno kak da si podkaram zvuka i mrejata ?
> >
> > za mrezhata - bez izmenenie.
> >
> > za audioto ako na modula si mu kazval nyakakvi specialni parametri shte
> > tryabva da gi slozhish na komandniya red na kernela (Boot-prompt-howto).
> >
> >
> > Mezhdu drugoto, lyubopiten sam zashto sa ti v yadroto? spored men
> > modulite sa po-gavkavo reshenie.
>
> Ne iskam da go diskutirame 4e shte stane golqma pushilka :)))))))
> A ina4e za ne mi se nalaga da si slagam nova versiq na modinittools.
>
> > dam
>
> ===========================================================================
>= A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
> Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
> ===========================================================================
>=
--
Regards,
Doncho N. Gunchev
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|