> This is the code part that handles allocation: > > psc->irq_rid = 0; > psc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &psc->irq_rid, > RF_ACTIVE | RF_SHAREABLE); > if (psc->irq == NULL) { > device_printf(dev, "could not allocate interrupt resource\n"); > return ENXIO; > } > > .... > The driver compiled but I don't think this would help me as I'm getting the > error from bus_alloc_resource_any, > so psc->irq will be NULL. If there's anyone with the knowledge to help me assign an irq manually with the ralinkwifi driver, please give me a clue. Is there any driver development docs for Haiku? Best regards, Peter