RE: accessing on-card ram/rom

2000-11-09 Thread GĂ©rard Roudier
; > Thanks and regards, > -hiren > > > -Original Message- > > From: Jeff Garzik [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, November 08, 2000 2:53 PM > > To: MEHTA,HIREN (A-SanJose,ex1) > > Cc: '[EMAIL PROTECTED]' > > Subject: Re: accessi

Re: accessing on-card ram/rom

2000-11-09 Thread Richard B. Johnson
You need ioremap(), etc. Paging is enabled, you need ioremap() to create a page-table entry (PTE). Cheers, Dick Johnson Penguin : Linux version 2.4.0 on an i686 machine (799.54 BogoMips). "Memory is like gasoline. You use it up when you are running. Of course you get it all back when you reboo

Re: accessing on-card ram/rom

2000-11-08 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: > I looked at the IO-mapping.txt file. It says that > on x86 architecture it should not make any difference. > It also says that "on x86 it _is_ the same memory space. So > on x86 it actually works to just dereference a pointer". > Any inputs on this ? Don't depend on ar

RE: accessing on-card ram/rom

2000-11-08 Thread hiren_mehta
ginal Message- > From: Jeff Garzik [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 08, 2000 2:53 PM > To: MEHTA,HIREN (A-SanJose,ex1) > Cc: '[EMAIL PROTECTED]' > Subject: Re: accessing on-card ram/rom > > > "MEHTA,HIREN (A-SanJose,ex1)" wro

Re: accessing on-card ram/rom

2000-11-08 Thread Jeff Garzik
"MEHTA,HIREN (A-SanJose,ex1)" wrote: > I have a PCI card which has on-card ram/rom which gets mapped > into pci address space and there is a separate base register > for this memory. Now the question is : can I access this on-card > memory by converting the pci base address into the virtual addres

accessing on-card ram/rom

2000-11-08 Thread MEHTA,HIREN (A-SanJose,ex1)
Hi All, I have a PCI card which has on-card ram/rom which gets mapped into pci address space and there is a separate base register for this memory. Now the question is : can I access this on-card memory by converting the pci base address into the virtual address using bus_to_virt and adding the r