diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-24 05:51:24 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-24 05:51:24 +0000 |
commit | 3162ea963766ba6b006f688ae05c692d7a955d60 (patch) | |
tree | e00bcd0ec8653957deb47b0510513b0034d90177 /sys/dev/pci/opl_cmpci.c | |
parent | 76a1250eebd5c78858b3fadb4399f38cf77c399c (diff) |
Instead of having a ``private data'' pointer in the dma buffers, just
ask the driver how large they need the structure we allocate to be, and
use inheritance like we do for struct device. Simplifies things a little
bit and saves us a pointer.
Diffstat (limited to 'sys/dev/pci/opl_cmpci.c')
0 files changed, 0 insertions, 0 deletions