diff options
author | marius <marius@FreeBSD.org> | 2008-04-24 22:48:34 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2008-04-24 22:48:34 +0000 |
commit | f40a7a090aab840dcc24ca325caa00070a96ed7c (patch) | |
tree | c9b22bff32de3c305796a17f17f2080f5f61e021 /sys/dev/vx | |
parent | 024bd8476c324cae36686b4eadac9adfd512f7dc (diff) | |
download | FreeBSD-src-f40a7a090aab840dcc24ca325caa00070a96ed7c.zip FreeBSD-src-f40a7a090aab840dcc24ca325caa00070a96ed7c.tar.gz |
- Use bus_{read,write}_*(9) instead of bus_space_{read,write}_*(9)
in order to get rid of bus space handle and tag in struct sym_hcb.
- Remove unused members related to bus addresses in struct sym_hcb.
- sym(4) takes care of allocating an instance of struct sym_hcb
itself so don't let newbus allocate it as an unused softc also.
- Add basic MPSAFE locking. This includes changing the sym(4) CCBs
to be allocated up-front instead of on demand as needed. Besides
making these allocations more likely to succeed, this also solves
the problem of calling bus_dmamap_create(9) with the SIM mutex
held.
Reviewed by: scottl
MFC after: 1 month
Diffstat (limited to 'sys/dev/vx')
0 files changed, 0 insertions, 0 deletions