request_mem_region kindly reply to this....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
 
            I am new to linux programming....i am programming for PCI card.....My problem is i have used "request_mem_region( )" command and requested for 1k of memory.....It is returning failure.How to tackle this....
 
         i  did like this :
 char *p;
p=request_mem_region(0x2000,0xb,"pci");
 
it is returning null !...(failure) .
 
should i fill the struct resource elements.... and then do it or can i directly request for the memory from the given location.....as i did now
 
Kindly reply to me regarding this As soon As possible....

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux