Hi all,
The macro IRQ_OFFSET is used to map interrupt vector(IRQ) to its interrupt
sources.
How the value of IRQ_OFFSET is decided? Is there any standard way to define
the value of IRQ_OFFSET?
Note: The IRQ_OFFSET is chosen so that the device interrupt don't overlap with
the processor excep
Thanks Thomas.
Saumendra
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas Petazzoni
Sent: Tuesday, February 12, 2008 1:07 PM
To: kernelnewbies@nl.linux.org
Subject: Re: SATA driver
Hi,
Le Tue, 12 Feb 2008 10:55:59 +0530,
"Saumendra Dash&quo
Hi all,
I'm working on a ULI1575 SATA driver which I want to run in Emulated-PATA
mode.
I have the following understanding to run a SATA device in Emulated-PATA mode:
1. In Emulated-PATA mode the legacy IDE driver should access the SATA device
directly in combined mode.
2. The class co
Hi ,
> thanx for the reply.I want to use
>ioremap returned pointer as globalin the driver..how can i do it
You need to define a pointer for the base address returned by ioremap() in
your golbal device structure. You can refer some other PCI device driver
Hi vasant,
> I am writing device drivers for PCI card.I want write
>my own Read and Write function calls in Driver module..
>I am using "ioremap" function which return a pointeri want to use
>this pointer in my own read and write functionalitieskindly reply
>to this as soo
Hi vasant,
> I am writing device drivers for PCI card.I want write
>my own Read and Write function calls in Driver module..
>I am using "ioremap" function which return a pointeri want to use
>this pointer in my own read and write functionalitieskindly reply
>to this as soo
> I have seen the following codes, but do not know what's the meaning of them:
> mm_segment_t old_fs;
> old_fs = get_fs();
> set_fs (KERNEL_DS);
>
> set_fs(old_fs);
> What is the usage of these codes and in what condition they will be used?
If you want to invoke a sys call from th