|
|
| version 1.5, 2003/08/27 10:35:17 | version 1.6, 2004/02/12 00:00:14 |
|---|---|
| Line 42 | Line 42 |
| #include <sys/param.h> | #include <sys/param.h> |
| #include <sys/systm.h> | #include <sys/systm.h> |
| #include <sys/kernel.h> | #include <sys/kernel.h> |
| #if defined(__FreeBSD__) && __FreeBSD_version >= 500001 | |
| #include <sys/bio.h> | |
| #endif /* __FreeBSD__ */ | |
| #include <sys/buf.h> | #include <sys/buf.h> |
| #include <sys/queue.h> | #include <sys/queue.h> |
| #include <sys/malloc.h> | #include <sys/malloc.h> |
| Line 72 | Line 69 |
| #include <i386/Cbus/dev/ncr53c500hwtab.h> | #include <i386/Cbus/dev/ncr53c500hwtab.h> |
| #endif /* __NetBSD__ */ | #endif /* __NetBSD__ */ |
| #ifdef __FreeBSD__ | #ifdef __DragonFly__ |
| #include <machine/clock.h> | #include <machine/clock.h> |
| #include <machine/cpu.h> | #include <machine/cpu.h> |
| #include <machine/bus_pio.h> | #include <machine/bus_pio.h> |
| Line 88 | Line 85 |
| #include "ncr53c500var.h" | #include "ncr53c500var.h" |
| #include "ncr53c500hwtab.h" | #include "ncr53c500hwtab.h" |
| #endif /* __FreeBSD__ */ | #endif /* __DragonFly__ */ |
| #define NCV_MAX_DATA_SIZE (64 * 1024) | #define NCV_MAX_DATA_SIZE (64 * 1024) |
| #define NCV_DELAY_MAX (2 * 1000 * 1000) | #define NCV_DELAY_MAX (2 * 1000 * 1000) |