"François Revol" <revol@xxxxxxx> wrote: > 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. I would keep the version to v1; our drivers don't have to be backwards compatible to BeOS. > 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. Why don't you also change the HDA driver, and commit this to the repository? This should get some testing before we could think about including this (and then OSS) to the alpha. Bye, Axel.