|
|
| version 1.3, 2003/10/13 06:56:13 | version 1.4, 2004/02/13 01:33:19 |
|---|---|
| Line 56 | Line 56 |
| * $DragonFly$ | * $DragonFly$ |
| */ | */ |
| #if __FreeBSD_version >= 500005 | #if defined(__FreeBSD__) && __FreeBSD_version >= 500005 |
| # include <sys/taskqueue.h> | # include <sys/taskqueue.h> |
| #endif | #endif |
| Line 217 struct amr_softc | Line 217 struct amr_softc |
| /* misc glue */ | /* misc glue */ |
| struct intr_config_hook amr_ich; /* wait-for-interrupts probe hook */ | struct intr_config_hook amr_ich; /* wait-for-interrupts probe hook */ |
| struct callout_handle amr_timeout; /* periodic status check */ | struct callout_handle amr_timeout; /* periodic status check */ |
| #if __FreeBSD_version >= 500005 | #if defined(__FreeBSD__) && __FreeBSD_version >= 500005 |
| struct task amr_task_complete; /* deferred-completion task */ | struct task amr_task_complete; /* deferred-completion task */ |
| #endif | #endif |
| }; | }; |