IRQ_OFFSET

2008-04-22 Thread Saumendra Dash
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

RE: SATA driver

2008-02-12 Thread Saumendra Dash
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

SATA driver

2008-02-11 Thread Saumendra Dash
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

RE: HI all... reply pls

2007-11-21 Thread Saumendra Dash
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

RE: HI all... reply pls

2007-11-21 Thread Saumendra Dash
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

RE: HI all... reply pls

2007-11-20 Thread Saumendra Dash
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

RE: get_fs( ) and set_fs( )

2007-10-25 Thread Saumendra Dash
> 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