[haiku-development] Re: [PATCH] [RFC] PCI device reservation for old style drivers

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 30 Aug 2009 15:29:13 +0200

On 2009-08-30 at 02:19:43 [+0200], François Revol <revol@xxxxxxx> wrote:
> Hi there,
> I managed to get a working version of the pci device reservation for
> the old pci bus manager to avoid races between native drivers and
> OSS...
> 
> http://revolf.free.fr/beos/patches/pci_reserve_try4.diff.txt
> 
> I'd bump the version on B_PCI_MODULE_NAME to 1.1 since R5 didn't have
> those calls (nor pci_find_capability actually), but it's not strictly
> needed.
> 
> Didn't try with OSS yet, but calling pci_reserve_device() from itself
> with other args fails as expected, so it should work.
> 
> As an example the support for es1370 is in the diff, it's quite minimal
> so it should be easy to add to other drivers and OSS, and have it ready
> for the alpha.

-1, feature freeze

CU, Ingo

Other related posts: