|
|
| version 1.4, 2003/08/27 10:35:16 | version 1.5, 2004/02/13 01:04:14 |
|---|---|
| Line 72 | Line 72 |
| #include <i386/Cbus/dev/ct/bshwvar.h> | #include <i386/Cbus/dev/ct/bshwvar.h> |
| #endif /* __NetBSD__ */ | #endif /* __NetBSD__ */ |
| #ifdef __FreeBSD__ | #if defined(__DragonFly__) || defined(__FreeBSD__) |
| #include <machine/bus.h> | #include <machine/bus.h> |
| #include <machine/clock.h> | #include <machine/clock.h> |
| #include <machine/md_var.h> | #include <machine/md_var.h> |
| Line 103 int bshw_data_write_bytes = 4096; | Line 103 int bshw_data_write_bytes = 4096; |
| #define BSHW_PAGE_SIZE NBPG | #define BSHW_PAGE_SIZE NBPG |
| #endif /* __NetBSD__ */ | #endif /* __NetBSD__ */ |
| #ifdef __FreeBSD__ | #if defined(__DragonFly__) || defined(__FreeBSD__) |
| #define BSHW_PAGE_SIZE PAGE_SIZE | #define BSHW_PAGE_SIZE PAGE_SIZE |
| typedef unsigned long vaddr_t; | typedef unsigned long vaddr_t; |
| #endif /* __FreeBSD__ */ | #endif /* __FreeBSD__ */ |