summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2003-04-19 13:51:24 +0000
committermux <mux@FreeBSD.org>2003-04-19 13:51:24 +0000
commit098aa7afcaf6a3f15887e5de210dec989b66327a (patch)
tree08a37297e62f0d3890f48043b503908658111e2f /sys/dev/ata
parent614e371cc39f9a9c35f3c93d5eed3a619cc9c8e9 (diff)
downloadFreeBSD-src-098aa7afcaf6a3f15887e5de210dec989b66327a.zip
FreeBSD-src-098aa7afcaf6a3f15887e5de210dec989b66327a.tar.gz
- Enable interrupts only at the end of epic_attach() when all the
other initializations succeeded. - Initialize the TX and RX rings in epic_attach() rather than in epic_init() where we're not supposed to fail. Similarly, free the TX and RX rings in epic_detach() rather than in epic_stop(). - Change epic_init() to be a void function now that it can't fail. Also change its parameter to a void * so that we have a correct prototype for if_init. - Now that epic_init() has a correct prototype, don't cast the function pointer when initializing if_init. - Fix nearby style bugs.
Diffstat (limited to 'sys/dev/ata')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud