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

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 30 Aug 2009 18:33:42 +0200 CEST

> > 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

Well, it was kind of planned for the alpha...
And it's really a bugfix for the KDLs due to OSS being used at the same 
times as native drivers.

François.

Other related posts: