lkml.org 
[lkml]   [2008]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/19] pci: introduce an pci_ioremap(pdev, barnr) function
> > This is the same like pci_iomap(pdev, number, 0), no?
>
> Yeah... Looks like that function isn't that widely used though. Is the maxlen
> param really needed? Looks like the drivers that use it often pass 0 or the

In some cases yes you do need the length.

> BAR length anyway, and Arjan converted existing drivers too, which is where
> the real work is.

He could have converted them to the existing perfectly good API not
invented another one. He still can - I'm sure its a perl one liner to
redo them in terms of pci_iomap()

Alan


\
 
 \ /
  Last update: 2008-09-29 19:49    [W:0.046 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site