summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdc/fdc.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-07-05 20:37:42 +0000
committerphk <phk@FreeBSD.org>2004-07-05 20:37:42 +0000
commit290617ea0ebdeb45c43aa0913abbf73a3a055794 (patch)
tree59b58816ac157fb3a1b5460ccec0a9f843d11541 /sys/dev/fdc/fdc.c
parent4a1a7c3a8340d90949eb6ed19ef3655b55c2417b (diff)
downloadFreeBSD-src-290617ea0ebdeb45c43aa0913abbf73a3a055794.zip
FreeBSD-src-290617ea0ebdeb45c43aa0913abbf73a3a055794.tar.gz
Something funny happened on the way to the floppy driver today...
When two drivers share an ISA DMA channel, they both call isa_dmainit() and the second call fails if DIAGNOSTIC is on. If isa_dmainit() was already called successfully, just return silently. This only works if both drivers agree on the bounce buffer size, but since sharing DMA is usually only possible on very special hardware and then typically only for devices of the same type (which would have multiple instances of the same device driver), this is not a problem in practice.
Diffstat (limited to 'sys/dev/fdc/fdc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud