Re: [PATCH libpciaccess] hurd: Don't read from _SERVERS_BUS_PCI necessarily

2022-02-14 Thread Samuel Thibault
Damien Zammit, le lun. 14 févr. 2022 09:23:33 +, a ecrit: > This allows the fallback mechanism in the hurd create method to be > used in the map range method by reusing the mach port that > corresponds to the root of the pci filesystem. > @@ -168,11 +178,11 @@ pci_device_hurd_map_range(struct

[PATCH libpciaccess] hurd: Don't read from _SERVERS_BUS_PCI necessarily

2022-02-14 Thread Damien Zammit
This allows the fallback mechanism in the hurd create method to be used in the map range method by reusing the mach port that corresponds to the root of the pci filesystem. Also, the offset parameter to vm_map was not needed as the whole range is always mapped from the beginning. --- src/hurd_pc