On a 12.x system, with today's content of /sys I get the following error trying to build the port: nvidia_subr.c:1219:45: error: too few arguments to function call, expected 8, have 7 sc->dma_mask, PAGE_SIZE, 0, attr); ^ /usr/src/sys/vm/vm_extern.h:57:1: note: 'kmem_alloc_contig' declared here vm_offset_t kmem_alloc_contig(struct vmem *, vm_size_t size, int flags, ^ nvidia_subr.c:1267:61: error: too few arguments to function call, expected 3, have 2 kmem_free(at->pte_array[0].virtual_address, at->size); ~~~~~~~~~ ^ /usr/src/sys/vm/vm_extern.h:61:1: note: 'kmem_free' declared here void kmem_free(struct vmem *, vm_offset_t, vm_size_t); ... more errors about kmem_free ...
Err, never mind. I had the 11.x /usr/src mount over. Sorry for the noise.