Share more between FreeBSD and NetBSD

This commit is contained in:
Nick Hibma 1999-08-28 11:31:21 +00:00
parent d8f6a90a74
commit f748f71688
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50504

View File

@ -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;