CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2013/01/16 19:44:42
Modified files: sys/dev/ic : mpi.c Log message: we dont need to read the interrupt status register to know if we have any work to do in the interrupt handler, or to clear it. the relevant bits indicate whether there's work on the doorbell and clear when there isnt. we need to read the doorbell if there is work to do, so lets just go that straight away anyway. get rid of bus_space_barriers in the io path. barriers are for enforcing ordering. the doorbell reads and writes dont depend on any other register values so ordering isnt applicable here.