|
|
| version 1.5, 2003/12/30 01:01:44 | version 1.6, 2004/02/11 15:17:26 |
|---|---|
| Line 502 __CONCAT(dname,_detach)(device_t self) | Line 502 __CONCAT(dname,_detach)(device_t self) |
| SYSCTL_DECL(_hw_usb); | SYSCTL_DECL(_hw_usb); |
| #endif | #endif |
| #elif defined(__FreeBSD__) | #elif defined(__FreeBSD__) || defined(__DragonFly__) |
| /*************************************************************************** | /*************************************************************************** |
| * FREEBSD | * FREEBSD |
| */ | */ |
| Line 544 MALLOC_DECLARE(M_USBHC); | Line 544 MALLOC_DECLARE(M_USBHC); |
| u_int len; \ | u_int len; \ |
| } usb_dma_t | } usb_dma_t |
| #if __FreeBSD_version >= 500000 | #if defined(__FreeBSD__) && __FreeBSD_version >= 500000 |
| typedef struct thread *usb_proc_ptr; | typedef struct thread *usb_proc_ptr; |
| #define uio_procp uio_td | #define uio_procp uio_td |