CVS commit: src/sys/dev/i2o

2023-09-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Sep 7 20:07:04 UTC 2023 Modified Files: src/sys/dev/i2o: dpti.c iop.c Log Message: Make the I2O management cdevs MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/dev/i2o/dpti.c cvs rdiff -u -r1.92 -

CVS commit: src/sys/dev/i2o

2023-09-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Sep 7 20:07:04 UTC 2023 Modified Files: src/sys/dev/i2o: dpti.c iop.c Log Message: Make the I2O management cdevs MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/dev/i2o/dpti.c cvs rdiff -u -r1.92 -

CVS commit: src/sys/dev/i2o

2023-09-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Sep 7 20:03:25 UTC 2023 Modified Files: src/sys/dev/i2o: i2o.h Log Message: Remove unused I2O LAN class defs (the LAN driver was deleted years ago). To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/i2o/

CVS commit: src/sys/dev/i2o

2023-09-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Sep 7 20:03:25 UTC 2023 Modified Files: src/sys/dev/i2o: i2o.h Log Message: Remove unused I2O LAN class defs (the LAN driver was deleted years ago). To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/i2o/

CVS commit: src/sys/dev/i2o

2023-05-31 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed May 31 20:00:51 UTC 2023 Modified Files: src/sys/dev/i2o: ld_iop.c Log Message: Fix typo. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/i2o/ld_iop.c Please note that diffs are not public domain; they

CVS commit: src/sys/dev/i2o

2023-05-31 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed May 31 20:00:51 UTC 2023 Modified Files: src/sys/dev/i2o: ld_iop.c Log Message: Fix typo. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/i2o/ld_iop.c Please note that diffs are not public domain; they

CVS commit: src/sys/dev/i2o

2010-02-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Feb 21 18:50:11 UTC 2010 Modified Files: src/sys/dev/i2o: iop.c Log Message: Fix confusion about PRE/POST in previous; and another place that has the same issue. Also add a BUS_DMASYNC_POSTWRITE to the POLL operation. Problem

Re: CVS commit: src/sys/dev/i2o

2010-02-21 Thread Manuel Bouyer
On Mon, Feb 22, 2010 at 02:06:54AM +0900, Izumi Tsutsui wrote: > > > (POLL() macro with bus_dmamap_sync() seems also wrong..) > > > > Hum, it looks correct to me. We are after the device wrote something > > to RAM, so it's a POSTREAD operation, isn't it ? > > Strictly, if DMA is still on-going ev

Re: CVS commit: src/sys/dev/i2o

2010-02-21 Thread Izumi Tsutsui
> > (POLL() macro with bus_dmamap_sync() seems also wrong..) > > Hum, it looks correct to me. We are after the device wrote something > to RAM, so it's a POSTREAD operation, isn't it ? Strictly, if DMA is still on-going even after DMA'ed memory is polled, we also have to call PREREAD sync every t

Re: CVS commit: src/sys/dev/i2o

2010-02-21 Thread Manuel Bouyer
On Sun, Feb 21, 2010 at 11:52:13PM +0900, Izumi Tsutsui wrote: > > Modified Files: > > src/sys/dev/i2o: iop.c > > > > Log Message: > > Fix bus_dmamap_sync(): it should be a BUS_DMASYNC_POSTWRITE after > > writing to DMA memory. > > Found by code inspection. > > > *sw = htole32(0); > >

Re: CVS commit: src/sys/dev/i2o

2010-02-21 Thread Izumi Tsutsui
> Modified Files: > src/sys/dev/i2o: iop.c > > Log Message: > Fix bus_dmamap_sync(): it should be a BUS_DMASYNC_POSTWRITE after > writing to DMA memory. > Found by code inspection. > *sw = htole32(0); > bus_dmamap_sync(sc->sc_dmat, sc->sc_scr_dmamap, 0, sizeof(*sw), > -

CVS commit: src/sys/dev/i2o

2010-02-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Feb 21 14:16:47 UTC 2010 Modified Files: src/sys/dev/i2o: iop.c Log Message: Fix bus_dmamap_sync(): it should be a BUS_DMASYNC_POSTWRITE after writing to DMA memory. Found by code inspection. To generate a diff of this commi

CVS commit: src/sys/dev/i2o

2010-02-19 Thread Aleksej Saushev
Module Name:src Committed By: asau Date: Fri Feb 19 12:36:15 UTC 2010 Modified Files: src/sys/dev/i2o: iop.c Log Message: Don't mix BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTWRITE. Suggested by , fixes PR kern/42662 To generate a diff of this commit: cvs rdiff -u -r1.77 -r