cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c
amrvar.h
Scott Long
scottl at FreeBSD.org
Sat Jan 15 23:34:27 PST 2005
scottl 2005-01-16 07:34:26 UTC
FreeBSD src repository
Modified files:
sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c
amrvar.h
Log:
Lock the AMR driver:
- Introduce the amr_io_lock to control access to command queues, bio queues,
and the hardware.
- Eliminate the taskqueue and do all completion processing in the ithread.
- Assign a static slot number to each command instead of doing a linear
search for free slots each time a command is needed.
- Modify the interrupt handler to more closely match what Linux does, for
safety.
Revision Changes Path
1.58 +94 -99 src/sys/dev/amr/amr.c
1.13 +16 -0 src/sys/dev/amr/amr_cam.c
1.35 +1 -1 src/sys/dev/amr/amr_disk.c
1.26 +5 -2 src/sys/dev/amr/amr_pci.c
1.25 +4 -4 src/sys/dev/amr/amrvar.h
More information about the cvs-src
mailing list