On 22:27 Thu 25 Jun , Reyk Floeter wrote: > On Thu, Jun 25, 2015 at 09:21:11PM +0200, Mark Kettenis wrote: > > There really is no excuse for using dma_alloc(9) if you have the > > bus_dmatag_t available. > > > > This re-uses tulip_busdma_allocmem(), which simplifies the code for > > allocating the dmamap and such. > > > > Unfortunately I can't test this myself right now. > > > > Fixes the panic on Hyper-V, see dmesg below. > > Unrelated to that, no interrupts on the nic with the ioapic enabled > (no traffic and autoneg timeouts). > > Reyk
On DragonFly BSD and NetBSD I was able to get the NIC interrupts working with enabled ioapic, by forcing the NIC's IRQ to be configured as edge/high triggered instead of level/low in the ioapic.