diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1999-08-28 11:31:21 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1999-08-28 11:31:21 +0000 |
commit | 8422690eaa75b9c970d104077d6ce63f8b963e19 (patch) | |
tree | 15988abac8ff08b220b23769e76f3c1363ee60ba /sys/dev/usb | |
parent | 3a35f41abcb654dd8766e98b3e8b02776e947018 (diff) | |
download | FreeBSD-src-8422690eaa75b9c970d104077d6ce63f8b963e19.zip FreeBSD-src-8422690eaa75b9c970d104077d6ce63f8b963e19.tar.gz |
Share more between FreeBSD and NetBSD
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/ohcivar.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index b485f50..5f81000 100644 --- a/sys/dev/usb/ohcivar.h +++ b/sys/dev/usb/ohcivar.h @@ -63,18 +63,17 @@ typedef struct ohci_soft_td { typedef struct ohci_softc { struct usbd_bus sc_bus; /* base device */ -#if defined(__NetBSD__) - void *sc_ih; /* interrupt vectoring */ bus_space_tag_t iot; bus_space_handle_t ioh; +#if defined(__NetBSD__) + void *sc_ih; /* interrupt vectoring */ bus_dma_tag_t sc_dmatag; /* DMA tag */ /* XXX should keep track of all DMA memory */ +#endif /* __FreeBSD__ */ -#elif defined(__FreeBSD__) bus_space_tag_t iot; bus_space_handle_t ioh; -#endif /* __FreeBSD__ */ usb_dma_t sc_hccadma; struct ohci_hcca *sc_hcca; |