lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Specifying properly the PCI driver model on all linux architectur es, (ioremap(), bus_to_virt() ...)
Bret Indrelee wrote:
> Just to clarify something, it looks as if check_mem_region() and ilk were
> added in the 2.3 kernel. I can't find any code that use these routines in
> the linux-2.3.24 drivers sources contained in the char or block
> subdirectories.

find drivers -type f | xargs egrep 'check_mem_region|iomem_resource'


> What are 2.2 drivers supposed to do when claiming PCI memory space,

Plug and Pray(tm)


> At a guess, I would just
> duplicate the macro from the 2.3 sources back into 2.2 so that the driver
> works with either but uses the new names.

It will not work under 2.2.x because check_mem_region uses new resource
allocation code

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.114 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site